Re: RPM should be renamed to WTF

Rhett Maxwell <rhettmaxwell-/[email protected]> Tue, 14 Oct 2003 06:32:53 -0700 (PDT)
Newsgroups gmane.linux.usability.annoyances
Message-ID <[email protected]>
> use rpm, so it won't show up in /var/log/packages,
> where SW stores info about
> installed software. 

Does this file contain just a list of the packages
installed?  You can get this information from rpm
directly by 'rpm -qa'.  If you look in your cron
directory, /etc/cron.daily, you may find a script that
regenerates this file every night.  Mine looks like
this:

#!/bin/sh

rpm -qa --qf
'%{name}-%{version}-%{release}.%{arch}.rpm\n' 2>&1 \
        | sort > /var/log/rpmpkgs

The filenames are different, but its probably the same
file.

-rhett

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com