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/debian/control Related: https://osmocom.org/projects/cellular-infrastructure/wiki/Binary_Packages Change-Id: I5116df35b5819c22a184057cdf6ed756974d6388
This commit is contained in:
parent
40bd9bd0b0
commit
be3a5105d0
|
@ -1,4 +1,6 @@
|
||||||
Source: libasn1c
|
Source: libasn1c
|
||||||
|
Conflicts: osmo-libasn1c
|
||||||
|
Replaces: osmo-libasn1c
|
||||||
Section: libs
|
Section: libs
|
||||||
Priority: extra
|
Priority: extra
|
||||||
Maintainer: Osmocom team <openbsc@lists.osmocom.org>
|
Maintainer: Osmocom team <openbsc@lists.osmocom.org>
|
||||||
|
@ -11,6 +13,8 @@ Vcs-Browser: http://git.osmocom.org/gitweb?p=libasn1c.git;a=summary
|
||||||
Homepage: https://projects.osmocom.org/projects/libasn1c
|
Homepage: https://projects.osmocom.org/projects/libasn1c
|
||||||
|
|
||||||
Package: libasn1c1
|
Package: libasn1c1
|
||||||
|
Conflicts: osmo-libasn1c1
|
||||||
|
Replaces: osmo-libasn1c1
|
||||||
Section: libs
|
Section: libs
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Multi-Arch: same
|
Multi-Arch: same
|
||||||
|
@ -19,6 +23,8 @@ Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||||
Description: asn1c runtime code as shared library
|
Description: asn1c runtime code as shared library
|
||||||
|
|
||||||
Package: libasn1c-dbg
|
Package: libasn1c-dbg
|
||||||
|
Conflicts: osmo-libasn1c-dbg
|
||||||
|
Replaces: osmo-libasn1c-dbg
|
||||||
Section: debug
|
Section: debug
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Multi-Arch: same
|
Multi-Arch: same
|
||||||
|
@ -26,6 +32,8 @@ Depends: libasn1c1 (= ${binary:Version}), ${misc:Depends}
|
||||||
Description: asn1c runtime code as shared library
|
Description: asn1c runtime code as shared library
|
||||||
|
|
||||||
Package: libasn1c-dev
|
Package: libasn1c-dev
|
||||||
|
Conflicts: osmo-libasn1c-dev
|
||||||
|
Replaces: osmo-libasn1c-dev
|
||||||
Section: libdevel
|
Section: libdevel
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Multi-Arch: same
|
Multi-Arch: same
|
||||||
|
|
Loading…
Reference in New Issue