** 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 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.
+
+ [ Test Plan ]
+
+ * 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
+
+ * 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.
+
+ * 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:
+
+ 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.
+
+ [ Where problems could occur ]
+
+ * 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.
+
+ [ Other Info ]
+
+ * 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)
+ 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)
+ 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
+ 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)
** Changed in: tzdata (Ubuntu)
Assignee: (unassigned) => Finn Gärtner (finnrg)
--
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