Public bug reported:

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

** Affects: livecd-rootfs (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apt docker jammy

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1977560

Title:
  apt docker-clean returns status 100

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1977560/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to