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

Ubuntu dkms packages do not list all dependancies required

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • Lustre 2.16.0, Lustre 2.15.0
    • Lustre 2.14.0
    • None
    • Ubuntu 18.04 and Ubuntu 20.04
    • 9223372036854775807

    Description

      When you try and install a lustre-client-modules-dkms package on a clean upstream ubuntu image then installation fails unless a number of other packages are installed in advance.

       

      Adding the following patch to lustre 2.14.0 appears to solve the issue.

      From d9b448a0cc81830345e5f8ab081fc5e24046e4e4 Mon Sep 17 00:00:00 2001
      From: James Beal <jb23@sanger.ac.uk>
      Date: Tue, 14 Sep 2021 11:22:30 +0100
      Subject: [PATCH 1/2] Add packages needed for an install on an upstream cloud
       image---
       debian/control | 2 +-
       1 file changed, 1 insertion(+), 1 deletion(-)diff --git a/debian/control b/debian/control
      index 77a22a2efe..3bc78e783c 100644
      --- a/debian/control
      +++ b/debian/control
      @@ -108,7 +108,7 @@ Package: lustre-client-modules-dkms
       Section: admin
       Architecture: i386 armhf powerpc ppc64el amd64 ia64
       Priority: optional
      -Depends: dkms, automake, libtool, libyaml-dev, linux-headers-generic | linux-headers | linux-headers-amd64, zlib1g
      +Depends: dkms, automake, libtool, libyaml-dev, linux-headers-generic | linux-headers | linux-headers-amd64, zlib1g, python3-distutils, python3-dev, libnl-genl-3-dev, zlib1g-dev, pkg-config
       Recommends: linux-image, lustre-client-utils
       Provides: lustre-client-modules
       Description: Lustre Linux kernel module (DKMS)
      -- 
      2.25.1
      From b280f22cf03b6602024f41b78be73a1aef02c6b7 Mon Sep 17 00:00:00 2001
      From: James Beal <jb23@sanger.ac.uk>
      Date: Tue, 14 Sep 2021 13:58:14 +0100
      Subject: [PATCH 2/2] control.main is copied inside---
       debian/control.main | 2 +-
       1 file changed, 1 insertion(+), 1 deletion(-)diff --git a/debian/control.main b/debian/control.main
      index 77a22a2efe..3bc78e783c 100644
      --- a/debian/control.main
      +++ b/debian/control.main
      @@ -108,7 +108,7 @@ Package: lustre-client-modules-dkms
       Section: admin
       Architecture: i386 armhf powerpc ppc64el amd64 ia64
       Priority: optional
      -Depends: dkms, automake, libtool, libyaml-dev, linux-headers-generic | linux-headers | linux-headers-amd64, zlib1g
      +Depends: dkms, automake, libtool, libyaml-dev, linux-headers-generic | linux-headers | linux-headers-amd64, zlib1g, python3-distutils, python3-dev, libnl-genl-3-dev, zlib1g-dev, pkg-config
       Recommends: linux-image, lustre-client-utils
       Provides: lustre-client-modules
       Description: Lustre Linux kernel module (DKMS)
      -- 
      2.25.1
      

       

       

       

      Attachments

        Activity

          People

            james beal James Beal
            james beal James Beal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: