Troubleshooting

When I query for a package I know I installed, RPM says it isn't installed.

A few possible solutions to this exist. First, make sure you are querying based on the package name, not the package's filename. For example, if you have installed coas-1.1-12.i386.rpm, you should query it with the following:

$ rpm -q coas

If you try typing rpm -q coas-1.1-12.i386.rpm, it won't find that, because that is the name of a file, not a package.

Another possibility is that you have forgotten the name of the package. For example, /usr/bin/crontab is in a package called vixie-cron, not cron as you might expect. It also can be easy to capitalize incorrectly. A couple of ways to figure out the proper name for a package are available. First, you ...

Get Special Edition Using Linux®, Sixth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.