docker-library / python

Docker Official Image packaging for Python

Home Page:https://www.python.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

3.12.0 apt-get upgrade fails on tzdata

marselsultanov opened this issue · comments

Hello, if i do:

apt-get update
DEBIAN_FRONTEND=noninteractive apt-get upgrade

i get error:

Get:1 bullseye/main amd64 tzdata all 2024a-0+deb11u1 \[304 kB\]

[137]debconf: delaying package configuration, since apt-utils is not installed

[138]Fetched 304 kB in 0s (7434 kB/s)

[139](Reading database ... 6705 files and directories currently installed.)

[140]Preparing to unpack .../tzdata\_2024a-0+deb11u1\_all.deb ...

[141]Unpacking tzdata (2024a-0+deb11u1) over (2023c-5) ...

[142]dpkg: error processing archive /var/cache/apt/archives/tzdata\_2024a-0+deb11u1\_all.deb (--unpack):

[143] unable to install new version of '/usr/share/zoneinfo/posix/Africa/Abidjan': No such file or directory

[144]Errors were encountered while processing:

[145]/var/cache/apt/archives/tzdata\_2024a-0+deb11u1\_all.deb

[146]error building image: error building stage: failed to execute command: waiting for process to exit: exit status 100

[147]E: Sub-process /usr/bin/dpkg returned an error code (1)

Looks like an image doesn't get update a long time (3 months?) and now tzdata available for upgrade, but it fails...

Local problem