Bug#688904: dkms: remove non-functional, breaks dh_dkms maintscript
Package: dkms
Version: 2.2.0.3-1.1
Severity: serious
X-Debbugs-Cc: debian-bsd@lists.debian.org
Hi!
I just noticed updating fuse4bsd-dkms fails on my kfreebsd-amd64. It
seems the `dkms remove` command used in the prerm script is a no-op at
least on kfreebsd
=====
% sudo dkms status
cuse4bsd, SVN: added
fuse4bsd, 0.3.9~pre1.20080208: added
% sudo dkms remove cuse4bsd/SVN --all
% sudo dkms status
cuse4bsd, SVN: added
fuse4bsd, 0.3.9~pre1.20080208: added
=====
=====
% sudo dpkg -i fuse4bsd-dkms_0.3.9\~pre1.20080208-5_all.deb
(Reading database ... 398320 files and directories currently installed.)
Preparing to replace fuse4bsd-dkms 0.3.9~pre1.20080208-5 (using fuse4bsd-dkms_0.3.9~pre1.20080208-5_all.deb) ...
Unpacking replacement fuse4bsd-dkms ...
Setting up fuse4bsd-dkms (0.3.9~pre1.20080208-5) ...
Removing old fuse4bsd-0.3.9~pre1.20080208 DKMS files...
Loading new fuse4bsd-0.3.9~pre1.20080208 DKMS files...
Error! DKMS tree already contains: fuse4bsd-0.3.9~pre1.20080208
You cannot add the same module/version combo more than once.
dpkg: error processing fuse4bsd-dkms (--install):
subprocess installed post-installation script returned error exit status 3
Errors were encountered while processing:
fuse4bsd-dkms
=====
I don't have a linux here to check and it somewhat sounds similar to
#659672 though I'm not sure it is the same
Regards
Christoph
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: kfreebsd-amd64 (x86_64)
Kernel: kFreeBSD 10.0-0-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages dkms depends on:
ii build-essential 11.5
ii coreutils 8.13-3.2
ii dpkg-dev 1.16.8
ii gcc 4:4.7.1-1
ii kldutils [module-init-tools] 9.0+ds1-7
ii make 3.81-8.2
ii patch 2.6.1-3
Versions of packages dkms recommends:
ii fakeroot 1.18.4-2
pn linux-headers-686-pae | linux-headers-amd64 | linux-headers-gene <none>
pn linux-image <none>
ii sudo 1.8.5p2-1
dkms suggests no packages.
-- no debconf information
--
Reply to: