And also run the manual test successfully: ``` $ schroot-wrapper -p tzdata -c jammy -u root -e (jammy)root@nfnf:~# ln -sf /usr/share/zoneinfo/EST5EDT /etc/localtime (jammy)root@nfnf:~# DEBIAN_FRONTEND=noninteractive dpkg-reconfigure tzdata
Current default time zone: 'EST5EDT' Local time is now: Mon Dec 16 06:38:30 EST 2024. Universal Time is now: Mon Dec 16 11:38:30 UTC 2024. (jammy)root@nfnf:~# echo $? 0 (jammy)root@nfnf:~# dpkg -s tzdata | grep ^Version Version: 2024b-0ubuntu0.22.04 ``` -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, 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@host:~# ln -sf /usr/share/zoneinfo/EST5EDT /etc/localtime (jammy)root@host:~# DEBIAN_FRONTEND=noninteractive dpkg-reconfigure tzdata (jammy)root@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 -- 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