[Debian-on-mobile-maintainers] Bug#1034996: libomemo0: missing Breaks+Replaces for libomemo-dev when upgrading from bullseye

Pirate Praveen praveen at onenetbeyond.org
Thu May 4 16:40:08 BST 2023


On Thu, 27 Apr 2023 14:59:11 +0200 Helmut Grohne <helmut at subdivi.de> 
wrote:
 > Package: libomemo0
 > Version: 0.8.1-1
 > Severity: serious
 > Justification: dpkg unpack error
 >
 > Attempting to unpack libomemo0/0.8.1-1 from Debian bookworm
 > on a minimal Debian bullseye with libomemo-dev/0.7.0-1
 > installed, causes an unpack error from dpkg due to
 > /usr/lib/x86_64-linux-gnu/libomemo.so being contained in both 
packages.
 >
 > | (Reading database ... 12426 files and directories currently 
installed.)
 > | Preparing to unpack ./libomemo0_0.8.1-1_amd64.deb ...
 > | Unpacking libomemo0:amd64 (0.8.1-1) over (0.7.0-1) ...
 > | dpkg: error processing archive ./libomemo0_0.8.1-1_amd64.deb 
(--unpack):
 > |  trying to overwrite '/usr/lib/x86_64-linux-gnu/libomemo.so', 
which is also in package libomemo-dev:amd64 0.7.0-1
 > | Processing triggers for libc-bin (2.31-13+deb11u5) ...
 > | Errors were encountered while processing:
 > |  ./libomemo0_0.8.1-1_amd64.deb
 >
 >
 > Please ensure that libomemo0 has sufficient Breaks and Replaces 
declarations.
 >
 > Helmut
 >
 >

I could add the Breaks and Replaces, but looks like moving .so link out 
of -dev package is wrong as per lintian warning.

W: libomemo0: lacks-unversioned-link-to-shared-library example: 
usr/lib/x86_64-linux-gnu/libomemo.so 
[usr/lib/x86_64-linux-gnu/libomemo.so.0.8.1]
W: libomemo0: link-to-shared-library-in-wrong-package 
usr/lib/x86_64-linux-gnu/libomemo.so.0.8.1 
[usr/lib/x86_64-linux-gnu/libomemo.so]

This was moved to libomemo-dev in commit 
6ebca2f07eed072226503432b6149e671341f2c4 Should we move back 
libomemo.so to libomemo-dev ?



More information about the Debian-on-mobile-maintainers mailing list