On 02/14/2017 06:15 PM, CLOSE Dave 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?
Try "dnf reposync --repoid google-chrome". The "--repoid
google-chrome"
works with repoquery.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital ricks(a)alldigital.com -
- AIM/Skype: therps2 ICQ: 226437340 Yahoo: origrps2 -
- -
- UNIX is actually quite user friendly. The problem is that it's -
- just very picky of who its friends are! -
----------------------------------------------------------------------