Public bug reported:

I launched a docker container with ubuntu:22.04 image

`docker run -it ubuntu:22.04`

Then I run `apt update`

Expected:
command succeed

What happened:
root@cfe94b446a42:/# 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/universe amd64 Packages 
[780 kB]
Get:4 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 
Packages [576 kB]
Get:5 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [654 
kB]
Get:6 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 
Packages [4732 B]
Get:7 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [114 kB]
Get:8 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [99.8 kB]
Get:9 http://archive.ubuntu.com/ubuntu jammy/restricted amd64 Packages [164 kB]
Get:10 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages [17.5 MB]
Get:11 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages [1792 kB]
Get:12 http://archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages [266 kB]
Get:13 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [954 
kB]
Get:14 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages 
[962 kB]
Get:15 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages 
[623 kB]
Get:16 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages 
[8179 B]
Get:17 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages 
[7273 B]
Get:18 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages 
[3520 B]
Fetched 24.9 MB in 5s (5118 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

More context:
root@3ae33b544476:/# apt --version
apt 2.4.8 (amd64)

** Affects: apt (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1998736

Title:
  Apt update is broken in ubuntu:22.04 docker image

Status in apt package in Ubuntu:
  New

Bug description:
  I launched a docker container with ubuntu:22.04 image

  `docker run -it ubuntu:22.04`

  Then I run `apt update`

  Expected:
  command succeed

  What happened:
  root@cfe94b446a42:/# 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/universe amd64 
Packages [780 kB]
  Get:4 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 
Packages [576 kB]
  Get:5 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages 
[654 kB]
  Get:6 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 
Packages [4732 B]
  Get:7 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [114 kB]
  Get:8 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [99.8 kB]
  Get:9 http://archive.ubuntu.com/ubuntu jammy/restricted amd64 Packages [164 
kB]
  Get:10 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages [17.5 
MB]
  Get:11 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages [1792 kB]
  Get:12 http://archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages [266 
kB]
  Get:13 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages 
[954 kB]
  Get:14 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages 
[962 kB]
  Get:15 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 
Packages [623 kB]
  Get:16 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 
Packages [8179 B]
  Get:17 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 
Packages [7273 B]
  Get:18 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages 
[3520 B]
  Fetched 24.9 MB in 5s (5118 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

  More context:
  root@3ae33b544476:/# apt --version
  apt 2.4.8 (amd64)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1998736/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to