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-----

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux