Bug#949576: libiptc-dev: Breaks/Replaces missing between libiptc-dev and libip4tc-dev

2020-02-28 Thread Jamie Strandboge
Package: iptables
Version: 1.8.4-3
Followup-For: Bug #949576
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu focal ubuntu-patch

Dear Maintainer,

The Breaks/Replaces added to fix this bug were not quite correct (we saw this
in Ubuntu: https://launchpad.net/bugs/1865055). I've adjusted the
Breaks/Replaces in the attached patch to follow case 9 of
https://wiki.debian.org/PackageTransition and it fixes the issue.

The Ubuntu changelog entry:

  * debian/control: correct Breaks/Replaces for ipt_kernel_headers.h
move from libiptc-dev to libip4tc-dev (LP: #1865055)


Thanks for considering the patch.


-- System Information:
Debian Release: bullseye/sid
  APT prefers focal
  APT policy: (500, 'focal'), (500, 'eoan')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.4.0-14-generic (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff -Nru iptables-1.8.4/debian/control iptables-1.8.4/debian/control
--- iptables-1.8.4/debian/control   2020-02-13 16:23:25.0 -0600
+++ iptables-1.8.4/debian/control   2020-02-28 08:16:32.0 -0600
@@ -1,8 +1,7 @@
 Source: iptables
 Section: net
 Priority: optional
-Maintainer: Ubuntu Developers 
-XSBC-Original-Maintainer: Debian Netfilter Packaging Team 

+Maintainer: Debian Netfilter Packaging Team 

 Uploaders: Arturo Borrero Gonzalez ,
Alberto Molina Coballes ,
Laurence J. Lane 
@@ -100,7 +99,6 @@
 Depends: libip4tc-dev (=${binary:Version}),
  libip6tc-dev (=${binary:Version}),
  ${misc:Depends}
-Replaces: libip4tc-dev (<< 1.8.4-2)
 Breaks: libip4tc-dev (<< 1.8.4-2)
 Section: libdevel
 Description: Common development files for libiptc
@@ -133,8 +131,8 @@
 Pre-Depends: ${misc:Pre-Depends}
 Depends: libip4tc2 (=${binary:Version}),
  ${misc:Depends}
-Replaces: iptables-dev (<< 1.6.0-3)
-Breaks: iptables-dev (<< 1.6.0-3)
+Replaces: iptables-dev (<< 1.6.0-3), libiptc-dev (<< 1.8.4-2)
+Breaks: iptables-dev (<< 1.6.0-3), libiptc-dev (<< 1.8.4-2)
 Section: libdevel
 Description: Development files for libip4tc
  The iptables/xtables framework has been replaced by nftables. You should


Bug#949576: libiptc-dev: Breaks/Replaces missing between libiptc-dev and libip4tc-dev

2020-01-22 Thread Alberto Molina Coballes
On Wed, Jan 22, 2020 at 07:15:19PM +0100, Arturo Borrero Gonzalez wrote:
> On 1/22/20 7:04 PM, Sven-Haegar Koch wrote:
> > On Wed, 22 Jan 2020, Alberto Molina Coballes wrote:
> > 
> >> A new commit which hopefully solves this bug has been uploaded [1], 
> >> but this bug is affecting only 1.8.4-1 and a new release will not be 
> >> uploaded inmediatly, but ASAP.
> > 
> > Thanks for fixing it!
> > 
> > This bug report was more for completeness - a second run of apt-get 
> > makes the packages install, as on retry the conflicting package got 
> > already upgraded, so the failed one is able to succeed. Also because it 
> > only affects unstable and does not break upgrading completely I did not 
> > give it a higher severity.
> >

Yes, because libiptc-dev includes a dependency upon libip4tc-dev

> 
> That's true.
> 
> I'm not sure a breaks+replaces is worth carrying over for a package version 
> that
> was not even present in testing...
> 
> @Alberto, I saw the commit. It is right, but perhaps it will pollute d/control
> for no strong reason. We could revert if you want. Up to you!
> 

Yes, this bug affects systems with libip4tc-dev 1.8.4-1, only unstable
because testing it's still using 1.8.3-2. I don't know what's better, to
revert or to remove Breaks/Replaces in the near future. Up to me? :)

Alberto



Bug#949576: libiptc-dev: Breaks/Replaces missing between libiptc-dev and libip4tc-dev

2020-01-22 Thread Arturo Borrero Gonzalez
On 1/22/20 7:04 PM, Sven-Haegar Koch wrote:
> On Wed, 22 Jan 2020, Alberto Molina Coballes wrote:
> 
>> A new commit which hopefully solves this bug has been uploaded [1], 
>> but this bug is affecting only 1.8.4-1 and a new release will not be 
>> uploaded inmediatly, but ASAP.
> 
> Thanks for fixing it!
> 
> This bug report was more for completeness - a second run of apt-get 
> makes the packages install, as on retry the conflicting package got 
> already upgraded, so the failed one is able to succeed. Also because it 
> only affects unstable and does not break upgrading completely I did not 
> give it a higher severity.
> 

That's true.

I'm not sure a breaks+replaces is worth carrying over for a package version that
was not even present in testing...

@Alberto, I saw the commit. It is right, but perhaps it will pollute d/control
for no strong reason. We could revert if you want. Up to you!

regards.



Bug#949576: libiptc-dev: Breaks/Replaces missing between libiptc-dev and libip4tc-dev

2020-01-22 Thread Sven-Haegar Koch
On Wed, 22 Jan 2020, Alberto Molina Coballes wrote:

> A new commit which hopefully solves this bug has been uploaded [1], 
> but this bug is affecting only 1.8.4-1 and a new release will not be 
> uploaded inmediatly, but ASAP.

Thanks for fixing it!

This bug report was more for completeness - a second run of apt-get 
makes the packages install, as on retry the conflicting package got 
already upgraded, so the failed one is able to succeed. Also because it 
only affects unstable and does not break upgrading completely I did not 
give it a higher severity.

c'ya
haegar

-- 
Three may keep a secret, if two of them are dead.
- Ben F.



Bug#949576: libiptc-dev: Breaks/Replaces missing between libiptc-dev and libip4tc-dev

2020-01-22 Thread Alberto Molina Coballes
Hi Haegar,

A new commit which hopefully solves this bug has been uploaded [1], but this 
bug is affecting only 1.8.4-1 and a new release will not be uploaded 
inmediatly, but ASAP.

Thanks for reporting!

Alberto

[1] 
https://salsa.debian.org/pkg-netfilter-team/pkg-iptables/commit/d87a98ace73452f4c9f785f01ab7fe7156309e85



Bug#949576: libiptc-dev: Breaks/Replaces missing between libiptc-dev and libip4tc-dev

2020-01-22 Thread Sven-Haegar Koch
Package: libiptc-dev
Version: 1.8.4-2
Severity: normal

Dear Maintainer,

Seems there are some Breaks/Replaces missing for upgrading:

Preparing to unpack .../08-libiptc-dev_1.8.4-2_amd64.deb ...
Unpacking libiptc-dev:amd64 (1.8.4-2) over (1.8.4-1) ...
dpkg: error processing archive 
/tmp/apt-dpkg-install-QGhqK4/08-libiptc-dev_1.8.4-2_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/x86_64-linux-gnu/pkgconfig/libiptc.pc', which is 
also in package libip4tc-dev:amd64 1.8.4-1
Preparing to unpack .../09-libip4tc-dev_1.8.4-2_amd64.deb ...
Unpacking libip4tc-dev:amd64 (1.8.4-2) over (1.8.4-1) ...


Greetings,
Haegar

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'oldstable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.3.0-2-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=en_US 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libiptc-dev depends on:
ii  libip4tc-dev  1.8.4-2
ii  libip6tc-dev  1.8.4-2

libiptc-dev recommends no packages.

libiptc-dev suggests no packages.

-- debconf-show failed