LinuxQuestions.org
Help answer threads with 0 replies.
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, 03: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, 03:37 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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
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, 08: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-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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:40 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
Open Source Consulting | Domain Registration