On Sun, May 23, 2010 at 11:23:39PM +0200, Jan Engelhardt wrote: > Package: xtables-addons > Version: 1.26 > > In IRC I received a report from a Debian user who fell victim to the > lack of proper dependencies. The system, if I understood him right, > started out with xtables-addons-1.26 and iptables-1.4.3. > > The libxt_*.so files in xtables-addons are linked against > libxtables.so.4, the latter of which is only provided starting from > iptables 1.4.6. > > In rpm-based systems, xtables-addons(.rpm) would have a (automatically > detected during build) Requires: libxtables.so.4, and since only > iptables 1.4.6 provides this, the package manager du jour would have > either > > 1. suggested to upgrade to iptables 1.4.6 > 2. not install xtables-addons > > However in .deb I don't see anything that would enforce this. > Manually adding "iptables >= 1.4.6" to xtables-addons.dsc does not look > right either - it's easy to forget updating this, etc. >
Hi Jan, I can of course add a build dependency on iptables-dev (>= 1.4.6), which would be a right thing to do. However I think this would not solve the real problem, which is in iptables Debian package imho: it should provide a shlibs file (See [1] for details). This would automatically set the binary package dependency with the minimum version. I'm therefore putting iptables maintainer in CC (maybe I should reassign the bug + retitle to iptables: please provide a shlibs file, I'll do that later if this is the right solution). Thanks, Pierre [1] http://www.debian.org/doc/debian-policy/ch-sharedlibs.html#s-shlibs -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org