Re: Creating a local RPM repository

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

 



Timothy Murphy wrote:
Bill Davidsen wrote:

But it's really simple, just create a directory on a server,
mount it rw on /var/cache/yum, and run update on one machine at a time.
Any prm used on one machine is there for the others, and you never
download a byte of data you don't need on *some* machine, so bandwidth
is minimized.
Thanks for the response.
I'm away from home at the moment, so can't try what you suggest.
But I don't understand one point:
Isn't /var/cache/yum/updates/packages/ normally cleared after "yum
update"?

See the original post, which noted that /etc/yum.conf needs keepcache set
to 1.

Ok, thanks, I missed that.
Must have fallen into the sea somewhere between Ireland and Italy.

I suppose you just have to clear the cache every now and then?
How do you do that, as a matter of interest?
You want to use the repomanage package, it can list or remove old packages, just keeping the most recent version (or several). No man page, but the --help option gives all you need.

Avoid the "clean" stuff in yum, it doesn't do what you need, and may delete all the stuff you want to keep, rather than just the old stuff. If you want to be able to roll back you can get a list of just the old stuff and archive it.

Works really well for me. Good luck!

--
Bill Davidsen <davidsen@xxxxxxx>
  "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot

--
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