apt docker-clean returns status 100

Bug #1977560 reported by Thomas131
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
livecd-rootfs (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hi!
Doing a single apt(-get) update in a fresh ubuntu:jammy container breaks on APT::Update::Post-Invoke. Deleting /etc/apt/apt.conf.d/docker-clean is a working workaround.

Error/Steps to reproduce:
```
[...]# sudo docker run -it --rm ubuntu:jammy sh -c "DEBIAN_FRONTEND=noninteractive apt update"
Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Get:2 http://archive.ubuntu.com/ubuntu jammy InRelease [270 kB]
Get:3 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [160 kB]
Get:4 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [109 kB]
Get:5 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [99.8 kB]
Get:6 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [71.8 kB]
Get:7 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [156 kB]
Get:8 http://archive.ubuntu.com/ubuntu jammy/restricted amd64 Packages [164 kB]
Get:9 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [4653 B]
Get:10 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages [1792 kB]
Get:11 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages [17.5 MB]
Get:12 http://archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages [266 kB]
Get:13 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [178 kB]
Get:14 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [298 kB]
Get:15 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [4653 B]
Get:16 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [126 kB]
Get:17 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [2009 B]
Fetched 21.3 MB in 15s (1382 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
[...]#
```

Version:
```
sudo docker images ubuntu:jammy
REPOSITORY TAG IMAGE ID CREATED SIZE
ubuntu jammy d2e4e1f51132 4 weeks ago 77.8MB
```

Best regards!
Thomas131

Tags: jammy apt docker
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

What version of docker are you running on the host? This sounds like the ye olde clone3 issue, which I thought had been fixed in most places by now (it's an issue in the host docker).

Revision history for this message
Tomáš Virtus (virtustom) wrote :

As Michael said, this sounds like duplicate of https://bugs.launchpad.net/cloud-images/+bug/1943049

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.