[mythtv-users] OT: Cleaning up rpm's

Jarod Wilson jarod at wilsonet.com
Wed Mar 2 07:31:43 UTC 2005


On Tuesday 01 March 2005 18:22, sdk wrote:
> In my myth box I am running FC2 and have a separate drive for all
> filesystems except for my videos/recordings. The drive is 10GB and is
> 84% full. I know that a bunch of rpm's are sitting there and taking up
> space. How can I safely delete package files?

Assuming you installed them using apt:

cd /var/cache/apt/archives/
rm -f *.rpm

And for yum:

cd /var/cache/yum/
rm -f */packages/*.rpm

If you have a bunch of rpms sitting scattered throughout your system, there's 
always the good old:

find / -name "*.rpm" -exec rm -f {} \;

Just don't mess up the part after -name. ;-)

-- 
Jarod Wilson
jarod at wilsonet.com

Got a question? Read this first...
     http://catb.org/~esr/faqs/smart-questions.html
MythTV, Fedora Core & ATrpms documentation:
     http://wilsonet.com/mythtv/
MythTV Searchable Mailing List Archive
     http://www.gossamer-threads.com/lists/mythtv/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-users/attachments/20050301/2f21603d/attachment.pgp


More information about the mythtv-users mailing list