На моей ОС rhel 7.4 я недавно изменил keepcache на 1 в /etc/yum.conf
:
$ cat /etc/yum.conf
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=1
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=3
Увы, после установки 1,4 ГБ как стороннего программного обеспечения, так и программного обеспечения epel , я все еще не вижу RPM в кеше yum:
$ find /var/cache/yum
/var/cache/yum
/var/cache/yum/x86_64
/var/cache/yum/x86_64/7Server
/var/cache/yum/x86_64/7Server/local
/var/cache/yum/x86_64/7Server/local/cachecookie
/var/cache/yum/x86_64/7Server/local/gen
/var/cache/yum/x86_64/7Server/local/gen/primary_db.sqlite
/var/cache/yum/x86_64/7Server/local/packages
/var/cache/yum/x86_64/7Server/local/repomd.xml
/var/cache/yum/x86_64/7Server/local/bb1eea9ae530fc325af6d2accbba8d6e524caf40e7410957399856b1d037eb92-primary.sqlite.bz2
/var/cache/yum/x86_64/7Server/timedhosts
/var/cache/yum/x86_64/7Server/rhel-7-server-rpms
/var/cache/yum/x86_64/7Server/rhel-7-server-rpms/gen
/var/cache/yum/x86_64/7Server/rhel-7-server-rpms/packages
/var/cache/yum/x86_64/7Server/rhel-7-server-rpms/fd4a3342c23fe7dc7d84a821d8e589a33c6ff9464ddfff3a50839209c9a939bf
/var/cache/yum/x86_64/7Server/epel
/var/cache/yum/x86_64/7Server/epel/gen
/var/cache/yum/x86_64/7Server/epel/packages
/var/cache/yum/x86_64/7Server/.gpgkeyschecked.yum
Нужно ли выполнять какие-либо действия для активации кеша yum?