LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Strange RPM Error (https://www.linuxquestions.org/questions/linux-general-1/strange-rpm-error-16090/)

woknroll 03-12-2002 07:48 AM

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

acid_kewpie 03-12-2002 07:54 AM

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.

woknroll 03-12-2002 08:03 AM

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


All times are GMT -5. The time now is 09:31 PM.