Bug 959990 - dnf dist-sync recommended in manual page but is missing from dnf's command line options
dnf dist-sync recommended in manual page but is missing from dnf's command li...
Status: CLOSED NEXTRELEASE
Product: Fedora
Classification: Fedora
Component: dnf (Show other bugs)
18
x86_64 Linux
unspecified Severity medium
: ---
: ---
Assigned To: Ales Kozumplik
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-06 07:16 EDT by Ameya Sathe
Modified: 2014-09-30 19:41 EDT (History)
2 users (show)

See Also:
Fixed In Version: dnf-0.3.5
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-05-06 09:46:46 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Ameya Sathe 2013-05-06 07:16:32 EDT
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Firefox/17.0
Build Identifier: 

In the manual page for dnf version 0.2.22 section 8; the following help is mentioned
"  Dist-sync command
       dnf dist-sync
              As   necessary   upgrades,   downgrades  or  keeps  all
              installed packages to match the latest  version  avail‐
              able from any enabled repository.

   Distribution-sync command
       dnf distribution-sync
              Deprecated alias for the Dist-sync command.

"

When I try the same option on the command line; I get the following output
[root@my ~]# date
Mon May  6 16:41:00 IST 2013
[root@my ~]# rpm -q dnf
dnf-0.2.22-1.git97180b8.fc18.noarch
[root@my ~]# dnf dist-sync
No such command: dist-sync. Please use /usr/bin/dnf --help

dnf distribution-sync
This option is too missing from dnf command-line options.



Reproducible: Always

Steps to Reproduce:
1.man dnf
2.As root user; dnf dist-sync
3.As root user; dnf distribution-sync
Actual Results:  
No such command: dist-sync. Please use /usr/bin/dnf --help
No such command: distribution-sync. Please use /usr/bin/dnf --help

Expected Results:  
The options as stated in manual page need to work. The options stated for the command need to be documented in the manual page &/ Texinfo
Comment 1 Ales Kozumplik 2013-05-06 09:46:46 EDT
Hello,

this is a mistake in the documentation: the command name is the same as in Yum, working spellings are 'distro-sync' and 'distribution-synchronization'.

Commit fd83a20 addresses the issue, the fix will be available with dnf-0.3.5 in F19 and later.

Thanks for reporting this.

Note You need to log in before you can comment on or make changes to this bug.