Re: dnf reposync documentation?

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

 



On 02/14/17 18:31, Rick Stevens wrote:

> Try "dnf reposync --repoid google-chrome". The "--repoid
> google-chrome" works with repoquery.

The reference to repoid "google-chrome" apparently refers to the name in 
the .repo file (in /etc/yum.repos.d). But it also apparently is used to 
determine where the downloaded files are stored. There's nothing in the 
.repo file to specify the download location.

When I run this command, I must first make the desired location my 
current directory. But the downloaded files aren't stored there; they go 
into a new sub-directory called google-chrome under it. I try to use a 
directory structure that mirrors the original at Google so this doesn't 
work for me:

  # cd /var/www/html/pub/google/linux/chrome/rpm/stable/x86_64/
  # dnf reposync --repoid google-chrome

The sync works but since the files aren't in the right place, they're 
useless. There must be a way to specify the target directory, but since 
there's no man page I'm lost. Looking at the Python source, it appears 
that -p might work. It claims the default is "./" but specifying "-p ." 
or "-p /var/www/html/pub/google/linux/chrome/rpm/stable/x86_64/" doesn't 
change the behavior at all.
-- 
Dave Close
_______________________________________________
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