[CentOS] yum clean all - adverse effects?
Are there any adverse effects to yum clean all? Does the system lose its memory of what is installed/updated? Regards, Jussi H. -- Jussi Hirvi * Green Spot Topeliuksenkatu 15 C * 00250 Helsinki * Finland Tel. +358 9 493 981 * Mobile +358 40 771 2098 (only sms) jussi.hi...@greenspot.fi * http://www.greenspot.fi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum clean all - adverse effects?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 thus Jussi Hirvi spake: | Are there any adverse effects to yum clean all? Does the system | lose its memory of what is installed/updated? | | Regards, Jussi H. Hi Jussi, from the manpage: clean Is used to clean up various things which accumulate in the yum ~ cache directory over time. More complete details can be found ~ in the Clean Options section below. In this section: yum clean all Runs yum clean packages and yum clean headers, yum clean meta- ~ data and yum clean dbcache as above. It's all about *caching*. No information about installed packages will be lost. Really important information is stored in /var/lib/rpm/. HTH, Timo -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org iD8DBQFK8ULDfg746kcGBOwRAt0AAJ0WbFpaUsB7vCi5VMWU1NBvAFGI9gCggXfF drBWR9L6lkitDOB1csW/fW4= =fdTy -END PGP SIGNATURE- ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum clean all - adverse effects?
On 4.11.2009 11:00, Timo Schoeler wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 thus Jussi Hirvi spake: | Are there any adverse effects to yum clean all? Does the system | lose its memory of what is installed/updated? | | Regards, Jussi H. Hi Jussi, from the manpage: clean Is used to clean up various things which accumulate in the yum ~ cache directory over time. More complete details can be found ~ in the Clean Options section below. In this section: yum clean all Runs yum clean packages and yum clean headers, yum clean meta- ~ data and yum clean dbcache as above. It's all about *caching*. No information about installed packages will be lost. Really important information is stored in /var/lib/rpm/. HTH, Timo Ok, thanks. Once, a while ago, my system got amnesiac after yum clean all, and I thought the the dbs in /var/lib/rpm had been cleaned. But I guess the problem was caused by something other than yum clean. - Jussi -- Jussi Hirvi * Green Spot Topeliuksenkatu 15 C * 00250 Helsinki * Finland Tel. +358 9 493 981 * Mobile +358 40 771 2098 (only sms) jussi.hi...@greenspot.fi * http://www.greenspot.fi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] yum clean all
There seems to be a lot of this needed lately. I suspect the issue is 5.2 - 5.3 transition. Putting something like this in /etc/cron.daily/ when near a major update *might* make the transition times between point releases easier - #!/bin/bash RANGE=120 number=$RANDOM let number %= $RANGE delay=`/usr/bin/expr $number \* 60` sleep $delay /usr/bin/yum clean all /dev/null 21 /usr/bin/yum makecache /dev/null 21 -=- Point of the random delay is to not have lots of people hit all the servers at once. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos