[TriLUG] rpm question: what are the rpmlib requirements telling me?

Matt Wilson msw at redhat.com
Tue Jun 24 11:41:09 EDT 2003


On Tue, Jun 24, 2003 at 10:18:58AM -0500, Errol Casey wrote:
>  rpm -q kernel-2.4.20-18.7 -R
> rpmlib(VersionedDependencies) <= 3.0.3-1
> rpmlib(PayloadFilesHavePrefix) <= 4.0-1
> rpmlib(CompressedFileNames) <= 3.0.4-1

These track the various features that the binary package is using.  If
we didn't track these, an older version of rpm might interpret the
information in the package incorrectly.

> How would I check if I meet the list rpmlib dependencies listed in this
> "Require" list for
> a kernel rpm?

when you invoke rpm, it internally satisfies (provides) these
dependencies.  An easy way to test is to look at the version number in
the rpmlib requirement and see if the version of rpm that you have is
greater than or equal to that version.

The nitty-gritty is in rpm/lib/rpmlibprov.c

Cheers,

Matt
msw at redhat.com
--
Matt Wilson
Manager, Base Operating Systems
Red Hat, Inc.



More information about the TriLUG mailing list