sorry, I miss typed the error displayed. It was meant to be -qf :/ Mike On Mon, 2004-02-02 at 21:04, Keith G. Robertson-Turner wrote: > On Mon, 02 Feb 2004 17:42:55 +1300, Michael Honeyfield wrote: > > > Hi. > > > > i am using RPM ver. 4.2.1 and I am receving the following error when doing > > a "rpm -qa /path/to/file" > > >From the man page: > > QUERY OPTIONS > The general form of an rpm query command is > > rpm {-q|--query} [select-options] [query-options] > > PACKAGE SELECTION OPTIONS: > PACKAGE_NAME > Query installed package named PACKAGE_NAME. > > -a, --all > Query all installed packages. > > To query a package (RPM file): > > select-options > [PACKAGE_NAME] [-a,--all] [-f,--file FILE] > [-g,--group GROUP] {-p,--package PACKAGE_FILE] > > So ... you need "rpm -qp" not "rpm -qa" > > - > K. > > > _______________________________________________ > Rpm-list mailing list > Rpm-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/rpm-list _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list