yum be killing me, this is totally strange... totally

David Timms dtimms at iinet.net.au
Fri Jan 5 14:09:18 UTC 2007


David Timms wrote:
> Ric Moore wrote:
>> [root at iam log]# rpm -qa |grep kmod-nvidia
>> kmod-nvidia-1.0.9631-1.2.6.18_1.2868.fc6
>> kmod-nvidia-1.0.9631-1.2.6.18_1.2869.fc6   <---- oh hell! Got TWO of
>> them installed!!
>> [root at iam log]# rpm -qa --queryformat "%{NAME}-%{VERSION}-%{ARCH} \\n" |
>> grep kmod-nvidia | sort
>> kmod-nvidia-1.0.9631-i686
>> kmod-nvidia-1.0.9631-i686 <---tried something I got off the web.
>> [root at iam log]# rpm -e kmod-nvidia-1.0.9631-i686 <---tried to erase it
>> error: package kmod-nvidia-1.0.9631-i686 is not installed  <-- no go
>> [root at iam log]# rpm -e kmod-nvidia-1.0.9631-i686 error: package 
>> kmod-nvidia-1.0.9631-i686 is not installed <--still nogo
>> [root at iam log]# rpm -e kmod-nvidia-1.0.9631-1.2.6.18_1.2868.fc6 <--good!
>> [root at iam log]# rpm -e kmod-nvidia-1.0.9631-1.2.6.18_1.2868.fc6 <--huh?
>> error: package kmod-nvidia-1.0.9631-1.2.6.18_1.2868.fc6 is not installed
>> [root at iam log]# rpm -qa |grep kmod-nvidia
>> kmod-nvidia-1.0.9631-1.2.6.18_1.2869.fc6 <--- still got one it seems
>> [root at iam log]# rpm -e kmod-nvidia-1.0.9631-1.2.6.18_1.2868.fc6
>> error: package kmod-nvidia-1.0.9631-1.2.6.18_1.2868.fc6 is not installed
>> [root at iam log]# rpm -e kmod-nvidia
>> error: Failed dependencies:
>>         nvidia-kmod >= 1.0.9631 is needed by (installed)
>> xorg-x11-drv-nvidia-1.0.9631-1.lvn6.i386
>> [root at iam log]# rpm -e --nodeps kmod-nvidia
>> [root at iam log]#
>>
>> I finally got the sucker, but I have no clue how I got two of 'em. I
>> noticed that Croquet was flickering HUGELY and I knew it tasked the hell
>> out of the gpu and that my nVidia driver had to be screwed. Then I found
>> this going on. Now I'm gonna install it again. It might have gotten
>> installed by some secret yum miracle when my kernel was updated, but it
>> still shouldn't have been installed twice by anything. I was and still
>> remain clueless. Ric 
> I wonder Seth's dupes-cli.py would find and manage to remove the 
> duplicate ?
> http://skvidal.wordpress.com/2006/12/04/re-wow/
> 
> I have had used this on various machines to find an remove duped 
> packages. The situation that caused the duplicates seems to be an rpm 
> uninstall script that failed / rpm stuck and nuked. This left packages 
> mostly removed from disk but not from the rpm database, from what I 
> understand.
> 
> You may be able to work out when things went wrong by perusing the 
> /var/log/yum*.logs
Further to what Jacob mentions:
If you choose to use rpm packaged nvidia modules with dkms {dynamic 
kernel module loader} support, then during boot your dkms detects the 
kernel change, and recompiles the module / interface for the booted kernel.

This has worked faultlessly for me using the rpm from freshrpms.net. And 
by the way Matthias currently has nvidia-x11-drv-1.0.9746-1

DaveT.




More information about the fedora-list mailing list