Package: xtables-addons-source
Version: 1.10-1
Severity: normal

I have xtables-addons-modules-2.6.26 installed.  I build
xtables-addons-modules-2.6.28, but when I try to install it I get

dpkg: error processing 
/var/cache/apt/archives/xtables-addons-modules-2.6.28_1.10-1+helium.1_amd64.deb 
(--unpack):
 trying to overwrite `/lib/xtables/libipset_portmap.so', which is also in 
package xtables-addons-modules-2.6.26

Obviously there's an undeclared conflict here.  This is tricky for
several reasons:

(1) Any two xtables-addons-modules-* packages should conflict with
each other if their kernel versions are different.  Is it possible to
specify that in the Conflicts: line?

(2) It means that we can't ever have xtables-addons-modules installed
for more than one kernel version at a time.

(3) In fact the conflict is more than that.  It depends on the kernel
revision number, i.e. helium.1 in my example.  If I build
xtables-addons-modules against a different kernel that has the same
version (e.g. 2.6.26) but a different revision number, dpkg will let
me install it whether or not it matches the installed kernel.

Anyway for now the workaround is to uninstall
xtables-addons-modules-2.6.26 first.  This is fine, unless I have to
go back and boot 2.6.26 again, then I'll have to do without
xtables-addons.

Thanks,
Andrew.

-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (990, 'testing'), (300, 'unstable'), (200, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) (ignored: LC_ALL set to 
en_US)
Shell: /bin/sh linked to /bin/bash

Versions of packages xtables-addons-source depends on:
ii  bzip2                         1.0.5-1    high-quality block-sorting file co
ii  debhelper                     7.0.17     helper programs for debian/rules
ii  iptables-dev                  1.4.2-6    development files for iptable's li
ii  make                          3.81-5     The GNU version of the "make" util
ii  module-assistant              0.10.11.0  tool to make module package creati

xtables-addons-source recommends no packages.

xtables-addons-source suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to