Followed the SRU test plan in a fresh lxd container.

Pre apt install:
# dpkg -S /usr/share/zoneinfo/Asia/Choibalsan
tzdata: /usr/share/zoneinfo/Asia/Choibalsan
# apt-cache policy tzdata tzdata-legacy
tzdata:
  Installed: 2026e-0ubuntu0.24.04.1
  Candidate: 2026f-0ubuntu0.26.04.1
  Version table:
     2026f-0ubuntu0.26.04.1 500
        100 http://archive.ubuntu.com/ubuntu resolute-proposed/main amd64 
Packages
     2026e-0ubuntu0.26.04.1 500
        500 http://archive.ubuntu.com/ubuntu resolute-updates/main amd64 
Packages
        500 http://security.ubuntu.com/ubuntu resolute-security/main amd64 
Packages
 *** 2026e-0ubuntu0.24.04.1 100
        100 /var/lib/dpkg/status
     2026a-3ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu resolute/main amd64 Packages
tzdata-legacy:
  Installed: 2026e-0ubuntu0.24.04.1
  Candidate: 2026f-0ubuntu0.26.04.1
  Version table:
     2026f-0ubuntu0.26.04.1 500
        100 http://archive.ubuntu.com/ubuntu resolute-proposed/main amd64 
Packages
     2026e-0ubuntu0.26.04.1 500
        500 http://archive.ubuntu.com/ubuntu resolute-updates/main amd64 
Packages
        500 http://security.ubuntu.com/ubuntu resolute-security/main amd64 
Packages
 *** 2026e-0ubuntu0.24.04.1 100
        100 /var/lib/dpkg/status
     2026a-3ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu resolute/main amd64 Packages


Then after running apt install unar tzdata-legacy:
# dpkg -S /usr/share/zoneinfo/Asia/Choibalsan
tzdata-legacy: /usr/share/zoneinfo/Asia/Choibalsan
# readlink -e /etc/localtime
/usr/share/zoneinfo/Etc/UTC
# dpkg --audit && apt-get check
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done

Therefore the verification is done.

** Description changed:

- 
  [ Impact ]
  
-  * On partly upgraded Noble-to-Resolute systems, tzdata-legacy can fail
-    to unpack because Noble's tzdata still owns Asia/Choibalsan. This can
-    leave package updates unfinished.
+  * On partly upgraded Noble-to-Resolute systems, tzdata-legacy can fail
+    to unpack because Noble's tzdata still owns Asia/Choibalsan. This can
+    leave package updates unfinished.
  
-  * On Noble, tzdata-legacy is pulled in by gnustep-base-common, e.g.
-    through unar.
+  * On Noble, tzdata-legacy is pulled in by gnustep-base-common, e.g.
+    through unar.
  
-  * The proposed fix is to declare Conflicts/Replaces against tzdata-trixie,
-    which only Noble' tzdata provides. apt must
-    then upgrade tzdata before unpacking tzdata-legacy.
+  * The proposed fix is to declare Conflicts/Replaces against tzdata-trixie,
+    which only Noble' tzdata provides. apt must
+    then upgrade tzdata before unpacking tzdata-legacy.
  
  [ Test Plan ]
  
-  * The commands below can for example be run in a fresh noble lxd
+  * The commands below can for example be run in a fresh noble lxd
  container
  
-      apt update && apt full-upgrade -y
-      apt install -y unar
-      dpkg -S /usr/share/zoneinfo/Asia/Choibalsan   # tzdata
+      apt update && apt full-upgrade -y
+      apt install -y unar
+      dpkg -S /usr/share/zoneinfo/Asia/Choibalsan   # tzdata
  
-  * Reproduce the reported error:
-      sed -i 's/noble/resolute/g' /etc/apt/sources.list.d/ubuntu.sources
-      apt update
-      apt install unar tzdata-legacy # This should fail
+  * Reproduce the reported error:
+      sed -i 's/noble/resolute/g' /etc/apt/sources.list.d/ubuntu.sources
+      apt update
+      apt install unar tzdata-legacy # This should fail
  
-  * Enable the proposed pocket, e.g. by adding to 
/etc/apt/sources.list.d/ubuntu-proposed.sources:
-      Types: deb
-      URIs: http://archive.ubuntu.com/ubuntu
-      Suites: resolute-proposed
-      Components: main
-      Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.
+  * Enable the proposed pocket, e.g. by adding to 
/etc/apt/sources.list.d/ubuntu-proposed.sources:
+      Types: deb
+      URIs: http://archive.ubuntu.com/ubuntu
+      Suites: resolute-proposed
+      Components: main
+      Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
  
-  * And creating /etc/apt/preferences.d/tzdata-sru with:
-      Package: tzdata tzdata-legacy
-      Pin: release a=resolute-proposed
-      Pin-Priority: 500
+  * And creating /etc/apt/preferences.d/tzdata-sru with:
+      Package: tzdata tzdata-legacy
+      Pin: release a=resolute-proposed
+      Pin-Priority: 500
  
-  * After enabling -proposed and pinning tzdata the
-      commands below should succeed:
+  * After enabling -proposed and pinning tzdata the
+      commands below should succeed:
  
-      apt update
-      apt-cache policy tzdata tzdata-legacy
-      apt install unar tzdata-legacy
-      dpkg-query -W tzdata tzdata-legacy unar
-      dpkg -S /usr/share/zoneinfo/Asia/Choibalsan # tzdata-legacy
-      readlink -e /etc/localtime
-      dpkg --audit && apt-get check
+      apt update
+      apt-cache policy tzdata tzdata-legacy
+      apt install unar tzdata-legacy
+      dpkg-query -W tzdata tzdata-legacy unar
+      dpkg -S /usr/share/zoneinfo/Asia/Choibalsan # tzdata-legacy
+      readlink -e /etc/localtime
+      dpkg --audit && apt-get check
  
-   * The path above is technically unsupported, so testing should
-     also include a fresh noble instance, adding a noble-proposed
-     sources file and the same pin and running do-release-upgrade.
+   * The path above is technically unsupported, so testing should
+     also include a fresh noble instance, adding a noble-proposed
+     sources file and the same pin and running do-release-upgrade.
  
  [ Where problems could occur ]
  
-  * An incorrect conflict could block tzdata-legacy installation or cause
-    its removal during upgrades.
+  * An incorrect conflict could block tzdata-legacy installation or cause
+    its removal during upgrades.
  
-  * Incorrect ordering could leave timezone files missing or change the
-    configured timezone.
+  * Incorrect ordering could leave timezone files missing or change the
+    configured timezone.
  
  [ Other Info ]
  
-  * Bundled with the 2026f data update (LP #2172526).
+  * Bundled with the 2026f data update (LP #2172526).
  
  ---
- 
  
  I didnt do anything i got multiple bug crashes, this time they finally opened 
launchpad to report also. Not like other times. Kubuntu
  https://imgur.com/a/DMy489Q
  
  ProblemType: Package
  DistroRelease: Ubuntu 26.04
  Package: tzdata-legacy (not installed)
  ProcVersionSignature: Ubuntu 7.0.0-38.38-generic 7.0.14
  Uname: Linux 7.0.0-38-generic x86_64
  ApportVersion: 2.34.1-0ubuntu0.1
  Architecture: amd64
  CasperMD5CheckResult: unknown
  Date: Fri Oct  9 15:02:56 2026
  DpkgTerminalLog:
   Preparing to unpack .../tzdata-legacy_2026c-0ubuntu0.26.04.1_all.deb ...
   Unpacking tzdata-legacy (2026c-0ubuntu0.26.04.1) over 
(2026c-0ubuntu0.24.04.1) ...
   dpkg: error processing archive 
/var/cache/apt/archives/tzdata-legacy_2026c-0ubuntu0.26.04.1_all.deb (--unpack):
    trying to overwrite '/usr/share/zoneinfo/Asia/Choibalsan', which is also in 
package tzdata (2026c-0ubuntu0.24.04.1)
  DuplicateSignature:
   package:tzdata-legacy:(not installed)
   Unpacking tzdata-legacy (2026c-0ubuntu0.26.04.1) over 
(2026c-0ubuntu0.24.04.1) ...
   dpkg: error processing archive 
/var/cache/apt/archives/tzdata-legacy_2026c-0ubuntu0.26.04.1_all.deb (--unpack):
    trying to overwrite '/usr/share/zoneinfo/Asia/Choibalsan', which is also in 
package tzdata (2026c-0ubuntu0.24.04.1)
  ErrorMessage: trying to overwrite '/usr/share/zoneinfo/Asia/Choibalsan', 
which is also in package tzdata (2026c-0ubuntu0.24.04.1)
  InstallationDate: Installed on 2026-02-14 (240 days ago)
  InstallationMedia: Kubuntu 24.04.4 LTS "Noble Numbat" - Release amd64 
(20260210)
  Python3Details: /usr/bin/python3.14, Python 3.14.4, python3-minimal, 
3.14.3-0ubuntu2
  PythonDetails: N/A
  RelatedPackageVersions:
   dpkg 1.23.7ubuntu1
   apt  3.2.0
  SourcePackage: tzdata
  Title: package tzdata-legacy (not installed) failed to install/upgrade: 
trying to overwrite '/usr/share/zoneinfo/Asia/Choibalsan', which is also in 
package tzdata (2026c-0ubuntu0.24.04.1)
  UpgradeStatus: No upgrade log present (probably fresh install)

** Tags removed: verification-needed-resolute
** Tags added: verification-done-resolute

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2170521

Title:
  package tzdata-legacy (not installed) failed to install/upgrade:
  trying to overwrite '/usr/share/zoneinfo/Asia/Choibalsan', which is
  also in package tzdata (2026c-0ubuntu0.24.04.1)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tzdata/+bug/2170521/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to