Re: dnf reposync documentation?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx -
- 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!               -
----------------------------------------------------------------------
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux