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

Lustre client module deb package cannot be installed on Debian stable

Details

    • 3
    • 9223372036854775807

    Description

      Compiling Lustre client module package on Debian GNU/Linux 11 (bullseye) results
      in package: lustre-client-modules-5.10.0-13-amd64_2.15.0-RC3-1_amd64.deb

      Installing the package results in error:

      dpkg: dependency problems prevent configuration of lustre-client-modules-5.10.0-13-amd64:
       lustre-client-modules-5.10.0-13-amd64 depends on linux-generic; however:
        Package linux-generic is not installed.
      
      dpkg: error processing package lustre-client-modules-5.10.0-13-amd64 (--install):
       dependency problems - leaving unconfigured
      

      because on Debian GNU/Linux 11 (bullseye) there exists no linux-generic package. See e.g.

      $ apt search linux-generic
      Sorting... Done
      Full Text Search... Done
      

      The package exists on Ubuntu (but not Debian):

      [tstibor@ubuntu-20-lustre ~]$ apt search linux-generic
      Sorting... Done
      Full Text Search... Done
      linux-generic/focal-updates,focal-security 5.4.0.107.111 amd64 [upgradable from: 5.4.0.105.109]
        Complete Generic Linux kernel and headers
      

      It seems that commit: https://git.whamcloud.com/?p=fs/lustre-release.git;a=commitdiff;h=32c4b80192652f55bcef5786e4ec683e85234c04
      which added the line:

      --- a/debian/control.modules.in
      +++ b/debian/control.modules.in
      @@ -10,6 +10,7 @@ Package: lustre-client-modules-_KVERS_
       Architecture: any
       Recommends: linux-image, lustre-client-utils
       Provides: lustre-client-modules
      +Depends: linux-generic
       Description: Lustre Linux kernel module (kernel _KVERS_)
        This package contains the lustre loadable kernel modules for the
        patchless client for the Lustre cluster filesystem.
      

      causes the problem.

      How about appending to the depend line:

      Depends: linux-generic | linux-headers-amd64
      

      Attachments

        Activity

          [LU-15758] Lustre client module deb package cannot be installed on Debian stable

          "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47736/
          Subject: LU-15758 build: Client module DEB can't be installed on Debian
          Project: fs/lustre-release
          Branch: b2_15
          Current Patch Set:
          Commit: 631ede4fb052ed56fae02a0a78117d63076426a6

          gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47736/ Subject: LU-15758 build: Client module DEB can't be installed on Debian Project: fs/lustre-release Branch: b2_15 Current Patch Set: Commit: 631ede4fb052ed56fae02a0a78117d63076426a6

          "Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/47736
          Subject: LU-15758 build: Client module DEB can't be installed on Debian
          Project: fs/lustre-release
          Branch: b2_15
          Current Patch Set: 1
          Commit: cfaedee9f1440b18d255b9813eedd26757812902

          gerrit Gerrit Updater added a comment - "Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/47736 Subject: LU-15758 build: Client module DEB can't be installed on Debian Project: fs/lustre-release Branch: b2_15 Current Patch Set: 1 Commit: cfaedee9f1440b18d255b9813eedd26757812902
          pjones Peter Jones added a comment -

          Landed for 2.16

          pjones Peter Jones added a comment - Landed for 2.16

          "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47087/
          Subject: LU-15758 build: Client module DEB can't be installed on Debian
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: d409f74274754c87cd14a7f0a19f8d46f6496eb1

          gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47087/ Subject: LU-15758 build: Client module DEB can't be installed on Debian Project: fs/lustre-release Branch: master Current Patch Set: Commit: d409f74274754c87cd14a7f0a19f8d46f6496eb1

          "Thomas Stibor <t.stibor@gsi.de>" uploaded a new patch: https://review.whamcloud.com/47087
          Subject: LU-15758 build: Client module DEB can't be installed on Debian
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 6bc66b2dd698af720145f410db610f35dfe5f51a

          gerrit Gerrit Updater added a comment - "Thomas Stibor <t.stibor@gsi.de>" uploaded a new patch: https://review.whamcloud.com/47087 Subject: LU-15758 build: Client module DEB can't be installed on Debian Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 6bc66b2dd698af720145f410db610f35dfe5f51a

          People

            thomas.stibor Thomas Stibor
            thomas.stibor Thomas Stibor
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: