Actions
Bug #5318
closedDepends: in osmocom packages
Start date:
11/20/2021
Due date:
% Done:
100%
Spec Reference:
Description
After the recent release, doing something like
apt install osmo-sgsn
on a Debian system (with opensuse repos) will leave osmo-sgsn unexpectedly broken as libgtp6 will not be updated, leaving osmo-sgsn without required symbols.
pabs3 on IRC says:
see the dh_makeshlibs and deb-shlibs manual pages, basically put "libgtp 6 libgtp6 (>= 1.8.0)" in debian/libgtp6.shlibs in osmo-ggsn.git also do the soname check using abipkgdiff/pkg-abidiff shlibs is the older brute-force mechanism, there is also the newer one based on symbols, where things that use a library get a depends on the version of the library that has all the symbols that they use. thats more complicated though and means maintaining a list of exported symbols and the versions they appeared in the symbols stuff has the advantage of more relaxed dependencies for most things using a library
Updated by keith over 2 years ago
- Subject changed from Depends: in osmoco packages to Depends: in osmocom packages
Updated by laforge about 1 year ago
- Assignee changed from 121 to osmith
- Priority changed from Normal to High
Updated by osmith about 1 year ago
- Status changed from New to In Progress
- % Done changed from 0 to 90
I've installed osmo-sgsn from Debian repositories on Debian 11 in docker and reproduced the problem. Additionally I found that osmo-libasn1c from Debian conflicts with libasn1c from our repositories.
Patches:With these, the upgrade works as expected (libgtp6 gets upgraded too, and osmo-libasn1c gets removed in favor of libasn1c):
root@8a2713f00276:/# apt install osmo-sgsn Reading package lists... Done Building dependency tree... Done Reading state information... Done The following packages were automatically installed and are no longer required: libosmo-sigtran5 libosmogb11 libosmonetif8 Use 'apt autoremove' to remove them. The following additional packages will be installed: libasn1c1 libgtp6 libmnl0 libosmo-ranap7 libosmo-sigtran7 libosmocore20 libosmogb14 libosmogsm18 libosmoisdn0 libosmonetif11 libosmovty9 osmocom-nightly The following packages will be REMOVED: libosmo-ranap3 osmo-libasn1c1 The following NEW packages will be installed: libasn1c1 libmnl0 libosmo-ranap7 libosmo-sigtran7 libosmocore20 libosmogb14 libosmogsm18 libosmoisdn0 libosmonetif11 libosmovty9 osmocom-nightly The following packages will be upgraded: libgtp6 osmo-sgsn 2 upgraded, 11 newly installed, 2 to remove and 12 not upgraded. Need to get 1375 kB of archives. After this operation, 2272 kB of additional disk space will be used. Do you want to continue? [Y/n]
Updated by osmith about 1 year ago
- Status changed from In Progress to Resolved
- % Done changed from 90 to 100
Actions