Yum install
Dnf install

I thought they were fairly equivalent.

On Feb 14, 2017 8:12 PM, "CLOSE Dave" <Dave.Close@us.thalesgroup.com> wrote:
# uname -a
Linux machine 4.9.9-200.fc25.x86_64 #1 SMP Thu Feb 9 17:28:13 UTC 2017
x86_64 x86_64 x86_64 GNU/Linux

# man dnf.plugin.reposync
No manual entry for dnf.plugin.reposync

Copying arguments from my working (YUM) reposync command doesn't work.

# dnf reposync -r google-chrome --norepopath -m
usage: dnf reposync [--help-cmd] [-p DOWNLOAD_PATH] [--repo REPO]

optional arguments:
   --help-cmd            show this help about this tool
   -p DOWNLOAD_PATH, --download-path DOWNLOAD_PATH
                         where to store downloaded repositories
   --repo REPO           repository to download
Error: unrecognized arguments: -r google-chrome --norepopath -m

Trying a simple command per the help output above.

# dnf reposync --repo google-chrome
usage: dnf [--allowerasing] [-b] [-C] [-c [config file]] [-d [debug level]]
            [--debugsolver] [--showduplicates] [-e ERRORLEVEL]
            [--rpmverbosity [debug level name]] [-q] [-v] [-y] [--assumeno]
            [--version] [--installroot [path]] [--enablerepo [repo]]
            [--disablerepo [repo]] [-x [package]] [--disableexcludes [repo]]
            [--repofrompath [repo,path]] [--noplugins] [--nogpgcheck]
            [--disableplugin [plugin]] [--color COLOR]
            [--releasever RELEASEVER] [--setopt SETOPTS] [--refresh]
[-4] [-6]
            [--downloadonly] [-h]
Command line error: argument --repofrompath: bad format: google-chrome

===

Evidently the command syntax is a bit confused. I get different ideas
from the two commands.

Can anyone point me to the real documentation of this command? Or tell
me how to translate my YUM command to the DNF equivalent?
--
Dave Close
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-leave@lists.fedoraproject.org