[Android-tools-devel] Bug#1034982: android-libnativehelper: missing Breaks+Replaces for android-libnativehelper-dev when upgrading from bullseye

Helmut Grohne helmut at subdivi.de
Thu Apr 27 14:00:07 BST 2023


Package: android-libnativehelper
Version: 29.0.6-26
Severity: serious
Justification: dpkg unpack error

Attempting to unpack android-libnativehelper/29.0.6-26 from Debian bookworm
on a minimal Debian bullseye with android-libnativehelper-dev/10.0.0+r36-2
installed, causes an unpack error from dpkg due to
/usr/lib/x86_64-linux-gnu/android/libnativehelper.so being contained in both packages.

| (Reading database ... 4717 files and directories currently installed.)
| Preparing to unpack .../android-libnativehelper_29.0.6-26_amd64.deb ...
| Unpacking android-libnativehelper:amd64 (29.0.6-26) over (10.0.0+r36-2) ...
| dpkg: error processing archive ./android-libnativehelper_29.0.6-26_amd64.deb (--unpack):
|  trying to overwrite '/usr/lib/x86_64-linux-gnu/android/libnativehelper.so', which is also in package android-libnativehelper-dev 10.0.0+r36-2
| Processing triggers for libc-bin (2.31-13+deb11u5) ...
| Errors were encountered while processing:
|  ./android-libnativehelper_29.0.6-26_amd64.deb


Please ensure that android-libnativehelper has sufficient Breaks and Replaces declarations.

Helmut



More information about the Android-tools-devel mailing list