Re: createrepo output

seth vidal <[email protected]>
Newsgroups gmane.linux.rpm.metadata
Message-ID <[email protected]>
On Thu, 2004-12-09 at 15:38 -0500, Anas Nashif wrote:
> Hi,
> I just ran createrepo-0.4.1 on a set of over 3000 packages and found out 
> that some package elements have this additional file element in "format" 
>   (<file>/usr/bin/t-prot</file>). What is it for exactly? Or is it some 
> kind of garbage that should not be there?
> This package has one file element, some packages have much more...
> 
> ...
> ...
>    <format>
>      <rpm:license>Other License(s), see package, distributable</rpm:license>
>      <rpm:vendor>SUSE LINUX AG, Nuernberg, Germany</rpm:vendor>
>      <rpm:group>Productivity/Networking/Email/Utilities</rpm:group>
>      <rpm:buildhost>welles.suse.de</rpm:buildhost>
>      <rpm:sourcerpm>t-prot-1.0-196.src.rpm</rpm:sourcerpm>
>      <rpm:header-range start="360" end="3264"/>
>      <rpm:provides>
>        <rpm:entry name="t-prot" flags="EQ" epoch="0" ver="1.0" rel="196"/>
>      </rpm:provides>
>      <rpm:requires>
>        <rpm:entry name="rpmlib(PayloadFilesHavePrefix)" flags="LE" 
> epoch="0" ver="4.0" rel="1" pre="1"/>
>        <rpm:entry name="/usr/bin/perl"/>
>        <rpm:entry name="rpmlib(CompressedFileNames)" flags="LE" 
> epoch="0" ver="3.0.4" rel="1" pre="1"/>
>        <rpm:entry name="Getopt-Mixed"/>
>        <rpm:entry name="rpmlib(PayloadIsBzip2)" flags="LE" epoch="0" 
> ver="3.0.5" rel="1" pre="1"/>
>      </rpm:requires>
>      <file>/usr/bin/t-prot</file>
>    </format>
> </package>
> 

Those are file provides.

Since an rpm can depend on a specific file we've found that in a very
high percentage of the cases the files that packages depend on match the
following criteria:

*bin/*
/etc*
/usr/lib/sendmail

That will catch 97% or so of all file depends in most distributions.

This list was derived from a query of rpmfind's database for file
dependencies. 

Does this help?

-sv
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.