if you try a rpm -q foopackage
It should tell you it is installed.
You need to drop the .rpm from the end of the package name when doing a
rpm query.
In general you can also drop all the version info.
e.g package barpackage-1.2.3.rpm
you can simply do rpm -q barpackage
MArk
> Hi, I have a query RE rpm (RH6.1)
>> if do
> rpm -q foopackge.rpm
>> I get package.rpm is not installed
> if i do
>> rpm -vhi foopackge.rpm
>> I get :
>> foopackage ######################################
>> then :
> rpm -q foopackge.rpm
>> I get package.rpm is not installed.
>> If I then try :
> rpm -vhi foopackge.rpm
>> I get package already installed..
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!