Re: yum downloadonly

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

 



Timothy Murphy wrote:
Todd Zullinger wrote:

Check out repomanage from yum-utils.  You could use it something like
this to move old packages to an archive dir (or remove them):

repo=/path/to/cache
archive=/path/to/archive
repomanage --old $repo | while read package; do
    mv "$package" $archive
done

I didn't quite understand this.
If you wanted to remove the old packages
couldn't you just say "yum clean cache"?
More clearly put, I would want to remove packages from the yum cache that have been updated by a later version. So the old packages are the packages that have been updated multiple times. This can save a heap of space eg when large packages like openoffice, evolution end up having multiple updates.

An old method of mine was to fire up gftp, select my local yum cache in the left pane, and download.fedora.redhat.com/... updates in the right. Then click tools|compare windows, and then right-click delete on one of the highlighted {unique) packages on my local machine}, to delete all the packages that are no longer in fedora updates repo.

DaveT.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[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