[Bug 844318] New: zypper installs the wrong KMP flavor
https://bugzilla.novell.com/show_bug.cgi?id=844318 https://bugzilla.novell.com/show_bug.cgi?id=844318#c0 Summary: zypper installs the wrong KMP flavor Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: sndirsch@suse.com QAContact: jsrain@suse.com Found By: --- Blocker: --- Right after installing openSUSE 12.3 (-desktop kernel gets installed by default) and adding the NVIDIA repo the wrong NVIDIA KMP flavor gets autoselected. This means the -default KMP is autoselecte + the -desktop kernel gets installed. This should not happen, right? How to reproduce? 1. Install openSUSE 12.3 2. Add NVIDIA repo via zypper ar http://donwload.nvidia.com/opensuse/12.3 3. Install nvidia KMP via zypper in nvidia-gfxG3-kmp Note: You do *not* need any NVIDIA hardware to reproduce this issue. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=844318
https://bugzilla.novell.com/show_bug.cgi?id=844318#c1
--- Comment #1 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=844318
https://bugzilla.novell.com/show_bug.cgi?id=844318#c2
--- Comment #2 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=844318
https://bugzilla.novell.com/show_bug.cgi?id=844318#c3
Stefan Dirsch
Right after installing openSUSE 12.3 (-desktop kernel gets installed by default) and adding the NVIDIA repo the wrong NVIDIA KMP flavor gets autoselected. This means the -default KMP is autoselecte + the -desktop kernel gets installed. This should not happen, right?
.. This means the -default KMP is autoselected + the -*default* kernel gets installed ... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=844318
https://bugzilla.novell.com/show_bug.cgi?id=844318#c
Michael Andres
https://bugzilla.novell.com/show_bug.cgi?id=844318
https://bugzilla.novell.com/show_bug.cgi?id=844318#c4
Michael Andres
!> Solution : !> install kernel-default-3.7.10-1.16.1.x86_64[repo-update] !> install kernel-default-devel-3.7.10-1.16.1.x86_64[repo-update] !> install nvidia-computeG03-319.32-15.1.x86_64[download.nvidia.com-opensuse] !> install nvidia-gfxG03-kmp-default-319.32_k3.7.10_1.1-15.1.x86_64[download.nvidia.com-opensuse] !> install x11-video-nvidiaG03-319.32-15.1.x86_64[download.nvidia.com-opensuse]
!> Solution : !> install nvidia-computeG03-319.32-15.1.x86_64[download.nvidia.com-opensuse] !> install nvidia-gfxG03-kmp-desktop-319.32_k3.7.10_1.1-15.1.x86_64[download.nvidia.com-opensuse] !> install x11-video-nvidiaG03-319.32-15.1.x86_64[download.nvidia.com-opensuse]
Requiring "nvidia-gfxG03-kmp", both solutions are valid. It looks like the resolver treats no solution (nvidia-gfxG03-kmp-{default,desktop}) as being 'better', so he simply picks one: -default (as it is lexicogr. before desktop). Renaming 'nvidia-gfxG03-kmp-desktop' to e.g. 'nvidia-gfxG03-kmp-cesktop' would lead to the 2nd solution. Michael (mls) should know if the resolver could make a smarter guess in such case. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=844318
https://bugzilla.novell.com/show_bug.cgi?id=844318#c5
Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=844318
https://bugzilla.novell.com/show_bug.cgi?id=844318#c6
--- Comment #6 from Stefan Dirsch
KMPs solve this by having an "Enhances: kernel-<flavor>" in the kmp. Doesn't the nvidia kmp have this?
How to verify this?
(I thought the kernel kmp generators automatically add it, but maybe not in all cases.)
I don't know. KMPs are being built in our internal buildservice --> home:sndirsch:drivers/nvidia-gfxG03 Would it help to add the line Enhances: kernel-%1 to the preamble file? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=844318
https://bugzilla.novell.com/show_bug.cgi?id=844318#c7
--- Comment #7 from Michael Andres
https://bugzilla.novell.com/show_bug.cgi?id=844318
https://bugzilla.novell.com/show_bug.cgi?id=844318#c8
--- Comment #8 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=844318
https://bugzilla.novell.com/show_bug.cgi?id=844318#c9
--- Comment #9 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=844318
https://bugzilla.novell.com/show_bug.cgi?id=844318#c10
--- Comment #10 from Michael Andres
https://bugzilla.novell.com/show_bug.cgi?id=844318
https://bugzilla.novell.com/show_bug.cgi?id=844318#c11
--- Comment #11 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=844318
https://bugzilla.novell.com/show_bug.cgi?id=844318#c12
Michael Andres
participants (1)
-
bugzilla_noreply@novell.com