LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   YUM Updates (https://www.linuxquestions.org/questions/linux-newbie-8/yum-updates-296328/)

jaschwar 03-01-2005 12:16 PM

YUM Updates
 
I'm running Fedora Core 3 and am using Yum Update, but ran into a problem.
When executing it displayed the following message:
OSError: [Errno 28] No space left on device
Do I have to repartition the hard drive to allow more space, or there a way to allow more space. If so, where should I ?

Thanks in advance :)

dcdbutler 03-01-2005 12:21 PM

you can purge all of the old rpms and headers that you downloaded with yum that you no longer need.
I forget the correct command, and I'm not on FC3 now, but it's something like "# yum clean all"
Check the manual ($ man yum) to make sure. That should free you quite a bit of space if you haven't done it before

jaschwar 03-01-2005 01:46 PM

Yum clean all
 
Hey thanks, that worked, but now when I execute
yum update

I'm finding its installing some of the same files

Any thoughts ?

I'm also finding that its hanging on some of the rather large files, any suggestions?

dcdbutler 03-01-2005 05:13 PM

From the yum manual:

"CLEAN OPTIONS
The following are the ways which you can invoke yum in clean mode.

yum clean packages
Eliminate any cached packages from the system. Note that pack-
ages are not automatically deleted after they are downloaded.

yum clean headers
Eliminate all of the files which yum uses to determine the
remote availability of packages. Using this option will force
yum to download all the headers the next time it is run.

yum clean all
Runs yum clean packages and yum clean headers as above."

The "yum clean all" command will not only remove cached packages, but also any headers. i do it occasionally to totally flush out everything in case there are obsolete headers - which can also take up space, albeit not very much. The reason it takes a little longer next time you run "yum update" is because that cache of headers needs to be replenished. Run "yum clean packages" next time, and you can avoid this extra wait, because the headers will still be cached on your box.

Hope this helps you out.


All times are GMT -5. The time now is 03:32 PM.