Bug#1034931: libfl-dev: missing Breaks+Replaces for flex-old when upgrading from bullseye
Hi Andreas, On Thu, May 18, 2023 at 07:51:39AM +0200, Andreas Metzler wrote: > we currently have: > > Package: libfl-dev > Replaces: flex (<< 2.5.39), flex-old (<= 2.5.4a-10) > Breaks: flex (<< 2.5.39), flex-old (<= 2.5.4a-10) > > However afaict there are no plans for splitting flex-old into flex-old > and libfl-old-dev so this file conflict is permanent, i.e. libfl-dev should > use unversioned Conflicts instead of versioned Breaks. > > On sidenote I think flex should Conflict with flex-old like flex-old > does. While these bugs have been filed as "missing Breaks+Replaces", this isn't the first instance where Conflicts is more reasonable than Breaks+Replaces. Thanks for looking beneath. I agree on this. Helmut
Bug#1034931: libfl-dev: missing Breaks+Replaces for flex-old when upgrading from bullseye
On 2023-04-27 Helmut Grohne wrote: > Package: libfl-dev > Version: 2.6.4-8.1 > Severity: serious > Justification: dpkg unpack error > Attempting to unpack libfl-dev/2.6.4-8.1 from Debian bookworm > on a minimal Debian bullseye with flex-old/2.5.4a-10.1 > installed, causes an unpack error from dpkg due to > /usr/include/FlexLexer.h being contained in both packages. [...] > Please ensure that libfl-dev has sufficient Breaks and Replaces declarations. Hello, we currently have: Package: libfl-dev Replaces: flex (<< 2.5.39), flex-old (<= 2.5.4a-10) Breaks: flex (<< 2.5.39), flex-old (<= 2.5.4a-10) However afaict there are no plans for splitting flex-old into flex-old and libfl-old-dev so this file conflict is permanent, i.e. libfl-dev should use unversioned Conflicts instead of versioned Breaks. On sidenote I think flex should Conflict with flex-old like flex-old does. cu Andreas -- `What a good friend you are to him, Dr. Maturin. His other friends are so grateful to you.' `I sew his ears on from time to time, sure'
Bug#1034931: libfl-dev: missing Breaks+Replaces for flex-old when upgrading from bullseye
Package: libfl-dev Version: 2.6.4-8.1 Severity: serious Justification: dpkg unpack error Attempting to unpack libfl-dev/2.6.4-8.1 from Debian bookworm on a minimal Debian bullseye with flex-old/2.5.4a-10.1 installed, causes an unpack error from dpkg due to /usr/include/FlexLexer.h being contained in both packages. | Selecting previously unselected package libfl-dev:amd64. | (Reading database ... 4697 files and directories currently installed.) | Preparing to unpack .../libfl-dev_2.6.4-8.1_amd64.deb ... | Unpacking libfl-dev:amd64 (2.6.4-8.1) ... | dpkg: error processing archive ./libfl-dev_2.6.4-8.1_amd64.deb (--unpack): | trying to overwrite '/usr/include/FlexLexer.h', which is also in package flex-old 2.5.4a-10.1 | dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) | Errors were encountered while processing: | ./libfl-dev_2.6.4-8.1_amd64.deb Please ensure that libfl-dev has sufficient Breaks and Replaces declarations. Helmut