Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-03-2005, 10:43 AM   #1
LQ Newbie
Registered: Feb 2005
Distribution: Mandrake 10.1
Posts: 6

Rep: Reputation: 0
rpm problem, package not installed

It's a weird thing.
I enter rpm -ivh <packagename> to install the rpm.

The package is installed and it's working fine.
When I enter rpm -q <packagename> it says that the package is not installed.
When I try to uninstall it with rpm -e <packagename> says that
the package couldn't be uninistalled, cause it's not installed.

Can't figure out why, it happened with all the rpm's I installed.
Any ideas?
Old 03-03-2005, 10:57 AM   #2
Senior Member
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,513

Rep: Reputation: 58
rpm -q accepts the base filename and additionally the version number and is case sensitive. The extension (.i586.rpm) is not part of the rpm database and will not work.

You could also try rpm -qa | grep <package>
Old 03-03-2005, 11:09 AM   #3
LQ Newbie
Registered: Feb 2005
Distribution: Mandrake 10.1
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks man, that's what I was doing wrong.

Didn't know about rpm -qa | grep <package>, very handy.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
RPM package manager says package needs to be installed. But I already installed it! nick623 Linux - Software 2 05-24-2005 03:15 AM
rpm: package is / is not installed ??? blue.spark Linux - Software 3 02-26-2005 10:29 AM
how do I run a newly installed rpm package trempel Linux - Newbie 4 01-27-2005 12:36 AM
How to check if a rpm Package is already installed? DarkExile Linux - Newbie 4 12-14-2004 10:41 AM
rpm package not installed? dwarf007 Linux - Newbie 1 12-06-2004 04:52 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:15 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration