Julien Cristau wrote: > On Sat, Jan 26, 2013 at 07:04:16 -0800, Jonathan Nieder wrote: >> Julien Cristau wrote:
>>> NAK. iptables in sid needs to add Breaks on the packages in wheezy that >>> want libxtables.so.7. And 691180 should be reassigned to iptables. [...] >> To recap, iptables in squeeze and wheezy contain a shared library >> (libxtables) used by other packages. The version in squeeze is >> >> /lib/libxtables.so.4 >> >> The version in wheezy is >> >> /lib/libxtables.so.7 >> >> This produces upgrade problems. > > Well then iptables in wheezy should have breaks on the packages in > squeeze that link against libxtables.so.4, too... What package expression can iptables/sid use to represent "packages using libxtables built against iptables/wheezy"? Dependencies like Breaks: connman (<< 1.0-1.2) become useless as soon as a newer version of connman is in wheezy-backports. I don't know what constraint makes introducing a libxtables7 package a bad thing to do, so I don't know how to avoid it when coming up with an appropriate fix. One possibility would be to make iptables 'Provides: libxtables7' and to make shlibs create dependencies on that. That said, here's a patch adding appropriate Breaks for squeeze->wheezy upgrades. Luckily not every package with a build-time dependency on iptables-dev uses libxtables. diff --git i/debian/changelog w/debian/changelog index 6e7f55c2..eaf24993 100644 --- i/debian/changelog +++ w/debian/changelog @@ -1,3 +1,11 @@ +iptables (1.4.14-3.1) testing; urgency=low + + * Non-maintainer upload. + * Add Breaks against iproute and xtables-addons-common versions + that relied on libxtables4. Closes: #691180 + + -- Jonathan Nieder <jrnie...@gmail.com> Sat, 26 Jan 2013 08:31:40 -0800 + iptables (1.4.14-3) unstable; urgency=low * Fixes iptables comment output error reported by Christoph Anton diff --git i/debian/control w/debian/control index 1e9d513c..32e26642 100644 --- i/debian/control +++ w/debian/control @@ -9,6 +9,7 @@ Homepage: http://www.netfilter.org/ Package: iptables Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} +Breaks: iproute (<< 20120521-3), xtables-addons-common (<< 1.42-2) Description: administration tools for packet filtering and NAT These are the user-space administration tools for the Linux kernel's netfilter and iptables. netfilter and iptables provide -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org