Bug#1034996: [Debian-on-mobile-maintainers] Bug#1034996: libomemo0: missing Breaks+Replaces for libomemo-dev when upgrading from bullseye
Hi, Le 04/05/2023 à 17:40, Pirate Praveen via Debian-on-mobile-maintainers a écrit : 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 ? Indeed, my opinion is that we should partly revert those changes so libomemo.so is still part of the -dev package. I'll get to it and upload a new version during the weekend (unless Evangelos beats me to it). Cheers, Arnaud
Bug#1034996: libomemo0: missing Breaks+Replaces for libomemo-dev when upgrading from bullseye
On Thu, 27 Apr 2023 14:59:11 +0200 Helmut Grohne 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 ?
Bug#1034996: libomemo0: missing Breaks+Replaces for libomemo-dev when upgrading from bullseye
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