Bug#1028316: libfplll8-data: missing Breaks+Replaces: libfplll7-data (>= 5.4.3)

2023-01-11 Thread Nicolas Patrois
Package: libfplll8-data
Version: 5.4.4-2
Followup-For: Bug #1028316

Dear Maintainer,

This bug prevents apt to upgrade packages, remove packages, autoremove obsolete
packages…
apt is completely broken (aptitude too) until libfplll8-data is fixed.
I reported a bug against apt to prevent such a behaviour.

Yours,
n.


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 5.16.0-6-686-pae (SMP w/3 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_FR:fr:en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled


Bug#1028316: libfplll8-data: missing Breaks+Replaces: libfplll7-data (>= 5.4.3)

2023-01-09 Thread Andreas Beckmann
Package: libfplll8-data
Version: 5.4.4-1
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'sid' to 'experimental'.
It installed fine in 'sid', then the upgrade to 'experimental' fails
because it tries to overwrite other packages files without declaring a
Breaks+Replaces relation.
This error may also be triggered by having a predecessor package from
'sid' installed while installing the package from 'experimental'.

See policy 7.6 at
https://www.debian.org/doc/debian-policy/ch-relationships.html#overwriting-files-and-replacing-packages-replaces

>From the attached log (scroll to the bottom...):

  Preparing to unpack .../libfplll8-data_5.4.4-1_all.deb ...
  Unpacking libfplll8-data (5.4.4-1) ...
  dpkg: error processing archive 
/var/cache/apt/archives/libfplll8-data_5.4.4-1_all.deb (--unpack):
   trying to overwrite '/usr/share/libfplll8/strategies/default.json', which is 
also in package libfplll7-data 5.4.3-2
  Errors were encountered while processing:
   /var/cache/apt/archives/libfplll8-data_5.4.4-1_all.deb

The (>= 5.4.3) is unusual but correct in this case since libfplll7-data
5.4.3-1 moved a file to a libfplll8 path without renaming the package.
Thus libfplll8-data should be co-installable with older (non-buggy)
versions of libfplll7-data.

cheers,

Andreas


libfplll7-data=5.4.3-2_libfplll8-data=5.4.4-1.log.gz
Description: application/gzip