[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: trouble with custom kernel



On 2009-06-16 16:45 +0200, Bernd Prager wrote:

> I have been building custom kernels for my system a while now.
> Recently I run into trouble that I haven't experienced before:
>
> I build my kernel with:
> $ make menuconfig
> $ make-kpkg clean
> $ fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image
> kernel_headers
>
> When I try to install I get now following error:
> $ dpkg -i linux-image-2.6.30-custom_2.6.30-custom-10.00.Custom_amd64.deb
> (Reading database ... 136073 files and directories currently installed.)
> Unpacking linux-image-2.6.30-custom (from
> linux-image-2.6.30-custom_2.6.30-custom-10.00.Custom_amd64.deb) ...
> Done.
> dpkg: error processing
> linux-image-2.6.30-custom_2.6.30-custom-10.00.Custom_amd64.deb
> (--install):
> trying to overwrite `/lib/firmware/mts_edge.fw', which is also in
> package linux-image-2.6.29.1-custom

You seem to be using an old version of kernel-package.  Current versions
do not install kernel firmware into /lib/firmware, but rather into
/lib/firmware/$kernelversion to avoid these clashes.  See #492516¹.

> dpkg-deb: subprocess paste killed by signal (Broken pipe)
> Running postrm hook script /sbin/update-grub.
> Searching for GRUB installation directory ... found: /boot/grub
> Searching for default file ... found: /boot/grub/default
> Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
> Searching for splash image ... none found, skipping ...
> Found kernel: /boot/vmlinuz-2.6.29.1-custom
> Found kernel: /boot/vmlinuz-2.6.27-14-generic
> Found kernel: /boot/memtest86+.bin
> Updating /boot/grub/menu.lst ... done
>
> Errors were encountered while processing:
> linux-image-2.6.30-custom_2.6.30-custom-10.00.Custom_amd64.deb
>
> Any suggestion what to do?

Upgrade kernel-package to the version in Lenny (or newer).

Sven


¹http://bugs.debian.org/492516


Reply to: