Rpm Querying

Phil Schaffner Philip.R.Schaffner at NASA.gov
Wed Feb 18 18:06:06 UTC 2004


On Wed, 2004-02-18 at 12:47, Satan wrote:
> Ok ill be a bit more clearer. Im not getting an error message if i did i 
> would have said. When i use rpm -qpi package i get all the information. 
> Grand, but it says on every package i tryed that its not installed even 
> when it is. Whats causing this?

The -p flag is used to query the PACKAGE_FILE
[PACKAGE_NAME.version.arch.rpm] file rather than the database of
installed RPMs.  Use "rpm -qi PACKAGE_NAME" (just the base name - no
version required) to query the RPM database.  Do "man rpm" and notice
the distinction between "PACKAGE_NAME" and "PACKAGE_FILE" usage for
various options.







More information about the fedora-list mailing list