LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 01-26-2004, 04:28 PM   #1
topgunjones
LQ Newbie
 
Registered: Jan 2004
Location: USA
Posts: 1

Rep: Reputation: 0
rpm -q claims "installed" but rpm -ivh claims "already installed"


Hey,
I have a problem while trying to install oracle 9i I discovered that I needed to check
to see if certain packages were installed. glibc-kernheaders-2.4-7.20.i386 wasn't installed
according to the following

[root@xxy topgun]# rpm -q glibc-kernheaders-2.4-7.20.i386.rpm
package glibc-kernheaders-2.4-7.20.i386.rpm is not installed


As you can see below, I attempted to install the rpm.

[root@xxy topgun]# rpm -ivh glibc-kernheaders-2.4-7.20.i386.rpm
warning: glibc-kernheaders-2.4-7.20.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Preparing... ########################################### [100%]
package glibc-kernheaders-2.4-7.20 is already installed


As a test to see if it was installed, I tried to uninstall it.

[root@xxy topgun]# rpm -e glibc-kernheaders-2.4-7.20.i386.rpm
error: package glibc-kernheaders-2.4-7.20.i386.rpm is not installed


Can't continue without solving this one.

Thanks in advance.

TopGun
 
Old 01-26-2004, 04:37 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
do this
rpm -q glibc-kernheaders-2.4-7.20

because "glibc-kernheaders-2.4-7.20" is the PACKAGE name, but "glibc-kernheaders-2.4-7.20.i386.rpm" is the FILE name. Maybe seem a little confusing, but in windows you don't go into control panel to uninstall "setup.exe" do you?
 
Old 01-28-2004, 10:01 PM   #3
Allen614
Member
 
Registered: Dec 2002
Location: Plains
Distribution: Slackware 13
Posts: 465

Rep: Reputation: 30
If that doesn't work do "rpm --rebuilddb" and then try again. Yoy may have corrupted the db. It used to be quite common.
 
Old 01-29-2004, 09:31 PM   #4
Redbone981sl
Member
 
Registered: Jul 2003
Posts: 73

Rep: Reputation: 15
Don't put the version in just type rpm -q glibc-kernheaders.
 
  


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
Realplayer claims it can't find "libstdc++.so.5" mynameisflorian Linux - Software 7 10-26-2005 12:09 AM
"rpm not installed" King4lex Linux - Newbie 2 08-25-2004 03:19 AM
How to tell rpm of "installed from source" packages hfreeman Linux - Software 2 07-28-2004 02:55 AM
NRF says SCO's claims "without merit"!! Richey General 0 05-10-2004 08:50 AM
RPM / uninstalling "pre-installed" RH modules cliffyman Linux - General 3 10-24-2001 12:50 PM


All times are GMT -5. The time now is 11:05 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration