Re: Which files are provided by this rpm ?

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paul Howarth wrote:
> I don't *know* if it works the way I described; I may be wrong. For
> all I know the rpm file format might include a table of contents at
> the start of the file, and rpm might do something clever like a byte
> range request on web servers that supported it so as to download the
> first part of the file with the contents without having to download
> the rest, in which case what you described would indeed be better...

I don't know the format with certainty, but an rpm does include a
header which I am fairly sure contains the file list.  This is what
yum extracts when creating a repo and uses to return the information
when you use yum list|info|provides|whatprovides, etc.

I tried to quickly see if there was a way to get a simple file list
for a package but didn't locate any in the man page or in testing the
yum options that are offered as tab completable (by bash-completion's
yum configuration).  I didn't do any googling nor any poking in the
yum source.

I wouldn't be surprised if yum had this ability already and it just
wasn't documented.  If it's not there, I would bet it's probably not
hard to implement since all of the data required to do this is already
available to yum.

If no one chimes in and shows us how to do this, perhaps someone (the
OP? hint, hint :) would be interested in filing and RFE for yum to add
this feature?

- -- 
Todd        OpenPGP -> KeyID: 0xD654075A | URL: www.pobox.com/~tmz/pgp
======================================================================
Distrust any enterprise that requires new clothes.
    -- Henry David Thoreau (1817-1862)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: When crypto is outlawed bayl bhgynjf jvyy unir cevinpl.

iG0EARECAC0FAkSNuxsmGGh0dHA6Ly93d3cucG9ib3guY29tL350bXovcGdwL3Rt
ei5hc2MACgkQuv+09NZUB1oFqQCgjP6pjFG0niCb8WFeIOosDGbIQeoAoOcn/Wgi
63lWpGVTHz5kZM4LUQA7
=lGg6
-----END PGP SIGNATURE-----


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux