[Bug 2070285] Re: package tzdata 2024a-3ubuntu1.1 failed to install/upgrade: installed tzdata package post-installation script subprocess returned error exit status 10
Andreas Hasenack
2070285 at bugs.launchpad.net
Wed Jan 8 19:29:35 UTC 2025
There was an autopkgtest failure for oracular on ppc64el:
autopkgtest for python3.12/unknown: ppc64el: Regression ♻
Given the "unknown" version, and of course checking logs, I see it was
an infrastructure problem. I retried it.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to tzdata in Ubuntu.
https://bugs.launchpad.net/bugs/2070285
Title:
package tzdata 2024a-3ubuntu1.1 failed to install/upgrade: installed
tzdata package post-installation script subprocess returned error exit
status 10
Status in tzdata package in Ubuntu:
Fix Released
Status in tzdata source package in Focal:
Fix Committed
Status in tzdata source package in Jammy:
Fix Committed
Status in tzdata source package in Noble:
Fix Committed
Status in tzdata source package in Oracular:
Fix Committed
Bug description:
[ Impact ]
Updating the tzdata package will fail on systems that have a legacy
timezone selected (that is not updated to a recent one during dpkg-
reconfigure). Example:
```
$ schroot-wrapper -p tzdata -c jammy -u root
(jammy)root at host:~# ln -sf /usr/share/zoneinfo/EST5EDT /etc/localtime
(jammy)root at host:~# DEBIAN_FRONTEND=noninteractive dpkg-reconfigure tzdata
(jammy)root at host:~# echo $?
10
```
[ Test Plan ]
Test cases were added for Ubuntu 24.10 (oracular), Ubuntu 24.04
(noble), and Ubuntu 22.04 (jammy) to the autopkgtest to cover the
testing:
* debconf: test_legacy_timezones
So the test plan is to check that the autopkgtest succeeds. For older
releases, run the example given above. It should exit with 0 and keep
the configured timezone.
[ Where problems can occur ]
The fix touches the code that is used for configuring the timezone.
That can cause package update to fail. There are autopkgtest to avoid
regressions.
[ Original report ]
ProblemType: Package
DistroRelease: Ubuntu 24.04
Package: tzdata 2024a-3ubuntu1.1
ProcVersionSignature: Ubuntu 6.5.0-1018.21-raspi 6.5.13
Uname: Linux 6.5.0-1018-raspi aarch64
ApportVersion: 2.28.1-0ubuntu3
Architecture: arm64
CasperMD5CheckResult: unknown
CloudArchitecture: aarch64
CloudID: nocloud
CloudName: unknown
CloudPlatform: nocloud
CloudSubPlatform: config-disk (/dev/mmcblk0p1)
Date: Mon Jun 24 09:04:36 2024
DuplicateSignature:
package:tzdata:2024a-3ubuntu1.1
Setting up tzdata (2024a-3ubuntu1.1) ...
dpkg: error processing package tzdata (--configure):
installed tzdata package post-installation script subprocess returned error exit status 10
ErrorMessage: installed tzdata package post-installation script subprocess returned error exit status 10
PackageArchitecture: all
Python3Details: /usr/bin/python3.12, Python 3.12.3, python3-minimal, 3.12.3-0ubuntu1
PythonDetails: N/A
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageVersions:
dpkg 1.22.6ubuntu6
apt 2.7.14build2
SourcePackage: tzdata
Title: package tzdata 2024a-3ubuntu1.1 failed to install/upgrade: installed tzdata package post-installation script subprocess returned error exit status 10
UpgradeStatus: Upgraded to noble on 2024-06-24 (0 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tzdata/+bug/2070285/+subscriptions
More information about the foundations-bugs
mailing list