Comment 3 for bug 1943049

Revision history for this message
Thomas Bechtold (toabctl) wrote :

I entered the container and did a bit of debugging:

1) enable debugging output via "Debug::RunScripts "true";"
2) adjusted the docker-clean file:
# cat /etc/apt/apt.conf.d/docker-clean
APT::Update::Post-Invoke { "/usr/bin/true"; };
Dir::Cache::pkgcache ""; Dir::Cache::srcpkgcache "";

Running now the commands leads to:
# apt-get update; apt-get full-upgrade -y; apt-get install -y jq
Hit:1 http://archive.ubuntu.com/ubuntu impish InRelease
Hit:2 http://archive.ubuntu.com/ubuntu impish-updates InRelease
Hit:3 http://archive.ubuntu.com/ubuntu impish-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu impish-security InRelease
Running external script: '/usr/bin/true'
Reading package lists... Done
E: Problem executing scripts APT::Update::Post-Invoke '/usr/bin/true'
E: Sub-process returned an error code
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
jq is already the newest version (1.6-2.1ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@9765dc3980e8:/# echo $?
0