On Wednesday February 12 2003 03:30 pm, Jerry Barton wrote:
> so, since rpmdrake's become enigmatic, anyone know what command
> used to query a package BEFORE istallation to list every file it's
> going to install (and where) so i could, for example, out the
> output to a text file and read it first?
>
> (ie command [option] [pakcage] > files.txt)
>
> ??
>
> Jerry.

   rpm -qpil /path/to/filename.rpm > /path/to/files.txt
   
    But you don't need to type in the whole filename of the rpm. Just 
the first 3 or 4 letters and then hit <Tab> to auto complete it. Same 
for path, just type the first few letters of the directories, and use 
<Tab> to complete, on the way to its location.  Quick, easy, no 
typo's ;)  And you don't need to pipe it to a text file, you can read 
the whole rpm description and where the files will be placed in the 
terminal.  

   rpm -Uvh --test filename.rpm     will tell you if you're gonna need 
some dependencies, without installing the rpm.

    urpmi filename.mdk.rpm    and you don't need to fret with any of
                   ^^^
    the above ;)   <Tab> still works tho ;)
-- 
    Tom Brinkman                  Corpus Christi, Texas

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to