Bug 959990 - dnf dist-sync recommended in manual page but is missing from dnf's command line options
Summary: dnf dist-sync recommended in manual page but is missing from dnf's command li...
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 18
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: Ales Kozumplik
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2013-05-06 11:16 UTC by Ameya Sathe
Modified: 2014-09-30 23:41 UTC (History)
2 users (show)

Clone Of:
Last Closed: 2013-05-06 13:46:46 UTC

Attachments (Terms of Use)

Description Ameya Sathe 2013-05-06 11:16:32 UTC
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
[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 13:46:46 UTC

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.