[Bug 2070285] Re: package tzdata 2024a-3ubuntu1.1 failed to install/upgrade: installed tzdata package post-installation script subprocess returned error exit status 10

Benjamin Drung 2070285 at bugs.launchpad.net
Mon Dec 16 11:37:29 UTC 2024


Verified successful autopkgtest on
https://autopkgtest.ubuntu.com/packages/tzdata:

oracular: tzdata/2024b-1ubuntu2.1

* amd64: https://autopkgtest.ubuntu.com/results/autopkgtest-oracular/oracular/amd64/t/tzdata/20241205_173859_adda8@/log.gz 
* arm64: https://autopkgtest.ubuntu.com/results/autopkgtest-oracular/oracular/arm64/t/tzdata/20241205_174701_2f4b5@/log.gz
* armhf: https://autopkgtest.ubuntu.com/results/autopkgtest-oracular/oracular/armhf/t/tzdata/20241205_174739_d2a53@/log.gz
* ppc64el: https://autopkgtest.ubuntu.com/results/autopkgtest-oracular/oracular/ppc64el/t/tzdata/20241213_232359_82d3c@/log.gz
* s390x: https://autopkgtest.ubuntu.com/results/autopkgtest-oracular/oracular/s390x/t/tzdata/20241205_173856_af105@/log.gz

noble: tzdata/2024b-0ubuntu0.24.04

* amd64: https://autopkgtest.ubuntu.com/results/autopkgtest-noble/noble/amd64/t/tzdata/20241205_181237_ab8a4@/log.gz
* arm64: https://autopkgtest.ubuntu.com/results/autopkgtest-noble/noble/arm64/t/tzdata/20241205_180342_5794b@/log.gz
* armhf: https://autopkgtest.ubuntu.com/results/autopkgtest-noble/noble/armhf/t/tzdata/20241205_180826_1089d@/log.gz
* ppc64el: https://autopkgtest.ubuntu.com/results/autopkgtest-noble/noble/ppc64el/t/tzdata/20241211_113053_ff166@/log.gz
* s390x: https://autopkgtest.ubuntu.com/results/autopkgtest-noble/noble/s390x/t/tzdata/20241205_180234_8d56b@/log.gz

jammy: tzdata/2024b-0ubuntu0.22.04

* amd64: https://autopkgtest.ubuntu.com/results/autopkgtest-jammy/jammy/amd64/t/tzdata/20241213_081348_0329b@/log.gz
* arm64: https://autopkgtest.ubuntu.com/results/autopkgtest-jammy/jammy/arm64/t/tzdata/20241213_082219_16cbb@/log.gz
* armhf: https://autopkgtest.ubuntu.com/results/autopkgtest-jammy/jammy/armhf/t/tzdata/20241213_081958_f78c0@/log.gz
* ppc64el: https://autopkgtest.ubuntu.com/results/autopkgtest-jammy/jammy/ppc64el/t/tzdata/20241213_091230_07e80@/log.gz
* s390x: https://autopkgtest.ubuntu.com/results/autopkgtest-jammy/jammy/s390x/t/tzdata/20241213_081540_0e0e9@/log.gz

focal: tzdata/2024b-0ubuntu0.20.04

* amd64: https://autopkgtest.ubuntu.com/results/autopkgtest-focal/focal/amd64/t/tzdata/20241205_172929_d71ba@/log.gz
* arm64: https://autopkgtest.ubuntu.com/results/autopkgtest-focal/focal/arm64/t/tzdata/20241205_173428_d43d6@/log.gz
* armhf: https://autopkgtest.ubuntu.com/results/autopkgtest-focal/focal/armhf/t/tzdata/20241205_173344_d43d6@/log.gz
* ppc64el: https://autopkgtest.ubuntu.com/results/autopkgtest-focal/focal/ppc64el/t/tzdata/20241213_231233_33547@/log.gz
* s390x: https://autopkgtest.ubuntu.com/results/autopkgtest-focal/focal/s390x/t/tzdata/20241205_173102_2a5f0@/log.gz

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