LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 03-03-2005, 09:43 AM   #1
WitchDoctor6
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, 09:57 AM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

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, 10:09 AM   #3
WitchDoctor6
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.
 
  


Reply


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 02:15 AM
rpm: package is / is not installed ??? blue.spark Linux - Software 3 02-26-2005 09:29 AM
how do I run a newly installed rpm package trempel Linux - Newbie 4 01-26-2005 11:36 PM
How to check if a rpm Package is already installed? DarkExile Linux - Newbie 4 12-14-2004 09:41 AM
rpm package not installed? dwarf007 Linux - Newbie 1 12-06-2004 03:52 PM


All times are GMT -5. The time now is 08:01 AM.

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