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

Installation Weirdness (dpkg-divert)



Hi,

	I'm experiencing a weird problem while installing slink. I'm just
not sure what's at fault and therefore don't know which package to file a
bug report against.

	I get the following:

"Preparing to replace modutils 2.1.85-11 (using
.../base/modutils_2.1.121-4.deb) ...
Adding `diversion of /usr/include/linux/kerneld.h to
/usr/include/linux/kerneld.h.libc6 by modutils'
Saving KDOPT setting from /etc/init.d/kerneld ..
Your /etc/conf.modules is a symlink. I will replace this by
a real file so update-modules can do it's work later.
Removing obsoleted files: conf.generic conf.i386 conf.m68k conf.m68k.amiga
conf.m68k.atari conf.m68k.mac

Dpkg might ask you if you want the new configuration files in /etc/initd.
This is generally a good idea, unless you have really changed any of these
files. The KDOPT setting in /etc/init.d/kerneld will be saved even if you
install a new version of this file.

Unpacking replacement modutils ...
dpkg: error processing
/mnt/debian/dists/unstable/main/binary-i386/base/modutils_2.1.121-4.deb
(--unpack):
 trying to overwrite `/usr/include/linux/kerneld.h', which is the diverted
version of `(null)' (package:modutils)
dpkg-deb: subprocess paste killed by signal (Broken pipe)"

	then a bit later in the install I get:

"Unpacking dnsutils (from .../net/dnsutils_8.1.2-3.deb) ...
Adding `diversion of /usr/bin/addr to /usr/bin/addr.bind by dnsutils'
dpkg: error processing
/mnt/debian/dists/unstable/main/binary-i386/net/dnsutils_8.1.2-3.deb
(--unpack):
 trying to overwrite `/usr/bin/dig', which is the diverted version of
`(null)' (package:dnsutils)
dpkg-deb: subprocess paste killed by signal (Broken pipe)"

	then yet again a bit further:

"Unpacking libc6-dev (from .../devel/libc6-dev_2.0.7u-2.deb) ...
dpkg: error processing
/mnt/debian/dists/unstable/main/binary-i386/devel/libc6-dev_2.0.7u-2.deb
(--unpack):
 trying to overwrite `/usr/include/linux/kerneld.h', which is the diverted
version of `L..xM...' (package:modutils)
dpkg-deb: subprocess paste killed by signal (Broken pipe)"

	As you can see it seems to be triggered by dpkg-divert in the
installation scripts. The weird thing is that if i "hold back" modutils
and dnsutils, and install them on a 2nd run thru' dselect, then all is
well. I can reliably reproduce this. This has been happening for a while
now. But the errors (as shown above) are slightly different now since the
latest version of dpkg (1.4.0.30). It used to give segmentation fault.

	Using latest APT with Debian 2.0 cdrom as a base and a local
"sub-mirror" of slink packages that I use.

	Any ideas?

	Thanks

		Greg


Reply to: