Comment 43 for bug 1943049

Revision history for this message
Thomas Weise (tweise) wrote :

Hi.

I am not entirely sure if that is related to what is currently going on, but I just tried to replicate my original report https://bugs.launchpad.net/cloud-images/+bug/1943293, which you can also find above as https://bugs.launchpad.net/cloud-images/+bug/1943049/comments/39.
I am now getting a *different* error from before:

sudo docker run --rm -it --entrypoint=/bin/bash "ubuntu:21.10"
root@15c0613638fc:/# apt-get update && apt-get install -y curl
Get:1 http://archive.ubuntu.com/ubuntu impish InRelease [269 kB]
Get:2 http://security.ubuntu.com/ubuntu impish-security InRelease [90.7 kB]
Get:3 http://archive.ubuntu.com/ubuntu impish-updates InRelease [90.7 kB]
Get:4 http://archive.ubuntu.com/ubuntu impish-backports InRelease [90.7 kB]
Get:5 http://archive.ubuntu.com/ubuntu impish/main amd64 Packages [1809 kB]
Get:6 http://archive.ubuntu.com/ubuntu impish/multiverse amd64 Packages [255 kB]
Get:7 http://archive.ubuntu.com/ubuntu impish/universe amd64 Packages [16.7 MB]
Get:8 http://archive.ubuntu.com/ubuntu impish/restricted amd64 Packages [119 kB]
Fetched 19.5 MB in 12s (1682 kB/s)
Reading package lists... Done
E: Problem executing scripts APT::Update::Post-Invoke 'rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true'
E: Sub-process returned an error code

and then:

root@4479609faaa5:/# curl
bash: curl: command not found

Here is some system information:

*Inside* the container:

root@15c0613638fc:/# uname -a
Linux 15c0613638fc 5.11.0-37-generic #41-Ubuntu SMP Mon Sep 20 16:39:20 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
x86_64 GNU/Linux

root@15c0613638fc:/# lsb_release -a
bash: lsb_release: command not found

On my *host* system:

$ uname -a
Linux home 5.11.0-37-generic #41-Ubuntu SMP Mon Sep 20 16:39:20 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 21.04
Release: 21.04
Codename: hirsute

The system is fully updated, i.e. sudo apt-get update && sudo apt-get upgrade does not lead to any change.

In the past, the installation of curl would work, but then "curl https://bing.com" would fail.
Now the installation of curl fails.