Ask Your Question

How to keep all packages and not the latest one only?

asked 2014-04-21 05:54:46 -0500

keepcache=1 in /etc/yum.conf keeps only the latest versions and not all the cache. How can I keep all the cache?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-04-21 08:29:11 -0500

mether gravatar image

yum-plugin-local is useful here.

yum info yum-plugin-local

Name        : yum-plugin-local
Arch        : noarch
Epoch       : 0
Version     : 1.1.31
Release     : 20.fc20
Size        : 23 k
Repo        : updates
Summary     : Yum plugin to automatically manage a local repo. of downloaded packages
URL         :
License     : GPLv2+
Description : When this plugin is installed it will automatically copy all downloaded packages
        : to a repository on the local filesystem, and (re)build that repository. This
        : means that anything you've downloaded will always exist, even if the original
        : repo. removes it (and can thus. be reinstalled/downgraded/etc.).
edit flag offensive delete link more

Question Tools

1 follower


Asked: 2014-04-21 05:54:46 -0500

Seen: 138 times

Last updated: Apr 21 '14