Re: dnf reposync documentation?

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

 



On Thu, Feb 23, 2017 at 7:55 PM, CLOSE Dave
<Dave.Close@xxxxxxxxxxxxxxxxxx> wrote:
> 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.

the files are stored in current directory under folder named <repoid>.

> 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

That's what reposync does. You may want to rather try local plugin [1]
for your use case. reposync just downloads packages into folder, not
whole repo structure.


Honza

[1] http://dnf-plugins-extras.readthedocs.io/en/latest/local.html
_______________________________________________
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