Re: Creating a local RPM repository

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

 



Patrick O'Callaghan wrote:

>> 
>> >> Concretely, I want yum to look first in /var/cache/yum/updates on my
>> >> laptop, then in alfred:/var/cache/yum/updates on a local machine,
>> >> and then in the remote repository.
>> >> 
>> >> What exactly can I put in /etc/yum.repos.d/fedora-updates.repo
>> >> to implement this?
>> > 
>> > yum install yum-plugin-priorities
>> 
>> Thanks.
>> I've installed that, but haven't worked out
>> how to use it to make yum look on my local network ...
> 
> yum doesn't know anything about "looking on your local network". You
> still have to set up a repo and point to it.

In that case, I'm not clear how yum-plugin-priorities would help.

I see that there is a yum-downloadonly package,
which I just installed.
This adds an option --downloadonly.

I assume that you can then later run "yum update",
and it will install or update the packages that were downloaded,
as well as any other new ones.

If that is so, then it seems to imply that yum looks first
in /var/cache/yum/ to see if required packages are already downloaded.
If it finds them there then it uses them;
otherwise it downloads them from a remote repository.

That being so, my question is: why not allow yum to look at
what yum has saved on another computer?

I notice that after installing the yum-downloadonly package,
there is another new option --downloaddir=DLDIR
which seems to allow RPMs (and other files in /var/cache/yum/ ?)
to be installed in a specified directory.

It's not clear to me if yum will remember this new directory
if I use both these options --downloadonly and --downloaddir=OLDIR ?
Or will I have to specify --downloaddir again when updating?

Is all this a possible way of saving RPMs on a /common directory
served by NFS?

I suspect I may have misunderstood the basics of yum ...


-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux