[Rule-list] scripts for RPM dependencies analysis

Marco Fioretti m.fioretti at inwind.it
Sat Jul 27 08:00:08 EEST 2002


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

_______________________________________________
Rule Project HOME PAGE:  http://www.rule-project.org/rule/
Original Rule Development Site http://savannah.gnu.org/projects/rule/Rule-list at mail.freesoftware.fsf.org
http://mail.freesoftware.fsf.org/mailman/listinfo/rule-list



This full static mirror of the Run Up to Date Linux Everywhere Project mailing list, originally hosted at http://lists.hellug.gr/mailman/listinfo/rule-list, is kept online by Free Software popularizer, researcher and trainer Marco Fioretti. To know how you can support this archive, and Marco's work in general, please click here