Bug#1040323: android-libnativehelper: undeclared file conflict with android-libnativehelper-dev from bullseye

2023-07-09 Thread Roger Shimizu
control: tag -1 +pending

uploaded fix to bullseye-backport
pending for NEW queue check


Bug#1040323: android-libnativehelper: undeclared file conflict with android-libnativehelper-dev from bullseye

2023-07-04 Thread Helmut Grohne
Package: android-libnativehelper
Version: 29.0.6-26~bpo11+2
Severity: serious
Control: fixed -1 29.0.6-28

android-libnativehelper from bullseye-backports fails to install in
bullseye:

| # apt-get install android-libnativehelper -t bullseye-backports
| Reading package lists... Done
| Building dependency tree... Done
| Reading state information... Done
| The following additional packages will be installed:
|   android-liblog android-libnativehelper-dev
| The following packages will be upgraded:
|   android-liblog android-libnativehelper android-libnativehelper-dev
| 3 upgraded, 0 newly installed, 0 to remove and 17 not upgraded.
| Need to get 110 kB of archives.
| After this operation, 111 kB of additional disk space will be used.
| Do you want to continue? [Y/n]
| Get:1 http://deb.debian.org/debian bullseye-backports/main amd64 
android-liblog amd64 1:29.0.6-26~bpo11+2 [40.1 kB]
| Get:2 http://deb.debian.org/debian bullseye-backports/main amd64 
android-libnativehelper amd64 29.0.6-26~bpo11+2 [26.1 kB]
| Get:3 http://deb.debian.org/debian bullseye-backports/main amd64 
android-libnativehelper-dev amd64 29.0.6-26~bpo11+2 [44.3 kB]
| Fetched 110 kB in 0s (1415 kB/s)
| (Reading database ... 9264 files and directories currently installed.)
| Preparing to unpack .../android-liblog_1%3a29.0.6-26~bpo11+2_amd64.deb ...
| Unpacking android-liblog:amd64 (1:29.0.6-26~bpo11+2) over (1:10.0.0+r36-7) ...
| Preparing to unpack .../android-libnativehelper_29.0.6-26~bpo11+2_amd64.deb 
...
| Unpacking android-libnativehelper:amd64 (29.0.6-26~bpo11+2) over 
(10.0.0+r36-2) ...
| dpkg: error processing archive 
/var/cache/apt/archives/android-libnativehelper_29.0.6-26~bpo11+2_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
| dpkg: considering deconfiguration of android-libnativehelper, which would be 
broken by installation of android-libnativehelper-dev:amd64 ...
| dpkg: yes, will deconfigure android-libnativehelper (broken by 
android-libnativehelper-dev:amd64)
| Preparing to unpack 
.../android-libnativehelper-dev_29.0.6-26~bpo11+2_amd64.deb ...
| De-configuring android-libnativehelper (10.0.0+r36-2) ...
| Unpacking android-libnativehelper-dev:amd64 (29.0.6-26~bpo11+2) over 
(10.0.0+r36-2) ...
| Errors were encountered while processing:
|  /var/cache/apt/archives/android-libnativehelper_29.0.6-26~bpo11+2_amd64.deb
| E: Sub-process /usr/bin/dpkg returned an error code (1)
| #

This is fixed in bookworm. I suggest removing the broken package from
backports or updating it with the fixed version from bookworm.

Helmut