← Back to team overview

ubuntu-translations-coordinators team mailing list archive

[Bug 1943049] [NEW] 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'

 

You have been subscribed to a public bug:

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.

** Affects: ubuntu-translations
     Importance: Undecided
         Status: Confirmed

** Affects: containerd (Ubuntu)
     Importance: Undecided
         Status: Fix Released

** Affects: crun (Ubuntu)
     Importance: Undecided
         Status: Fix Released

** Affects: docker.io (Ubuntu)
     Importance: Undecided
         Status: Fix Released

** Affects: golang-github-containers-common (Ubuntu)
     Importance: High
     Assignee: Reinhard Tartler (siretart)
         Status: Fix Released

** Affects: golang-github-opencontainers-specs (Ubuntu)
     Importance: Undecided
         Status: Fix Released

** Affects: libpod (Ubuntu)
     Importance: Undecided
         Status: Fix Released

** Affects: containerd (Ubuntu Bionic)
     Importance: Undecided
         Status: Fix Released

** Affects: docker.io (Ubuntu Bionic)
     Importance: Undecided
         Status: Fix Released

** Affects: containerd (Ubuntu Focal)
     Importance: Undecided
         Status: Fix Released

** Affects: docker.io (Ubuntu Focal)
     Importance: Undecided
         Status: Fix Released

** Affects: containerd (Ubuntu Hirsute)
     Importance: Undecided
         Status: Fix Released

** Affects: docker.io (Ubuntu Hirsute)
     Importance: Undecided
         Status: Fix Released

** Affects: containerd (Ubuntu Impish)
     Importance: Undecided
         Status: Fix Released

** Affects: crun (Ubuntu Impish)
     Importance: Undecided
         Status: Won't Fix

** Affects: docker.io (Ubuntu Impish)
     Importance: Undecided
         Status: Fix Released

** Affects: golang-github-containers-common (Ubuntu Impish)
     Importance: High
     Assignee: Reinhard Tartler (siretart)
         Status: Fix Released

** Affects: golang-github-opencontainers-specs (Ubuntu Impish)
     Importance: Undecided
         Status: Fix Released

** Affects: libpod (Ubuntu Impish)
     Importance: Undecided
         Status: Fix Released


** Tags: fr-1704 verification-done verification-done-bionic verification-done-focal verification-done-hirsute
-- 
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'
https://bugs.launchpad.net/bugs/1943049
You received this bug notification because you are a member of Ubuntu Translations Coordinators, which is subscribed to Ubuntu Translations.