[Gllug] Query RPM Database

Daniel P. Berrange dan at berrange.com
Mon Sep 4 12:56:03 UTC 2006


On Mon, Sep 04, 2006 at 01:09:33PM +0100, Steve Nelson wrote:
> Hello all,
> 
> Is it possible to query the rpm database to establish if a package was
> installed at some stage in the past and then removed again?

Afraid not - the RPM db doesn't keep a record of the full historical
state, only its current state. The best you could do would be look
in /var/log/rpmpkg*  which are log files generated once a week listing
all packages installed at that time, but you'd have to be lucky to find
what you need there 

Dan.
-- 
|=-            GPG key: http://www.berrange.com/~dan/gpgkey.txt       -=|
|=-       Perl modules: http://search.cpan.org/~danberr/              -=|
|=-           Projects: http://freshmeat.net/~danielpb/               -=|
|=-   berrange at redhat.com  -  Daniel Berrange  -  dan at berrange.com    -=|
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: Digital signature
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20060904/16b4aa96/attachment.pgp>
-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list