Univention Bugzilla – Bug 52838
docker-compose 1.24 gets downgraded to 1.21 during update to UCS 5.0 beta
Last modified: 2023-08-19 14:04:00 CEST
The solution for Bug #51690 downgrades docker-compose from 1.24 to 1.21 http://xen1.knut.univention.de:8000/packages/source/docker-compose/ We should either rebuild the package or use the occasion to pick 1.25 form bullseye which has a good chance to become maintainted by Debian.
Following https://forge.univention.org/bugzilla/show_bug.cgi?id=50166#c2 containerd - Ok, version(5.0-0) == version(errata4.4-1) runc - Ok, version(5.0-0) == version(errata4.4-1) docker-pycreds - Ok, 0.3.0-1 vs 0.3.0-1~bpo9+1 docker - Ok, 1.5-2 vs 1.5-1 golang-1.10 -> superseeded by golang-1.11 version 1.11.6-1+deb10u3 golang-defaults - 2:1.11~1 vs 2:1.10~4ubuntu1 python-docker - 3.4.1-4 vs 3.4.1-3~bpo9+1 texttable - 1.6.0-1 vs 1.5.0-1~bpo9+1 Steps done: 1. docker-compose: Cherry picked package docker-compose[129713] version 1.24.1-1 from 4.4-0-0[82]/errata4.4-1[568] to 5.0[83]/[0] Package: docker-compose Version: 1.24.1-1A~5.0.0.202102241340 Branch: ucs_5.0-0 2. runc: Currently in 5.0-0: 1.0.0~rc7+git20190403.029124da-0ubuntu1~16.04.4 Buster: 1.0.0~rc6+dfsg1-3 Bullseye: 1.0.0~rc93+ds1-2 Ubuntu Focal: 1.0.0~rc10-0ubuntu1 ( https://packages.ubuntu.com/focal/runc ) We cannot switch to the Buster version because the version is lower. The version from bullseye has a bunch of depedencies on golang-github-* stuff. Package: runc Version: 1.0.0~rc10-0ubuntu1A~5.0.0.202102241407 Branch: ucs_5.0-0 3. containerd: Currently in 5.0-0: 1.2.6-0ubuntu1~16.04.3 Bullseye: 1.4.3~ds1-2 Ubuntu Focal: 1.3.3-0ubuntu2 ( https://packages.ubuntu.com/focal/containerd ) Depends: golang-race-detector-runtime from source package golang-defaults, dependency removed via patch, because the golang-defaults/golang-1.11 from Debian Buster doesn't provide that particular binary package name. Package: containerd Version: 1.3.3-0ubuntu2A~5.0.0.202102242054 Branch: ucs_5.0-0 Note: I first experimented with golang-defaults from Ubuntu Focal to fulfill that dependency above, but that would in turn require golang-1.13 and that seemed to go to far for my taste. So I removed golang-defaults=2:1.13~1 again and imported the Debian Buster version again: Package: golang-defaults Version: 2:1.11~1A~5.0.0.202102242053 Branch: ucs_5.0-0 That's not ideal, because I recompiled the package. I'll ask Philipp again how to avoid this, but I guess it's also ok this way. Setting to fixed for now.
I imported docker.io + docker-compose and dependencies from Focal too: https://hutten.knut.univention.de/mediawiki/index.php/Security_Updates#Spezielle_Pakete Package: golang-1.13 Version: 1.13.8-1ubuntu1A~5.0.0.202103251215 Package: golang-defaults Version: 2:1.13~1ubuntu2A~5.0.0.202103251225 Package: docker.io Version: 19.03.8-0ubuntu1.20.04.1A~5.0.0.202103251227 Package: python-docker Version: 4.1.0-1A~5.0.0.202103251234 Package: docker-compose Version: 1.25.0-1A~5.0.0.202103251237
Update works fine (needs a reboot, but that is expected anyway) I checked docker's changelog and did not spot anything breaking Running 4.4-Apps work in 5.0 New App in 5.0 work
UCS 5.0 has been released: https://docs.software-univention.de/release-notes-5.0-0-en.html https://docs.software-univention.de/release-notes-5.0-0-de.html If this error occurs again, please use "Clone This Bug".