Sometimes when I attempt a YUM install, it will get to the point where it is looking for packages to install, and my hard drive will make a lot of noise, but there is no progress. My mouse cursor freezes, and I can not switch between programs or kill the process. Eventually I have to reset the computer in order to get control back.
The same thing will also happen when I install an RPM. When it checks for dependancies, it will freeze up my computer in the same way.
This happens about 50% of the time.
However, after resetting and rebooting the computer, if I attempt the same install again, it will work fine.
Also, this may or may not be related, but in the case of YUM, when it's installing multiple RPMS, sometimes it will install only some of them, and then stop, without any explanation. If I repeat the install, then it will install the remaining packages, and complete the process.
Any possible explanations for this behaviour?
Dave
On Sat, 2005-08-20 at 23:58 +0900, Dave Gutteridge wrote:
Sometimes when I attempt a YUM install, it will get to the point where it is looking for packages to install, and my hard drive will make a lot of noise, but there is no progress.
It's very likely your /var filesystem is filling up. I recommend a _bare_minimum_ of 4GB for /var these days.
On Sun, 2005-08-21 at 00:13 +0900, Dave Gutteridge wrote:
It's very likely your /var filesystem is filling up. I recommend a _bare_minimum_ of 4GB for /var these days.
Is there a way I can I flush the contents of var, before I run YUM, just to be safe?
yum clean packages
This will delete the packages you've downloaded.
yum clean all
Cleans packages and headers downloaded ... the headers will be downloaded again the next time you run yum update
Regards, Paul
Cleans packages and headers downloaded ... the headers will be downloaded again the next time you run yum update
Thank you. I hope that will help alleviate the problem.
One further question, though. Is this situation regulated to just YUM, or is it possible that I have other programs or processes filling up var or otherwise consuming hard drive space? Is there some sort of general cleaning I should be doing with Linux to keep my hard drive from filling with unecessary data?
Dave
On Sun, 2005-08-21 at 00:52 +0900, Dave Gutteridge wrote:
Cleans packages and headers downloaded ... the headers will be downloaded again the next time you run yum update
Thank you. I hope that will help alleviate the problem.
One further question, though. Is this situation regulated to just YUM, or is it possible that I have other programs or processes filling up var or otherwise consuming hard drive space? Is there some sort of general cleaning I should be doing with Linux to keep my hard drive from filling with unecessary data?
Well if you run the up2date tool it will fill up /var/spool/up2date with cached headers and packages that have been downloaded (if it's set to keep packages after installation).
Other than that there is not much "unnecessary" files that build up in var in a normal workstation install. In /var/log is where the log files go, those get rotated out and then deleted automatically.
If you su to root and cd to /var and try "du -hs *" it will tell you where under /var to look to find anything that is taking up of space.
Paul
On Sun, 2005-08-21 at 00:13 +0900, Dave Gutteridge wrote:
Is there a way I can I flush the contents of var, before I run YUM, just to be safe?
# yum clean packages
And if you really want to clean house:
# yum clean all