osmith has submitted this change. ( https://gerrit.osmocom.org/c/libasn1c/+/31255 )
Change subject: debian/control: replace, conflict: osmo-libasn1c ......................................................................
debian/control: replace, conflict: osmo-libasn1c
In debian, this Osmocom fork of libasn1c is packaged as osmo-libasn1c. Add related Replaces: and Conflicts: to debian/control, so there is no error when installing osmo-libasn1c from Debian first, then configuring the Osmocom package repositories and trying to install libasn1c from there.
Fix for: Preparing to unpack .../08-libasn1c1_0.9.34.1.71cb.202302010006_amd64.deb ... Unpacking libasn1c1:amd64 (0.9.34.1.71cb.202302010006) ... dpkg: error processing archive /tmp/apt-dpkg-install-8zK3sm/08-libasn1c1_0.9.34.1.71cb.202302010006_amd64.deb (--unpack): trying to overwrite '/usr/lib/x86_64-linux-gnu/libasn1c.so.1.0.1', which is also in package osmo-libasn1c1:amd64 0.9.32-1+b1 dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Related: OS#5318 Related: https://salsa.debian.org/debian-mobcom-team/osmo-libasn1c/-/blob/master/debi... Related: https://osmocom.org/projects/cellular-infrastructure/wiki/Binary_Packages Change-Id: I5116df35b5819c22a184057cdf6ed756974d6388 --- M debian/control 1 file changed, 8 insertions(+), 0 deletions(-)
Approvals: Jenkins Builder: Verified laforge: Looks good to me, but someone else must approve pespin: Looks good to me, approved
diff --git a/debian/control b/debian/control index 3b392be..8b71f81 100644 --- a/debian/control +++ b/debian/control @@ -1,4 +1,6 @@ Source: libasn1c +Conflicts: osmo-libasn1c +Replaces: osmo-libasn1c Section: libs Priority: extra Maintainer: Osmocom team openbsc@lists.osmocom.org @@ -11,6 +13,8 @@ Homepage: https://projects.osmocom.org/projects/libasn1c
Package: libasn1c1 +Conflicts: osmo-libasn1c1 +Replaces: osmo-libasn1c1 Section: libs Architecture: any Multi-Arch: same @@ -19,6 +23,8 @@ Description: asn1c runtime code as shared library
Package: libasn1c-dbg +Conflicts: osmo-libasn1c-dbg +Replaces: osmo-libasn1c-dbg Section: debug Architecture: any Multi-Arch: same @@ -26,6 +32,8 @@ Description: asn1c runtime code as shared library
Package: libasn1c-dev +Conflicts: osmo-libasn1c-dev +Replaces: osmo-libasn1c-dev Section: libdevel Architecture: any Multi-Arch: same