[Bug 1943049] Re: Docker ubuntu:impish: Problem executing scripts DPkg::Post-Invoke 'rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true'
Reinhard Tartler
1943049 at bugs.launchpad.net
Wed Sep 22 11:11:01 UTC 2021
Hi, I've been doing the uploads for podman to debian and ubuntu for a
while now.
I'm struggling with reproducing this bug with podman on impish. On a
freshly "multipass launch'ed" impsish vm, I tried:
ubuntu at primary:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu Impish Indri (development branch)
Release: 21.10
Codename: impish
ubuntu at primary:~$ sudo apt update -qq && sudo apt install crun runc podman
80 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
runc is already the newest version (1.0.1-0ubuntu2).
runc set to manually installed.
crun is already the newest version (0.17+dfsg-1).
podman is already the newest version (3.2.1+ds1-2ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 80 not upgraded.
ubuntu at primary:~$ podman run -it --runtime crun ubuntu:impish apt update -qq
27 packages can be upgraded. Run 'apt list --upgradable' to see them.
ubuntu at primary:~$ podman run -it --runtime runc ubuntu:impish apt update -qq
27 packages can be upgraded. Run 'apt list --upgradable' to see them.
ubuntu at primary:~$ sudo podman run -it --runtime runc ubuntu:impish apt update -qq
27 packages can be upgraded. Run 'apt list --upgradable' to see them.
ubuntu at primary:~$ sudo podman run -it --runtime crun ubuntu:impish apt update -qq
27 packages can be upgraded. Run 'apt list --upgradable' to see them.
@paride, can you please assist me with reproducing the issue?
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/1943049
Title:
Docker ubuntu:impish: Problem executing scripts DPkg::Post-Invoke 'rm
-f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb
/var/cache/apt/*.bin || true'
Status in cloud-images:
Confirmed
Status in crun package in Ubuntu:
Confirmed
Status in docker.io package in Ubuntu:
Confirmed
Status in glibc package in Ubuntu:
Confirmed
Status in libpod package in Ubuntu:
Confirmed
Status in runc package in Ubuntu:
Invalid
Status in crun source package in Impish:
Confirmed
Status in docker.io source package in Impish:
Confirmed
Status in glibc source package in Impish:
Confirmed
Status in libpod source package in Impish:
Confirmed
Status in runc source package in Impish:
Invalid
Bug description:
Sometime betweek August 28 and September 4 2021 the ubuntu:impish
images published on dockerhub began erroring when executing the
commands defined in /etc/apt/apt.conf.d/docker-clean.
I have this reproducer, which is probably not as minimal as it can be
but looks reliable:
1. docker run -it --rm ubuntu:impish bash
2. apt update
3. apt install git
4. apt -y remove git
This results in:
E: Problem executing scripts DPkg::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
*Removing* a package is not strictly needed to trigger the failure,
but it seems that *two* apt operations are needed to trigger it, so
this reproducer found by athos-ribeiro also works:
docker run -it --rm ubuntu:impish /bin/bash -c 'apt-get update; apt-
get full-upgrade -y; apt-get install -y jq'
This doesn't happen when using ubuntu:hirsute.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-images/+bug/1943049/+subscriptions
More information about the foundations-bugs
mailing list