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

Lustre client module deb package cannot be installed on Debian stable

    XMLWordPrintable

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

          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: