On Mon, 2006-06-12 at 11:00 -0700, Craig White wrote: > On Mon, 2006-06-12 at 18:44 +0100, Paul Howarth 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. > ---- > I will defer to your greater knowledge of these things... 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... Paul.