Bug 45082 - Upgrade to UCS-4.2 failes - depends on unmaintained packages
Upgrade to UCS-4.2 failes - depends on unmaintained packages
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: General
UCS 4.2
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on: 41637 41765 44507
Blocks:
  Show dependency treegraph
 
Reported: 2017-07-26 18:06 CEST by Philipp Hahn
Modified: 2019-09-30 08:29 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 6: Setup Problem: Issue for the setup process
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 5: Blocking further progress on the daily work
User Pain: 0.171
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:
hahn: Patch_Available+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2017-07-26 18:06:08 CEST
perl-modules_5.20.2-3+deb8u6A~4.2-0.201702152200
  Recommends:
    libmodule-build-perl
    libterm-ui-perl

If they are installed before the upgrade, the upgrade fails, because the newer modules depend on packages from unmaintained while the alternative (perl >= 5.21 or perl < 5.17) are not satisfied by (perl = 5.20):

libmodule-build-perl
  Depends:
    libcpan-meta-perl (>= 2.142060) | perl (>= 5.21.3)

libterm-ui-perl
  Depends:
    liblog-message-simple-perl | perl (< 5.17)


# SELECT binpkg,binver,format('%s.%s-%s',major,minor,patch) REL,site,maintained FROM binpkg WHERE binpkg IN ('liblog-message-simple-perl','libcpan-meta-perl') AND site<>'apt' ORDER BY binpkg,rel ASC;
           binpkg           |          binver           |  rel  |  site   | maintained 
----------------------------+---------------------------+-------+---------+------------
 libcpan-meta-perl          | 2.101670-1.2.201104241003 | 3.0-0 | ftp     | f
 libcpan-meta-perl          | 2.120921-1.4.201403122037 | 4.0-0 | test    | f
 libcpan-meta-perl          | 2.120921-1.4.201403122037 | 4.0-0 | ftp     | f
 libcpan-meta-perl          | 2.120921-1.4.201403122037 | 4.0-0 | testing | f
 libcpan-meta-perl          | 2.142690-1                | 4.2-0 | ftp     | f
 libcpan-meta-perl          | 2.142690-1                | 4.2-0 | test    | f
 libcpan-meta-perl          | 2.142690-1                | 4.2-0 | testing | f
 liblog-message-simple-perl | 0.10-2                    | 4.2-0 | testing | f
 liblog-message-simple-perl | 0.10-2                    | 4.2-0 | ftp     | f
 liblog-message-simple-perl | 0.10-2                    | 4.2-0 | test    | f


Other issues:

# apt show libunivention-ldb-modules python-ucs-school
>Package: libunivention-ldb-modules
>Source: univention-ldb-modules
>Version: 5.0.9-3A~4.2.0.201703292019
>Depends: libc6 (>= 2.3.4), libldb1 (>= 0.9.21), libtalloc2 (>= 2.0.4~git20101213), libunivention-config0 (>= 5.0.0), libunivention-policy0, python-samba, ldb-tools, univention-samba4 (>= 2.0.44-3), python-ucs-school
>APT-Sources: http://updates.software-univention.de/4.2/maintained/ 4.2-0/amd64/ Packages
...
>Package: python-ucs-school
>State: not a real package (virtual)
>N: Can't select candidate version from package python-ucs-school as it has no candidate
>N: Can't select versions from package 'python-ucs-school' as it is purely virtual
>N: No packages found

this was added through Bug #41765 by ucs-4.2-0@72194


python-univention-directory-manager-legacy-ucd-tcs
  Depends:
    python-univention-directory-manager = "11.0.3-43.1437.201611020126"
while we already are at "12.0.16-3A~4.2.0.201703281005" - this is caused by Bug #41637


postgresql-client-9.4
  Depends:
    libpq" >= "9.4.10" insufficient "9.1.24-0.A~4.2.0.201703301214"
php5-pgsql
  Depends:
    libpq5 >= "9.3~" insufficient "9.1.24-0.A~4.2.0.201703301214"
This was fixed through Bug #44507 by errata-4.2-0+23


1. univention.repong.repo_apt must handle versioned depends - I have a patch
2. we need to re-release UCS-4.2-0 with the additional maintained packages (or copy them) - I can prepare a list of missing packages
Comment 1 Florian Best univentionstaff 2017-07-26 18:14:06 CEST
Should we have added transitional packages?
Comment 2 Philipp Hahn univentionstaff 2017-07-27 15:55:47 CEST
(In reply to Florian Best from comment #1)
> Should we have added transitional packages?

Why do you want to add transitional packages and for what?
(transitional packages are used, when the functionality is *moved*, but TCS was *deleted*, so there is *no* replacement package. This is caused by UCS being additive, so we can't get rid of broken or deprecated packages until the next *major* update in the distant future)


Re-running apt-depends shows the following missing dependencies:
 libcpan-meta-perl
 libhtml-form-perl
 libhttp-daemon-perl
 liblog-message-perl
 liblog-message-simple-perl
 postgresql-client (Bug #44507)


php5-pgsql
  Depends:
    libpq5 >= "9.3~" insufficient "9.1.24-0.A~4.2.0.201703301214"
Comment 3 Philipp Hahn univentionstaff 2017-07-27 17:24:41 CEST
r81515 | Bug #45082 repo: Check version dependencies
r81514 | Bug #45082 repo: Strip :architecture from package name

Package: repo-ng
Version: 2.1-99.1607.201707271719
Branch: ucs_3.2-0
Scope: internal

TBD: Re-release UCS-4.2-{0,1}
Comment 4 Philipp Hahn univentionstaff 2019-09-30 08:29:43 CEST
UCS-4.2 is OoM.