[LU-17018] Unable to install DKMS on Ubuntu client Created: 07/Aug/23  Updated: 06/Sep/23  Resolved: 06/Sep/23

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.16.0

Type: Bug Priority: Minor
Reporter: Raphael Druon Assignee: Raphael Druon
Resolution: Fixed Votes: 0
Labels: None
Environment:

Ubuntu 22.04


Issue Links:
Blocker
Related
is related to LU-16661 recommend bash-completion for packages Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

Trying to install the dkms client modules on a Ubuntu 22.04 node. APT complains about:

 

The following packages have unmet dependencies:
 lustre-client-modules-dkms : Depends: linux-image (>= 3.10) or
                                       linux-image-amd64 (>= 3.10) but it is not installable or
                                       linux-image-arm64 (>= 3.10) but it is not installable 

 

 

This is due to a change in LU-16661 causing issue with Ubuntu as it doesn't have the "linux-image" package installed but the "linux-image-generic" one.

"linux-image-*-generic" does provide the "linux-image" package:

root@co-es-pm-140:~/client# dpkg -s linux-image-5.15.0-78-generic
Package: linux-image-5.15.0-78-generic
Status: install ok installed
Priority: optional
Section: kernel
Installed-Size: 11348
Maintainer: Canonical Kernel Team <kernel-team@lists.ubuntu.com>
Architecture: amd64
Source: linux-signed
Version: 5.15.0-78.85
Provides: fuse-module, ivtv-modules, kvm-api-4, linux-image, redhat-cluster-modules, spl-dkms, spl-modules, v4l2loopback-dkms, v4l2loopback-modules, virtualbox-guest-modules, zfs-dkms, zfs-modules
Depends: kmod, linux-base (>= 4.5ubuntu1~16.04.1), linux-modules-5.15.0-78-generic
Recommends: grub-pc | grub-efi-amd64 | grub-efi-ia32 | grub | lilo, initramfs-tools | linux-initramfs-tool
Suggests: fdutils, linux-doc | linux-source-5.15.0, linux-tools, linux-headers-5.15.0-78-generic, linux-modules-extra-5.15.0-78-generic
Conflicts: linux-image-unsigned-5.15.0-78-generic
Description: Signed kernel image generic
 A kernel image for generic.  This version of it is signed with
 Canonical's signing key.
Built-Using: linux (= 5.15.0-78.85) 

But this field is ignored when "Depends" is versioned as stated in the Debian policy manual

If the Provides field does not specify a version number, it will not satisfy versioned dependencies or violate versioned Conflicts or Breaks.

Could we add the "linux-image-generic" package in the dkms dependency in addition to the existing "linux-image*" one in "debian/control"?
 

 



 Comments   
Comment by Gerrit Updater [ 07/Aug/23 ]

"Raphael Druon <rdruon@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/51879
Subject: LU-17018 build: add 'linux-image-generic' as Depends
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 024039a2e5757c9ac0dfae9bf2573ea96d7eb9c2

Comment by Gerrit Updater [ 24/Aug/23 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/51879/
Subject: LU-17018 build: add 'linux-image-generic' as Depends
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 56098483c980a8255c75f34002f6a2ee9ee8b41d

Comment by Raphael Druon [ 06/Sep/23 ]

pjones I am not sure how to close this ticket. The patch has been merged

Comment by Peter Jones [ 06/Sep/23 ]

Landed for 2.16

Generated at Sat Feb 10 03:31:55 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.