rule-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Rule-list] scripts for RPM dependencies analysis


From: Marco Fioretti
Subject: Re: [Rule-list] scripts for RPM dependencies analysis
Date: Sat, 27 Jul 2002 07:00:08 +0200
User-agent: Mutt/1.2.5.1i

On Sat, Jul 27, 2002 00:16:50 at 12:16:50AM -0400, Ed Blackman wrote:
> 
> 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

Ed,

thanks a lot for these pointers. I have downlowded all the RPM modules
existing on CPAN, to figure out what they do. About the rpmdb-redhat
package, does the command you suggest work on *all* the rpms of a
certain release, or *only* on those actually installed on the computer
where you run it?

I'll check by myself in the docs, of course, but wanted to point out
here that I'm interested in the first option.

        Ciao,
                Marco Fioretti

-- 
Imagination is more important than knowledge -- Einstein



reply via email to

[Prev in Thread] Current Thread [Next in Thread]