Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-17018

Unable to install DKMS on Ubuntu client

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.16.0
    • None
    • None
    • Ubuntu 22.04
    • 3
    • 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"?
       

       

      Attachments

        Issue Links

          Activity

            People

              rdruon Raphael Druon
              rdruon Raphael Druon
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: