Bug 1205787 - NVIDIA packages on openSUSE Leap need 'multiversion = provides:multiversion(kernel)' in /etc/zypp/zypp.conf
Summary: NVIDIA packages on openSUSE Leap need 'multiversion = provides:multiversion(k...
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: X11 3rd Party Driver (show other bugs)
Version: Leap 15.4
Hardware: x86-64 Other
: P4 - Low : Normal (vote)
Target Milestone: ---
Assignee: Stefan Dirsch
QA Contact: Stefan Dirsch
URL:
Whiteboard:
Keywords:
Depends on: 1202116
Blocks:
  Show dependency treegraph
 
Reported: 2022-11-27 13:11 UTC by Stefan Dirsch
Modified: 2022-12-01 12:31 UTC (History)
8 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Dirsch 2022-11-27 13:11:58 UTC
+++ This bug was initially created as a clone of Bug #1202116 +++

On openSUSE Leap 15.3 nvidia update (from https://download.nvidia.com/opensuse/leap/15.3) 470.129.06-lp153.57.1 => 470.141.03-lp153.53.1 fails due to:

"nothing provides 'kernel-default-devel = 5.3.18-57'"

The 15.3 kernel is currently at 5.3.18-150300.59.87.1


Full conflict log:

#### YaST2 conflicts list - generated 2022-08-03 16:58:10 ####

nothing provides 'kernel-default-devel = 5.3.18-57' needed by the to be installed nvidia-gfxG05-kmp-default-470.141.03_k5.3.18_57-lp153.53.1.x86_64

    [ ] do not install nvidia-gfxG05-kmp-default-470.141.03_k5.3.18_57-lp153.53.1.x86_64

    [ ] break nvidia-gfxG05-kmp-default-470.141.03_k5.3.18_57-lp153.53.1.x86_64 by ignoring some of its dependencies


nothing provides 'kernel-default-devel = 5.3.18-57' needed by the to be installed nvidia-gfxG05-kmp-default-470.141.03_k5.3.18_57-lp153.53.1.x86_64

    [ ] break nvidia-gfxG05-kmp-default-470.141.03_k5.3.18_57-lp153.53.1.x86_64 by ignoring some of its dependencies

    [ ] do not install x11-video-nvidiaG05-470.141.03-lp153.53.1.x86_64


nothing provides 'kernel-default-devel = 5.3.18-57' needed by the to be installed nvidia-gfxG05-kmp-default-470.141.03_k5.3.18_57-lp153.53.1.x86_64

    [ ] do not install nvidia-glG05-470.141.03-lp153.53.1.x86_64

    [ ] break nvidia-gfxG05-kmp-default-470.141.03_k5.3.18_57-lp153.53.1.x86_64 by ignoring some of its dependencies


nothing provides 'kernel-default-devel = 5.3.18-57' needed by the to be installed nvidia-gfxG05-kmp-default-470.141.03_k5.3.18_57-lp153.53.1.x86_64

    [ ] do not install nvidia-computeG05-470.141.03-lp153.53.1.x86_64

    [ ] break nvidia-gfxG05-kmp-default-470.141.03_k5.3.18_57-lp153.53.1.x86_64 by ignoring some of its dependencies



#### YaST2 conflicts list END ###
Comment 1 Stefan Dirsch 2022-11-27 13:21:39 UTC
Looks like we have the same issue as in Leap 15.3, i.e. we apparently removed the GA kernel (devel) packages with a quarterly GA update (or whatever this is called).

> Problem: the installed
> nvidia-gfxG05-kmp-default-470.141.03_k5.14.21_150400.22-lp154.54.1.x86_64
> requires 'kernel-default-devel = 5.14.21-150400.22', but this requirement
> cannot be provided
>  Solution 1: Following actions will be done:
>   deinstallation of
> nvidia-gfxG05-kmp-default-470.141.03_k5.14.21_150400.22-lp154.54.1.x86_64
>   deinstallation of x11-video-nvidiaG05-470.141.03-lp154.54.1.x86_64
>   deinstallation of nvidia-glG05-470.141.03-lp154.54.1.x86_64
>   deinstallation of nvidia-computeG05-470.141.03-lp154.54.1.x86_64
>   deinstallation of x11-video-nvidiaG05-32bit-470.141.03-lp154.54.1.x86_64
>   deinstallation of nvidia-glG05-32bit-470.141.03-lp154.54.1.x86_64
>   deinstallation of nvidia-computeG05-32bit-470.141.03-lp154.54.1.x86_64
>  Solution 2: do not install
> kernel-default-devel-5.14.21-150400.24.33.2.x86_64
>  Solution 3: break
> nvidia-gfxG05-kmp-default-470.141.03_k5.14.21_150400.22-lp154.54.1.x86_64 by
> ignoring some of its dependencies

We only provide .24 as "quarterly GA" kernel packages.
Comment 2 Stefan Dirsch 2022-11-27 13:22:24 UTC
Leap 15.3 bug was boo#1202116
Comment 3 Stefan Dirsch 2022-11-27 13:23:01 UTC
Adding Ludwig as original reporter of this bug.
Comment 4 Stefan Hundhammer 2022-11-27 20:03:41 UTC
Lubos, please check.
Comment 5 Max Lin 2022-11-28 08:44:35 UTC
What I have seen that .22 was there in the GA repo. We didn't republish 15.4 ftp-tree(repo) so far AFAIK, @Lubos can you confirm that? even that we didn't rebuild 15.4 ftp-tree within the newer *quarterly GA update*, it does rebuild dvd only.

> $ sudo zypper se -s kernel-default-devel
> Loading repository data...
> Reading installed packages...
> 
> S | Name                 | Type    | Version                | Arch   | Repository
> --+----------------------+---------+------------------------+--------+----------------------
>   | kernel-default-devel | package | 6.0.8-1.1              | x86_64 | Main Repository (OSS)
>   | kernel-default-devel | package | 5.14.21-150400.24.33.2 | x86_64 | 155_sle_update
>   | kernel-default-devel | package | 5.14.21-150400.24.28.1 | x86_64 | 155_sle_update
>   | kernel-default-devel | package | 5.14.21-150400.24.21.2 | x86_64 | 155_sle_update
>   | kernel-default-devel | package | 5.14.21-150400.24.18.1 | x86_64 | 155_sle_update
>   | kernel-default-devel | package | 5.14.21-150400.24.11.1 | x86_64 | 155_sle_update
>   | kernel-default-devel | package | 5.14.21-150400.22.1    | x86_64 | 155_oss
>   | kernel-default-devel | package | 6.0.8-1.1              | i586   | Main Repository (OSS)


> $ sudo zypper lr -u
> Repository priorities are without effect. All enabled repositories share the same priority.
> 
> #  | Alias                            | Name                                               | Enabled | GPG Check | Refresh | URI
> ---+----------------------------------+----------------------------------------------------+---------+-----------+---------+--------------------------------------------------------------------------------
>  1 | 155_oss                          | 155_oss                                            | Yes     | (r ) Yes  | No      | http://download.opensuse.org/distribution/leap/15.4/repo/oss/
>  2 | 155_sle_update                   | 155_sle_update                                     | Yes     | (r ) Yes  | No      | http://download.opensuse.org/update/leap/15.4/sle/
Comment 6 Stefan Dirsch 2022-11-28 10:48:07 UTC
Hmm. Indeed, seems there is still 

28 | repo-oss                                     | Main Repository                                                                             | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/distribution/leap/15.4/repo/oss/

Ludwig, could you please check that you still have this repository enabled on your system?
Comment 7 Ludwig Nussel 2022-11-29 07:18:58 UTC
yes it is. Meanwhile I found that issue is that the system has multiversion disabled. With btrfs snapshots there's no reason to keep old kernels. Looks like the NVidia driver relies on that feature though. Does this strict requirement make sense? After all the module would load for the updated kernel as well, right?
Comment 8 Stefan Dirsch 2022-11-29 09:37:28 UTC
Hmm. Is multiversion our default?

The issue is: If you build against kernel X+1 and then boot kernel-default X you may miss symbols and therefore the module can't be loaded. That's why we now force build aginst GA kernel. (boo#1201936)
Comment 9 Stefan Dirsch 2022-11-29 09:45:24 UTC
For now I could only find new installation with

multiversion = provides:multiversion(kernel)

in /etc/zypp/zypp.conf.
Comment 10 Stefan Dirsch 2022-11-29 21:08:48 UTC
I don't see how I could get rid of this requirement.
Comment 11 Stefan Dirsch 2022-11-29 21:34:11 UTC
I've added the requirement to the nvidia driver installation howto.

https://en.opensuse.org/SDB:NVIDIA_drivers#Special_Requirements
Comment 12 Stefan Dirsch 2022-12-01 12:31:10 UTC
(In reply to Stefan Dirsch from comment #10)
> I don't see how I could get rid of this requirement.

(In reply to Stefan Dirsch from comment #11)
> I've added the requirement to the nvidia driver installation howto.
> 
> https://en.opensuse.org/SDB:NVIDIA_drivers#Special_Requirements

At least this restriction is documented now. Trying to close as fixed.