Review your favorite Linux distribution.
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 01-26-2004, 03:28 PM   #1
LQ Newbie
Registered: Jan 2004
Location: USA
Posts: 1

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

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.

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

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
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, 09:01 PM   #3
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, 08:31 PM   #4
Registered: Jul 2003
Posts: 73

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


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

All times are GMT -5. The time now is 12:00 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