LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cannot remove old drivers (https://www.linuxquestions.org/questions/linux-newbie-8/cannot-remove-old-drivers-165598/)

drwsc6 04-03-2004 12:08 AM

Cannot remove old drivers
 
Using Fedora core 1 I've updated my kernel with apt-get, when I try to remove the old Nvidia drivers and rebuild, I can't remove the old RPM. I try an RPM -e on the package but it says it's not installed then when I rebuild the driver and try to run RPM -i it says it's already installed. I'm I trying to -e the wrong file. It's at /usr/src/redhat/RPMS/i386/NVIDIA_nforce-1.0-0261.i386.rpm. If I force the install then I get a dependancy error. help!!

DavidPhillips 04-03-2004 02:04 AM

What's the dependancy error?

drwsc6 04-03-2004 11:00 AM

Sorry about the dual post, I will consider myself reprimanded and corrected. I did get the package to uninstall, I was appending the i386.rpm to the end of the package now when I rebuild, and reinstall the drivers I receive this output :depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2174.nptl_37.rhfc1.at/kernel/i386/kernel/powernow-k7-o

DavidPhillips 04-03-2004 12:37 PM

backup your .config file and run this before running make xconfig

make distclean
make mrproper

avarus 04-03-2004 06:10 PM

Not sure the previous reply is much help, since the kernel was installed from apt-get, not a source compile. (Er, scuse my ignorance, but don't Fedora kernels come as RPM?? - anyway... nevermind)

depmod is a tool which checks for module dependencies, and builds a config file telling the kernel module loader what modules are needed to support other modules. Obviously it is run to sort out the dependencies for the NVIDIA modules, but it has actually failed at one of the cpufreq modules, which is completely unrelated and should have been picked up at kernel install time.

Do you have a K7 in the machine? Do you care about power management (ie is this a laptop)?

If the answer is no, I would say just delete the offending file (powernow-k7-o) and try again.

TIM

DavidPhillips 04-03-2004 08:44 PM

Yes, they come as rpm and the kernel-source is not going to work right unless you at least run mrproper first.

Of course you can try whatever you want to get it to work. At least I have never been able to build a kernel in that source tree without those types of errors. You can delete that one and the next, and the next, and so on.


All times are GMT -5. The time now is 08:13 PM.