That happens also with the current version of tzdata.

Starting with:

$ dpkg -l tzdata|grep tzdata
ii  tzdata         2022a-0ubuntu1 all

$ date
Mon Mar  4 12:22:38 UTC 2024

# the current timezone (UTC) was configured via dpkg-reconfigure tzdata

$ sudo apt reinstall tzdata=2022a-0ubuntu1
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 342 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://br.archive.ubuntu.com/ubuntu jammy/main amd64 tzdata all 
2022a-0ubuntu1 [342 kB]
Fetched 342 kB in 0s (11.1 MB/s)
Preconfiguring packages ...
(Reading database ... 31964 files and directories currently installed.)
Preparing to unpack .../tzdata_2022a-0ubuntu1_all.deb ...
Unpacking tzdata (2022a-0ubuntu1) over (2022a-0ubuntu1) ...
Setting up tzdata (2022a-0ubuntu1) ...

Current default time zone: 'Etc/UTC'
Local time is now:      Mon Mar  4 12:22:55 UTC 2024.
Universal Time is now:  Mon Mar  4 12:22:55 UTC 2024.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

Timezone is kept, as expected.

Now I set it via timedatectl:
ubuntu@j-tz:~$ sudo timedatectl set-timezone EST
ubuntu@j-tz:~$ date
Mon Mar  4 07:23:42 EST 2024

Reinstall same tzdata:
$ sudo apt reinstall tzdata=2022a-0ubuntu1
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 342 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://br.archive.ubuntu.com/ubuntu jammy/main amd64 tzdata all 
2022a-0ubuntu1 [342 kB]
Fetched 342 kB in 0s (14.6 MB/s)
Preconfiguring packages ...
(Reading database ... 31964 files and directories currently installed.)
Preparing to unpack .../tzdata_2022a-0ubuntu1_all.deb ...
Unpacking tzdata (2022a-0ubuntu1) over (2022a-0ubuntu1) ...
Setting up tzdata (2022a-0ubuntu1) ...

Current default time zone: 'America/Adak'
Local time is now:      Mon Mar  4 02:23:57 HST 2024.
Universal Time is now:  Mon Mar  4 12:23:57 UTC 2024.
Run 'dpkg-reconfigure tzdata' if you wish to change it.


And we get America/Adak:
$ date
Mon Mar  4 02:24:08 HST 2024


So I don't think it's a regression, and am updating the tags accordingly.

** Tags removed: regression-update

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

Title:
  Regression after update: timezone changed unexpectedly

Status in tzdata package in Ubuntu:
  Incomplete

Bug description:
  A user reported this regression on
  https://bugs.launchpad.net/ubuntu/+source/tzdata/+bug/2052739:

  """
  Hello.
  After automatic upgrade of tzdata from 2023c-0ubuntu0.22.04.2 to 
2024a-0ubuntu0.22.04
  the previously set EST time zone was automatically changed to "America/Adak" 
or "America/Indiana/Indianapolis" on all our servers (50+).
  Look like a bug in tzdata configure script.
  """

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tzdata/+bug/2055718/+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