Ask Your Question

Okay to remove old yum cache from a previous Fedora version?

asked 2013-10-26 09:24:39 -0500

rickhg12hs gravatar image

updated 2014-04-11 16:21:33 -0500

remjg gravatar image

While poking around, as you do, I noticed that I still have 364 MB of old yum cache from Fedora 17. I'm now running Fedora 19 with no plans to return to F17. Any problem with just removing the old cache dir and everything below it, or is there a more proper way?

# du -h -s /var/cache/yum/i386/*
364M    /var/cache/yum/i386/17
975M    /var/cache/yum/i386/19
edit retag flag offensive close merge delete


Would upvote your suggestions, but Karma idiocy prevents it. Thx

rickhg12hs gravatar imagerickhg12hs ( 2013-10-26 15:14:11 -0500 )edit

2 Answers

Sort by » oldest newest most voted

answered 2013-10-26 14:53:24 -0500

skytux gravatar image

No problem at all, you can safely remove it.



edit flag offensive delete link more

answered 2013-10-26 13:52:23 -0500

hawkfeather gravatar image

updated 2013-10-26 14:00:37 -0500

Try moving /var/cache/yum/i386/17 to your /tmp directory or to backup media rather than simply deleting it, just in case:
sudo mv -fv /var/cache/yum/i386/17 [/tmp/ | /pathname/to/backupmedia/], then run sudo yum update and reboot.
If everything works out alright you can then delete the old cache.
Hope this helps.

edit flag offensive delete link more

Question Tools


Asked: 2013-10-26 09:24:39 -0500

Seen: 1,300 times

Last updated: Oct 26 '13