On Mon, 12 Jun 2006 18:44:27 +0100 Paul Howarth <paul@xxxxxxxxxxxx> wrote: > Craig White wrote: > > On Mon, 2006-06-12 at 19:01 +0200, Losito Nicola wrote: > >> Il giorno lun, 12/06/2006 alle 09.51 -0700, Peter Gordon ha > >> scritto: > >>> Yum is the wrong tool for this. Use RPM directly. :) > >> so long for a package management tool then :D > >> > >>> $ rpm -qpl /path/to/foo-version.arch.rpm > >> So i still have to actually download the package .... thanks anyway > >> people ! > > ---- > > No - actually don't have to download the package...that was what > > Peter was telling you. > > > > rpm -qpl \ > > http://ftp.ussg.iu.edu/linux/fedora/linux/core/5/i386//os/Fedora/RPMS/vsftpd-2.0.4-1.2.i386.rpm > > Hmm. Doesn't this just download the package, give you a list if its > contents, and then delete the package? > > If it was likely you'd want to install this package after checking > that it contained what you wanted, I'd have thought it would be > better to download it first and run the rpm query against the local > file so it would stick around. Particularly for a large package that > would take a while to download. > > Paul Hello Everyone I just tried the above quoted command on the largest RPM that ships with Fedora Core 5: rpm -qpl ftp://download.fedora.redhat.com/pub/fedora/linux/core/5/i386/os/Fedora/RPMS/openoffice.org-core-2.0.2-5.2.2.i386.rpm The outcome was that after a few seconds, I had a 3,176 line file that contained a list of all the files/directories contained in this RPM. I believe this shows that the entire file is not downloaded. This is VERY cool :) For fun, I downloaded the above mentioned RPM, and it took me 3 minutes and 7 seconds to download 81.6 megabytes. Steven P. Ulrick