Bug 2216850

Summary: `man dnf` does not work
Product: [Fedora] Fedora Reporter: Vít Ondruch <vondruch>
Component: dnf5Assignee: Jan Kolarik <jkolarik>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 39CC: amatej, jkolarik, nsella, pkratoch, rpm-software-management, valdis.kletnieks
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-11-11 05:19:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vít Ondruch 2023-06-22 20:34:44 UTC
`man dnf` does not work while `dnf` command is available. Why is there `dnf` command and not the associated manual page?

I was protesting against introducing package named `dnf5` precisely because of the inconsistencies and here we go.

Reproducible: Always

Comment 1 Marek Blaha 2023-07-20 08:41:31 UTC
Definitely valid. As a temporary workaround please use `man dnf5` and `man dnf5-<command>` man pages.

My proposal for the final resolution of the issue, while maintaining parallel instalability of dnf4/dnf5 is following:

1. move dnf4 man pages from dnf.rpm package to python3-dnf.rpm and rename them to avoid file conflicts with dnf5.rpm
2. dnf.rpm will only own symlinks dnf.8.gz -> dnf4.8.gz
3. dnf5.rpm which obsoletes dnf.rpm will own symlinks to already existing dnf5 man pages dnf.8.gz -> dnf5.8.gz

Comment 2 Fedora Release Engineering 2023-08-16 08:07:52 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.

Comment 4 Aoife Moloney 2024-11-08 10:54:14 UTC
This message is a reminder that Fedora Linux 39 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 39 on 2024-11-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '39'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 39 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 5 amatej 2024-11-11 05:19:35 UTC
Fixed by the linked PRs.