[Android-tools-devel] Bug#1034982: android-libnativehelper: missing Breaks+Replaces for android-libnativehelper-dev when upgrading from bullseye
Andreas Beckmann
anbe at debian.org
Tue May 9 21:25:08 BST 2023
Followup-For: Bug #1034982
Control: found -1 29.0.6-27
Hi,
this bug was not fixed correctly, yet.
The .so link actually moved from android-libnativehelper-dev to
android-libnativehelper (that's the unusual direction, since usually the
.so belongs to the -dev package). (Commit 306d8baf that wanted to fix
this issue describes it the other way around.)
debdiff excepts:
$ debdiff android-libnativehelper_10.0.0+r36-2_amd64.deb android-libnativehelper_29.0.6-27_amd64.deb
Files in second .deb but not in first
-------------------------------------
-rw-r--r-- root/root /usr/share/lintian/overrides/android-libnativehelper
lrwxrwxrwx root/root /usr/lib/x86_64-linux-gnu/android/libnativehelper.so -> libnativehelper.so.0
$ debdiff android-libnativehelper-dev_10.0.0+r36-2_amd64.deb android-libnativehelper-dev_29.0.6-27_amd64.deb
Files in second .deb but not in first
-------------------------------------
-rw-r--r-- root/root /usr/include/android/nativehelper/libnativehelper_api.h
-rw-r--r-- root/root /usr/share/doc/android-libnativehelper-dev/README
Files in first .deb but not in second
-------------------------------------
-rw-r--r-- root/root /usr/include/android/nativehelper/module_api.h
-rw-r--r-- root/root /usr/share/doc/android-libnativehelper/README
lrwxrwxrwx root/root /usr/lib/x86_64-linux-gnu/android/libnativehelper.so -> libnativehelper.so.0
So you actually need
Package: android-libnativehelper
Breaks: android-libnativehelper-dev (<< 29)
Replaces: android-libnativehelper-dev (<< 29) <== this is currently missing
and in the -dev package you could revert to
Package: android-libnativehelper-dev
Breaks: android-libnativehelper (<< 10.0.0+r36-1~)
Replaces: android-libnativehelper (<< 10.0.0+r36-1~)
since no files were moved in the other direction.
(That would make apt's job a bit simpler.)
Andreas
More information about the Android-tools-devel
mailing list