I am currently on the way back from a fly-out. I will play around with it at the office this afternoon. My approach would be to run a different version of Ubuntu inside the Docker container, not downgrade host system packages. Christian Düben Doctoral Candidate Chair of Macroeconomics Hamburg University Germany christian.dueben@uni-hamburg.de https://www.christian-dueben.com -----Original Message----- From: Thomas Krichel <krichel@openlib.org> Sent: Wednesday, 31 January 2024 09:24 To: Düben, Christian <christian.dueben@uni-hamburg.de> Cc: CollEc Run <collec-run@lists.openlib.org> Subject: Re: [CollEc] CollEc app not starting The CollEc trouble keeps me up at night! Apparently, it is possible to downgrade packages. root@helos ~ # aptitude search docker | grep ^i i docker-ce - Docker: the open-source application container engine i docker-ce-cli - Docker CLI: the open-source application container engine i A docker-ce-rootless-extras - Rootless support for Docker. i docker-compose-plugin - Docker Compose (V2) plugin for the Docker CLI. root@helos ~ # apt-cache policy docker-ce | head -10 docker-ce: Installed: 5:25.0.1-1~ubuntu.22.04~jammy Candidate: 5:25.0.1-1~ubuntu.22.04~jammy Version table: *** 5:25.0.1-1~ubuntu.22.04~jammy 500 500 https://download.docker.com/linux/ubuntu jammy/stable amd64 Packages 100 /var/lib/dpkg/status 5:25.0.0-1~ubuntu.22.04~jammy 500 500 https://download.docker.com/linux/ubuntu jammy/stable amd64 Packages 5:24.0.8-1~ubuntu.22.04~jammy 500 root@helos ~ # apt install docker-ce=5:24.0.8-1~ubuntu.22.04~jammy Reading package lists... Done Building dependency tree... Done Reading state information... Done Suggested packages: aufs-tools cgroupfs-mount | cgroup-lite The following packages will be DOWNGRADED: docker-ce 0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 1 not upgraded. Need to get 22.6 MB of archives. After this operation, 7,476 kB disk space will be freed. Do you want to continue? [Y/n] Get:1 https://download.docker.com/linux/ubuntu jammy/stable amd64 docker-ce amd64 5:24.0.8-1~ubuntu.22.04~jammy [22.6 MB] Fetched 22.6 MB in 1s (31.8 MB/s) dpkg: warning: downgrading docker-ce from 5:25.0.1-1~ubuntu.22.04~jammy to 5:24.0.8-1~ubuntu.22.04~jammy (Reading database ... 149432 files and directories currently installed.) Preparing to unpack .../docker-ce_5%3a24.0.8-1~ubuntu.22.04~jammy_amd64.deb ... Unpacking docker-ce (5:24.0.8-1~ubuntu.22.04~jammy) over (5:25.0.1-1~ubuntu.22.04~jammy) ... Setting up docker-ce (5:24.0.8-1~ubuntu.22.04~jammy) ... Installing new version of config file /etc/init.d/docker ... root@helos ~ # apt-cache policy docker-ce-cli | head -10 docker-ce-cli: Installed: 5:25.0.1-1~ubuntu.22.04~jammy Candidate: 5:25.0.1-1~ubuntu.22.04~jammy Version table: *** 5:25.0.1-1~ubuntu.22.04~jammy 500 500 https://download.docker.com/linux/ubuntu jammy/stable amd64 Packages 100 /var/lib/dpkg/status 5:25.0.0-1~ubuntu.22.04~jammy 500 500 https://download.docker.com/linux/ubuntu jammy/stable amd64 Packages 5:24.0.8-1~ubuntu.22.04~jammy 500 root@helos ~ # apt install docker-ce-cli=5:24.0.8-1~ubuntu.22.04~jammy Reading package lists... Done Building dependency tree... Done Reading state information... Done Recommended packages: docker-buildx-plugin The following packages will be DOWNGRADED: docker-ce-cli 0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 2 not upgraded. Need to get 13.3 MB of archives. After this operation, 814 kB disk space will be freed. Do you want to continue? [Y/n] Get:1 https://download.docker.com/linux/ubuntu jammy/stable amd64 docker-ce-cli amd64 5:24.0.8-1~ubuntu.22.04~jammy [13.3 MB] Fetched 13.3 MB in 0s (37.4 MB/s) dpkg: warning: downgrading docker-ce-cli from 5:25.0.1-1~ubuntu.22.04~jammy to 5:24.0.8-1~ubuntu.22.04~jammy (Reading database ... 149432 files and directories currently installed.) Preparing to unpack .../docker-ce-cli_5%3a24.0.8-1~ubuntu.22.04~jammy_amd64.deb ... Unpacking docker-ce-cli (5:24.0.8-1~ubuntu.22.04~jammy) over (5:25.0.1-1~ubuntu.22.04~jammy) ... Setting up docker-ce-cli (5:24.0.8-1~ubuntu.22.04~jammy) ... Processing triggers for man-db (2.10.2-1) ... root@helos ~ # apt install docker-ce-rootless-extras=5:24.0.8-1~ubuntu.22.04~jammy Reading package lists... Done Building dependency tree... Done Reading state information... Done The following packages will be DOWNGRADED: docker-ce-rootless-extras 0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 3 not upgraded. Need to get 9,030 kB of archives. After this operation, 423 kB disk space will be freed. Do you want to continue? [Y/n] Get:1 https://download.docker.com/linux/ubuntu jammy/stable amd64 docker-ce-rootless-extras amd64 5:24.0.8-1~ubuntu.22.04~jammy [9,030 kB] Fetched 9,030 kB in 0s (25.5 MB/s) dpkg: warning: downgrading docker-ce-rootless-extras from 5:25.0.1-1~ubuntu.22.04~jammy to 5:24.0.8-1~ubuntu.22.04~jammy (Reading database ... 149432 files and directories currently installed.) Preparing to unpack .../docker-ce-rootless-extras_5%3a24.0.8-1~ubuntu.22.04~jammy_amd64.deb ... Unpacking docker-ce-rootless-extras (5:24.0.8-1~ubuntu.22.04~jammy) over (5:25.0.1-1~ubuntu.22.04~jammy) ... Setting up docker-ce-rootless-extras (5:24.0.8-1~ubuntu.22.04~jammy) ... For the compose-plugin, this does not seem to work root@helos ~ # apt install docker-compose-plugin=5:24.0.8-1~ubuntu.22.04~jammy Reading package lists... Done Building dependency tree... Done Reading state information... Done Package docker-compose-plugin is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source But maybe this is not required. Over to you Christian. -- Written by Thomas Krichel http://openlib.org/home/krichel on his 21425th day.