[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Rule-list] scripts for RPM dependencies analysis
From: |
Ed Blackman |
Subject: |
Re: [Rule-list] scripts for RPM dependencies analysis |
Date: |
Sat, 27 Jul 2002 00:16:50 -0400 |
User-agent: |
Mutt/1.2.5.1i |
On Fri, Jul 26, 2002 at 11:41:31PM +0200, Marco Fioretti wrote:
> On Fri, Jul 26, 2002 01:13:39 at 01:13:39AM +0200, Martin Stricker wrote:
> About how to do it, I was thinking to something like:
>
> 1) run rpm -q --requires, --whatrequires and others option on every
> RPM in the three standard RH disks, dumping everything to a flat file.
Redhat provides the rpmdb-redhat RPM, which installs an RPM database
with all the standard packages "installed" in
/usr/lib/rpmdb/i386-redhat-linux/redhat. So you don't have to query
or install each separate rpm. Just use "rpm -q --dbpath
/usr/lib/rpmdb/i386-redhat-linux/redhat ..."
> 2) Chew that file with Perl until it produces for every package the
> information we need.
If you're going to use Perl anyway, you may want to use the
RPM::Database module available on CPAN. That'll save the step of
having to convert to an intermediate database.
Ed
pgpTXoCyvAliH.pgp
Description: PGP signature
- [Rule-list] scripts for RPM dependencies analysis, Marco Fioretti, 2002/07/24
- Re: [Rule-list] scripts for RPM dependencies analysis, Martin Stricker, 2002/07/25
- Re: [Rule-list] scripts for RPM dependencies analysis, Marco Fioretti, 2002/07/25
- Re: [Rule-list] scripts for RPM dependencies analysis, Martin Stricker, 2002/07/25
- Re: [Rule-list] scripts for RPM dependencies analysis, Marco Fioretti, 2002/07/26
- Re: [Rule-list] scripts for RPM dependencies analysis,
Ed Blackman <=
- Re: [Rule-list] scripts for RPM dependencies analysis, Marco Fioretti, 2002/07/27
- Re: [Rule-list] scripts for RPM dependencies analysis, Ed Blackman, 2002/07/27
- Re: [Rule-list] scripts for RPM dependencies analysis, Martin Stricker, 2002/07/27
- Re: [Rule-list] scripts for RPM dependencies analysis, Marco Fioretti, 2002/07/27
- Re: [Rule-list] scripts for RPM dependencies analysis, Ed Blackman, 2002/07/27
- Re: [Rule-list] scripts for RPM dependencies analysis, Marco Fioretti, 2002/07/27
- Re: [Rule-list] scripts for RPM dependencies analysis, Marco Fioretti, 2002/07/27
- Re: [Rule-list] scripts for RPM dependencies analysis, Ed Blackman, 2002/07/27