Cleaning up /var/lib/rpm

John Reynolds jreyn at us.ibm.com
Sun Feb 18 04:04:07 UTC 2007


Rick Stevens wrote on 02/16/2007 02:25:33 PM:

> On Fri, 2007-02-16 at 13:42 -0800, John Reynolds wrote:
> > Hello, collective mind.
> > 
> > I have several Redhat systems where /var/lib/rpm is on the order of 
150MB, 
> > I've been reading the docs to figure out how to clean up cruft in 
there, 
> > and the best I can see is the -F option, which only works if you're 
> > updating something.  Is there a simple way to identify and remove RPM 
> > cruft and reduce that disk use?
> 
> Not really.  Most of what's in /var/lib/rpm are flat files and you
> really don't want to pare them down or you can't rebuild databases nor
> know what is and isn't installed.

Pity.  Well, it was worth asking, thanks!

> > If there's something on the rhil.net I should know about, I can't 
access 
> > the site at the moment, but I will try later.
> 
> I'm the owner of rhil.net and unfortunately the server died a rather
> ugly death a couple of months ago (somehow, the smoke got let out of
> a couple of chips on the mobo...and if you let out the smoke, they don't
> work anymore).

That's why it's a good idea to have a smoke and mirror site.  ;)

> 
> I'll be up there on Tuesday to replace the hardware (it was on an
> ancient IBM x330, it'll be on a Dell 1950 when I'm done).
> 
Good luck, and thanks again.

John Reynolds
SDS Sam Clamsdisco CA
IBM Inc.




More information about the Redhat-install-list mailing list