This causes another problem.

I've built a custom linux-2.6.18-5-686 package for our own repo
(to fix tx timeout hangs in the sky2 driver).

Once it's installed, I try to do a "module-assistant prepare" and get:

------
# module-assistant prepare
Getting source for kernel version: 2.6.18-5-686
apt-get install linux-headers-2.6.18-5-686
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed:
  linux-headers-2.6.18-5-686
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/276kB of archives.
After unpacking 930kB of additional disk space will be used.
(Reading database ... 29824 files and directories currently installed.)
Unpacking linux-headers-2.6.18-5-686 (from 
.../linux-headers-2.6.18-5-686_2.6.18.dfsg.1-13etch4_i386.deb) ...
dpkg: error processing 
/var/cache/apt/archives/linux-headers-2.6.18-5-686_2.6.18.dfsg.1-13etch4_i386.deb
 (--unpack):
 trying to overwrite `/lib/modules/2.6.18-5-686/build', which is also in 
package linux-image-2.6.18-5-686
Errors were encountered while processing:
 
/var/cache/apt/archives/linux-headers-2.6.18-5-686_2.6.18.dfsg.1-13etch4_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
apt-get install build-essential
Reading package lists... Done
Building dependency tree... Done
build-essential is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Done!
------

As Manoj pointed out, the build and source symlinks in the
linux-image package were removed at install time, but the
inability to install linux-headers thereafter is a bit of
a show-stopper. :-(

Ciao,
Sheldon.

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to