[Pkg-dkms-maint] Bug#546896: update-initramfs does not work and block dkms install

Ben Hutchings ben at decadent.org.uk
Wed Sep 16 10:34:56 UTC 2009


On Wed, 2009-09-16 at 11:45 +0200, Giuseppe Sacco wrote:
> Package: dkms
> Version: 2.0.22.0-1
> Severity: grave

No, this is not grave.

> While installing new mptsas driver (from file
> mptlinux-4.18.00.00-1dkms.noarch.rpm) using dkms I get an error from
> dkms. The error is shown here:
> 
> ===========================================================================
> Saving old initrd as /boot/initrd-2.6.26-2-amd64_old
> Making new initrd as /boot/initrd-2.6.26-2-amd64
> (If next boot fails, revert to the _old initrd image)
> update-initramfs....(bad exit status: 1)
> Problems with mkinitrd detected.  Automatically uninstalling this
> module.
> 
> -------- Uninstall Beginning --------
> Module:  mptlinux
> Version: 4.18.00.00
> Kernel:  2.6.26-2-amd64 (x86_64)
> -------------------------------------
> 
> Status: Before uninstall, this module version was ACTIVE on this kernel.
> ===========================================================================
> 
> As you may see, the mkinitrd fails, probably because it is using a wrong
> pathname for initrd image. Infact the correct pathname
> is /boot/initrd.img-2.6.26-2-amd64.

It looks like DKMS identified your system as running SUSE, not Debian,
which it does by looking for /etc/SuSE-release and /etc/SuSEconfig.  Do
either of those exist?

(In the long term I would prefer that DKMS would detect the installed
distribution type in a single place, which could be patched to return a
static value in packaged versions.)

Ben.

-- 
Ben Hutchings
This sentence contradicts itself - no actually it doesn't.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 828 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-dkms-maint/attachments/20090916/67d9d5e9/attachment-0001.pgp>


More information about the Pkg-dkms-maint mailing list