[Yum-devel] rpm --requires and primary.xml <requires>
christopher floess
skeptikos at gmail.com
Thu Apr 30 14:45:53 UTC 2009
Hi, when I run rpm -qp --requires, I noticed that there are two lines
that are missing in primary.xml under the <requires> tag
Here is the rpm command
$ rpm -qp --requires nano-2.0.6-4.fc9.i386.rpm
/bin/sh
/bin/sh
/sbin/install-info
/sbin/install-info
libc.so.6
libc.so.6(GLIBC_2.0)
libc.so.6(GLIBC_2.1)
libc.so.6(GLIBC_2.2)
libc.so.6(GLIBC_2.3)
libc.so.6(GLIBC_2.3.4)
libc.so.6(GLIBC_2.4)
libncursesw.so.5
libtinfo.so.5
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rtld(GNU_HASH)
and here are the contents of primary.xml for this file
<rpm requires>
<rpm:entry name="libc.so.6(GLIBC_2.0)" pre="1"/>
<rpm:entry name="libc.so.6(GLIBC_2.1)" pre="1"/>
<rpm:entry name="libncursesw.so.5" pre="1"/>
<rpm:entry name="libc.so.6" pre="1"/>
<rpm:entry name="libc.so.6(GLIBC_2.3.4)" pre="1"/>
<rpm:entry name="libtinfo.so.5" pre="1"/>
<rpm:entry name="/sbin/install-info" pre="1"/>
<rpm:entry name="libc.so.6(GLIBC_2.3)" pre="1"/>
<rpm:entry name="libc.so.6(GLIBC_2.4)" pre="1"/>
<rpm:entry name="libc.so.6(GLIBC_2.2)" pre="1"/>
<rpm:entry name="/bin/sh" pre="1"/>
<rpm:entry name="rtld(GNU_HASH)" pre="1"/>
</rpm requires>
You can see that in primary.xml the lines
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
are missing. Could explain to me if the yum generates the <rpm
requires> info from something other than the rpm, or is the parser
just omits these lines for some (I'm sure good) reason?
~ Chris
More information about the Yum-devel
mailing list