LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-12-2002, 07:48 AM   #1
woknroll
LQ Newbie
 
Registered: Mar 2002
Posts: 2

Rep: Reputation: 0
Strange RPM Error


Hi,
I'm new to linux and I encountered a strange error when trying to use RPM. I'm been having trouble installing nvidia drivers. At first I successfully installed the RPM and have been using it for a couple of days. Now I want to uninstall it back to the default in Red Hat 7.2 (because I think it's been freezing my computer). But when I try to remove it, it says:

rpm -e NVIDIA_kernel-1.0-2802.rh72up.i686.rpm
error: package NVIDIA_kernel-1.0-2802.rh72up.i686.rpm is not installed

But when I try to reinstall or update it, I get this message:

rpm -vih NVIDIA_kernel-1.0-2802.rh72up.i686.rpm
Preparing... ########################################### [100%]
package NVIDIA_kernel-1.0-2802.rh72up is already installed

Then I checked the installed packages and found this entry in the list:
rpm -qa
NVIDIA_kernel-1.0-2802.rh72up

Does anyone know why this is happening? RPM seems to be contradicting itself. Thanks in advance!

-Jesse
 
Old 03-12-2002, 07:54 AM   #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
it's not an error, you are simply usign rpm wrongly. you can see for yourself that the package registered in the database is

NVIDIA_kernel-1.0-2802.rh72up

and NOT

NVIDIA_kernel-1.0-2802.rh72up.i686.rpm

that's why it says it is not installed, cos the rpm is just a file containing the package, not the package itself....

rpm -e NVIDIA_kernel-1.0-2802.rh72up

btw. i recommend installing from tar.gz instead tho, esp if you think it has been crashing

additionally, to use the standard shipped nvidia driver, just edit /etc/X11/XF86Config and change

driver "nvidia"
to
driver "nv"

i'd not be that sure that the driver has ever been used, as i don't know quite what the pm will do, normally you DO need to manually edit the files.
 
Old 03-12-2002, 08:03 AM   #3
woknroll
LQ Newbie
 
Registered: Mar 2002
Posts: 2

Original Poster
Rep: Reputation: 0
Doh!
I actually just realized my dumb mistake and was about to update this post. But I did change my XF86Config-4 to use the nvidia instead of nv driver. I'm trying to figure out if my computer is crashing because of a CPU or Video problem. Thanks for the heads up tho!
-Jesse
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RPM error when trying to install an rpm Trance56k SUSE / openSUSE 3 11-10-2005 10:25 PM
Strange RPM error matrim Red Hat 7 01-25-2005 11:23 AM
rpm error only says"rpm: relocation error: rpm: undefined symbol: poptAliasOptions" dlrsims Linux - Newbie 2 11-14-2003 09:22 PM
2.2 strange error svar Linux - General 0 08-21-2003 01:46 AM
Help : rpm dependency error when install video driver rpm ymdwxm Linux - Software 1 04-04-2003 04:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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