Bug 397

Summary: kmod-nvidia package needs kernel-uname-r, but that's not available
Product: Fedora Reporter: Daniel Brooks <db48x>
Component: nvidia-kmodAssignee: Stewart Adam <s.adam>
Status: RESOLVED INVALID    
Severity: normal CC: fedora, kwizart
Priority: P5    
Version: 10   
Hardware: All   
OS: GNU/Linux   
namespace:

Description Daniel Brooks 2009-02-20 22:33:02 CET
On a machine with kmod-nvidia already installed I get the following messages:

ERROR with rpm_check_debug vs depsolve:
kernel-uname-r is needed by (installed) kmod-nvidia-2.6.27.5-37.fc9.x86_64-173.14.15-1.fc9.5.x86_64
kernel-uname-r is needed by (installed) kmod-nvidia-2.6.27.5-41.fc9.x86_64-173.14.15-1.fc9.6.x86_64
kernel-uname-r is needed by (installed) kmod-nvidia-2.6.27.9-73.fc9.x86_64-173.14.15-1.fc9.8.x86_64
Complete!
(1, [u'Please report this error in http://yum.baseurl.org/report'])

I get slightly different messages on a machine that doesn't already have an earlier kmod-nvidia package installed.

Where is the kernel-uname-r package supposed to come from? What's in it?
Comment 1 Nicolas Chauvet 2009-02-20 22:47:50 CET
On which system do you have the bug ?
Do you have compiled your own kernel ?

Comment 2 Daniel Brooks 2009-02-21 04:32:41 CET
Oh, my apologies. I see this happening on two F10 systems, one upgraded gradually from F3, the other a new install. I'm using the stock Fedora kernels, one is an x86-64 (as you can see from the messages I pasted), and the other is i386.
Comment 3 Thorsten Leemhuis 2009-02-21 13:15:16 CET
Not completely sure from the details you gave (see below comment), but there is afaics nothing we can do about it on the RPM Fusion site. Afaics the problem is this:

- you had kmod for some kernel from F9 installed
- you updated from F9 to F10
- anaconda or something else removed those older kernels during the update. But it left the kmod arounds; that should not happen, as the kmods have a strict dependency on the kernel, hence yum (when used by anaconda) should remove them when it uninstalls the kernels from F9 (and in fact yum does that normally when doing regular updates within a release)

(In reply to comment #2)
> Oh, my apologies. I see this happening on two F10 systems, one upgraded
> gradually from F3, the other a new install. I'm using the stock Fedora kernels,
> one is an x86-64 (as you can see from the messages I pasted), and the other is
> i386.

This gets confusing. I guess the errors in the initial report where from the updated machine? Are you sure the error messages on the others are the same issue?
Comment 4 Daniel Brooks 2009-02-21 17:38:44 CET
(In reply to comment #3)
> Not completely sure from the details you gave (see below comment), but there is
> afaics nothing we can do about it on the RPM Fusion site. Afaics the problem is
> this:
> 
> - you had kmod for some kernel from F9 installed
> - you updated from F9 to F10
> - anaconda or something else removed those older kernels during the update. But
> it left the kmod arounds; that should not happen, as the kmods have a strict
> dependency on the kernel, hence yum (when used by anaconda) should remove them
> when it uninstalls the kernels from F9 (and in fact yum does that normally when
> doing regular updates within a release)

Hmm. Indeed, I do have a few extra copies of kmod-nvidia around that don't correspond to installed kernel versions. Let's see what happens when I remove them all, and attempt to install a new one…

Yes, now it works. However, so does my other machine. Did the dependencies change last night?

> 
> (In reply to comment #2)
> > Oh, my apologies. I see this happening on two F10 systems, one upgraded
> > gradually from F3, the other a new install. I'm using the stock Fedora kernels,
> > one is an x86-64 (as you can see from the messages I pasted), and the other is
> > i386.
> 
> This gets confusing. I guess the errors in the initial report where from the
> updated machine? Are you sure the error messages on the others are the same
> issue?
> 

Yes. It was complaining that it cannot install kmod-nvidia because of the same missing dependency, kernel-uname-r
Comment 5 Thorsten Leemhuis 2009-02-21 17:56:38 CET
(In reply to comment #4)
> Hmm. Indeed, I do have a few extra copies of kmod-nvidia around that don't
> correspond to installed kernel versions. Let's see what happens when I remove
> them all, and attempt to install a new one…
> 
> Yes, now it works.

good

> However, so does my other machine. Did the dependencies change last night?

I guess that was a different error. Likely
https://www.redhat.com/archives/fedora-devel-list/2008-August/msg00041.html