[Error] Mandates use of man and prevents from the automatic installation of mandoc
- Vorherrschende Sprache
- Go
- Sterne
- 13k
- Forks
- 541
- Ø Merge
- 20 Std. 47 Min.
- Gemergte PRs (30 T.)
- 4
Beschreibung
**Describe the bug**
https://github.com/89luca89/distrobox/blob/main/distrobox-init#L1674
It seems to me that `distrobox init` here mandates `man`? I am a maintainer of `mandoc` in openSUSE and I would prefer it. However, when [I have it inside of the container](https://build.opensuse.org/projects/home:mcepl:moldavite/packages/distrobox-mcepl-packaging/files/Dockerfile?expand=1) (line 62), `distrobox init` breaks it with this.
**To Reproduce**
Try to have `mandoc` as manpage viewer in the Docker container-to-be-used-by-distrobox
Add `RUN zypper --non-interactive install --no-confirm --force-resolution -man mandoc` to your Dockerfile.
**Expected behaviour**
`distrobox enter` enters into a container with `mandoc` instead of `GNU/man`
**Observed behaviour**
`distrobox enter` (after `distrobox assemble create`) fails in the `Installing packages` phase.
```
Problem: 1: the installed mandoc-1.14.6-7.2.x86_64 conflicts with 'man' provided by the to be installed man-2.13.1-4.1.x86_64
Solution 1: deinstallation of mandoc-1.14.6-7.2.x86_64
Solution 2: do not install man-2.13.1-4.1.x86_64
Choose from above solutions by number or cancel [1/2/c/d/?] (c): c
+ '[' 4 = 106 ']'
+ '[' 1 -ne 0 ']'
+ printf 'Error: An error occurred\n'
Error: An error occurred
```
**Logs**
Run the commands with `--verbose` and post the log here as a file upload
Attach also the output of `podman logs` or `docker logs`, possibly with `--latest` flag
**Desktop (please complete the following information):**
- Are you using podman, docker or lilipod? `podman`
- Which version or podman, docker or lilipod? `5.8.1`
- Which version of distrobox? `1.8.2.4`
- Which host distribution? openSUSE/MicroOS-based
- How did you install distrobox? openSUSE package
[Complete build log](https://github.com/user-attachments/files/26241579/_log.txt)
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.