I can reproduce the failure in a bionic, jammy, and oracular chroot:

```
$ 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
```

This is a bug that should be fixed. dpkg-reconfigure should not fail on
those legacy timezones.

Upstream dropped those legacy timezones in the 2024b release. So I
recommend switching to the country/city timezones (like US/Central) or
to the Etc/GMT* zones in case you want to ignore DST.

The current plan is to keep these legacy timezones in place for the
stable release (to not enforce those changes to our customers on the
stable releases).

-- 
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:
  Confirmed

Bug description:
  
https://bugs.launchpad.net/ubuntu/+source/tzdata/+filebug/fb042db4-3232-11ef-b78b-9b3aa32b5f1b?field.title=package+tzdata+2024a-3ubuntu1.1+failed+to+install%2Fupgrade%3A+installed+tzdata+package+post-
  installation+script+subprocess+returned+error+exit+status+10

  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

Reply via email to