[Pkg-dkms-maint] Bug#704150: dkms shouldn't rm old modules when you upgrade foo-dkms

Jakub Turski yacoob at gmail.com
Thu Mar 28 16:11:08 UTC 2013

Package: dkms
Severity: normal

I'm using zfs-dkms and spl-dkms packages to automatically build zfs
modules for any new kernel. Thanks to combination of two bugs:


I was unable to build spl and zfs modules when relevant -dkms packages
got upgraded from to 0.6.1. My recovery from this problem would
be much much easier, if dkms wouldn't simply *remove* old modules
(generated earlier from old version of {zfs,spl}-dksm packages), but
rather back them up somewhere.

Granted, ideally I should be able to pull the modules out from backup.
Given how big the compiled modules are, I think it'd be completely
reasonable if dkms kept a copy of them.

-- System Information:
Debian Release: 6.0.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.8.4 (SMP w/2 CPU cores)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dkms depends on:
ii  build-essential               11.5       Informational list of build-essent
ii  coreutils                     8.5-1      GNU core utilities
ii  dpkg-dev              Debian package development tools
ii  gcc                           4:4.4.5-1  The GNU C compiler
ii  make                          3.81-8     An utility for Directing compilati
ii  module-init-tools             3.12-2     tools for managing Linux kernel mo
ii  patch                         2.6-2      Apply a diff file to an original

Versions of packages dkms recommends:
ii  fakeroot             1.14.4-1            Gives a fake root environment
ii  linux-headers-2.6-am 2.6.32+29           Header files for Linux 2.6-amd64 (
ii  linux-headers-2.6.32 2.6.32-48squeeze1   Header files for Linux 2.6.32-5-am
ii  linux-headers-3.8.4  yacoob.20130327     Header files related to Linux kern
ii  linux-image-2.6.32-5 2.6.32-48squeeze1   Linux 2.6.32 for 64-bit PCs
ii  linux-image-3.8.4 [l yacoob.20130327     Linux kernel binary image for vers
ii  sudo                 1.7.4p4-2.squeeze.4 Provide limited super user privile

dkms suggests no packages.

-- no debconf information

More information about the Pkg-dkms-maint mailing list