Cannot set time zone timedatectl

Ubuntu Version

Ubuntu 26.04 LTS Flavors

Desktop Environment (if applicable)

KDE Plasma

Problem Description

When trying to set the correct time zone, only Ciudad_Juarez Coyhaique
show up. Seems most of the world is missing.
$sudo timedatectl show
LocalRTC=no
CanNTP=yes
NTP=yes
NTPSynchronized=yes
TimeUSec=Wed 2026-10-14 22:22:46 UTC
RTCTimeUSec=Wed 2026-10-14 22:22:46 UTC

$sudo timedatectl list-timezones
America/Ciudad_Juarez
America/Coyhaique
Factory
UTC

$sudo dpkg-reconfigure tzdata

Current default time zone: ‘America/Chicago’
Local time is now: Wed Oct 14 09:49:32 PM UTC 2026.
Universal Time is now: Wed Oct 14 21:49:32 UTC 2026.

Must be a missing file?
Thanks

Relevant System Information

Kubuntu 26.04 updated today Oct 14 2026.
Only problem found after upgrade from 24.04.

What is the content of the /usr/share/zoneinfo?

Your list-timezones output is the key detail: the time zone database is a set of files under /usr/share/zoneinfo, and on Ubuntu those files are shipped by the tzdata package - the package contents list for 26.04 shows hundreds of them, one per zone. Your system shows exactly four, so the database on your machine is mostly missing, not misconfigured. That also fits your dpkg-reconfigure output: after setting America/Chicago it still reports local time as UTC - if the America/Chicago file is absent, there is nothing to link /etc/localtime to (set-timezone works by changing the /etc/localtime symlink, per the timedatectl manual).

I would try reinstalling the package:

sudo apt install --reinstall tzdata

(reinstall is a documented apt action for exactly this case - same version, files written again). Then check:

timedatectl list-timezones | wc -l

You should see hundreds of entries again, and after that sudo timedatectl set-timezone America/Chicago should stick and show the correct local time.

If the reinstall does not bring the files back, the next thing to look at is whether something else on the system is removing them - but from what you have shown, a broken or incomplete tzdata install during the upgrade is the likely explanation. To be transparent: I have not reproduced this on a 26.04 system myself; this is based on the package contents and the timedatectl/apt documentation.

1 Like

Yes that fixed it.
Thanks

This topic was automatically closed 18 hours after the last reply. New replies are no longer allowed.