tzdata changes needed in Trisquel 4.5 (Ukrainian users will be affected after 29 Oct 2011)

8 replies [Last post]
Michael V. Antosha
Offline
Joined: 10/05/2011

Hello,

On September 20th, 2011 there were changes made to Ukrainian laws
concerning time zone. tzdata needs upgrade.

The time zone changes work okay in Debian, but do not work in Trisquel.

Compare outputs of 'date'. This looks like the right one (FET, both
21:57):

# echo $(lsb_release -ircs)
Debian 5.0.9 lenny
# aptitude show tzdata | egrep '^Version:'
Version: 2011k-0lenny1
# (export TZ='Europe/Kiev'; date --date='2011-10-29 18:57 UTC')
Sat Oct 29 21:57:00 FET 2011
# (export TZ='Europe/Kiev'; date --date='2011-10-30 18:57 UTC')
Sun Oct 30 21:57:00 FET 2011

This is not right (tried it *after* 'aptitude upgrade tzdata'):

$ echo $(lsb_release -ircs)
Trisquel 4.5 slaine
$ aptitude show tzdata | egrep '^Version:'
Version: 2011g-0ubuntu0.10.10
$ (export TZ='Europe/Kiev'; date --date='2011-10-29 18:57 UTC')
Sat Oct 29 21:57:00 EEST 2011
$ (export TZ='Europe/Kiev'; date --date='2011-10-30 18:57 UTC')
Sun Oct 30 20:57:00 EET 2011

Where is the right place to file this bug?

--
Michael V. Antosha
http://mivael.in.ua
xmpp:name at domain

Using Gmail? Please read this important notice:
http://www.fsf.org/campaigns/jstrap/gmail?6278

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

You can send a mail to Paul Eggert, the maintainer of the database: name at domain ( found on http://www.twinsun.com/tz/tz-link.htm ).

Michael V. Antosha
Offline
Joined: 10/05/2011

Hello,

I suspect that this change had already being made in the database
because it reflects reality in Debian/lenny updates, for example (I
specified that in my original post). Debian updates have "2011k-..."
version of the tz database.

There is an old ("2011g-...") version of the tz database in
Trisquel/slaine. That's why I'm writing to the Trisquel mail list.

Michael.

On Fri, 2011-10-07 at 04:18 +0200, name at domain wrote:
> You can send a mail to Paul Eggert, the maintainer of the database:
> name at domain ( found on http://www.twinsun.com/tz/tz-link.htm ).

--
Michael V. Antosha
http://mivael.in.ua
xmpp:name at domain

Using Gmail? Please read this important notice:
http://www.fsf.org/campaigns/jstrap/gmail?6278

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

2011j-0ubuntu0.10.10 is available in Trisquel Slaine: http://packages.trisquel.info/slaine-updates/tzdata

Don't you have slaine-update in /etc/apt/sources.list? You can check (and enable) it from the "Update" tab of the "Software sources" in the "System/Administration menu" (translation from French, the labels may be different) too.

Michael V. Antosha
Offline
Joined: 10/05/2011

Hello,

This is what is in my sources.list:

$ lst='/etc/apt/sources.list'; ls -ld "$lst"
-rw-r--r-- 1 root root 815 2011-08-13 09:15 /etc/apt/sources.list
$
$ fgrep ' slaine-updates ' "$lst"deb
http://ftp.rediris.es/mirror/Trisquel/packages/ slaine-updates main
deb-src http://ftp.rediris.es/mirror/Trisquel/packages/ slaine-updates
main

Are those wrong records?

On Fri, 2011-10-07 at 14:49 +0200, name at domain wrote:
> 2011j-0ubuntu0.10.10 is available in Trisquel Slaine:
> http://packages.trisquel.info/slaine-updates/tzdata
>
> Don't you have slaine-update in /etc/apt/sources.list? You can check (and
> enable) it from the "Update" tab of the "Software sources" in the
> "System/Administration menu" (translation from French, the labels may be
> different) too.

--
Michael V. Antosha
http://mivael.in.ua
xmpp:name at domain

Using Gmail? Please read this important notice:
http://www.fsf.org/campaigns/jstrap/gmail?6278

Michael V. Antosha
Offline
Joined: 10/05/2011

I've just tried it again. New tzdata version is installed, but the
problem persists:

$ echo $(lsb_release -ircs)
Trisquel 4.5 slaine
$ aptitude show tzdata | egrep '^Version:'
Version: 2011j-0ubuntu0.10.10
$ (export TZ='Europe/Kiev'; date --date='2011-10-29 18:57 UTC')
Sat Oct 29 21:57:00 EEST 2011
$ (export TZ='Europe/Kiev'; date --date='2011-10-30 18:57 UTC')
Sun Oct 30 20:57:00 EET 2011

The issue is (probably) solved in "2011k", but it doesn't seem to be in
Trisquel slaine updates.

--
Michael V. Antosha
http://mivael.in.ua
xmpp:name at domain

Using Gmail? Please read this important notice:
http://www.fsf.org/campaigns/jstrap/gmail?6278

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

I do not know why this version has not reached Trisquel yet. It certainly will. Anyway, if you want a quick fix, you can download and install the package from Maverick's update repository (Trisquel does not modify this package): http://packages.ubuntu.com/maverick-updates/all/tzdata/download

By the way, just out of curiosity, why sticking to Trisquel 4.5 Slaine (which is not LTS) when Trisquel 5.0 Dagda is available and extremely similar? An allergy to Firefox 7 maybe?

Michael V. Antosha
Offline
Joined: 10/05/2011

On Wed, 2011-10-12 at 15:02 +0000, name at domain wrote:
> I do not know why this version has not reached Trisquel yet. It certainly
> will. Anyway, if you want a quick fix, you can download and install the
> package from Maverick's update repository (Trisquel does not modify this
> package): http://packages.ubuntu.com/maverick-updates/all/tzdata/download

Thanks, I'll consider it.
There're possible other wirkarounds as well, but what concerns me are
possible problems for other Ukraininan slaine users. That's why I asked
about seamless update solution for 4.5.

> By the way, just out of curiosity, why sticking to Trisquel 4.5 Slaine (which
> is not LTS) when Trisquel 5.0 Dagda is available and extremely similar? An
> allergy to Firefox 7 maybe?

The reason is quite simple. For now I don't have time to solve possible
problems during upgrade, that's why I'm still sticking with slaine (it's
still supported till March 2012, right?).

In particular, I use full HDD encryption on my laptop (lvm, cryptsetup,
lvm again, fs/swap). In case the upgrade breaks my system, I will need
significant amount of time to recover. Time is critical for me these
days. That's why I would prefer to wait for several months before I
taste Firefox 7 or something :)

Michael.

--
Michael V. Antosha
http://mivael.in.ua
xmpp:name at domain

Using Gmail? Please read this important notice:
http://www.fsf.org/campaigns/jstrap/gmail?6278

Michael V. Antosha
Offline
Joined: 10/05/2011

Hello again,

There are news accordong to which it seems that Ukrainian law makers
gave a step back and cancelled[1] the time zone changes I was writing
about. This means that 30 Oct 2011 there WILL be usual time zone change
from EEST (UTC+3) to EET (UTC+2). If so, then the current tzdata in
Trisquel/slaine is correct. To check it on your system, try ths:

$ (TZ='Europe/Kiev'; date --date='2011-10-29 18:57 UTC')
Sat Oct 29 21:57:00 EEST 2011
$ (export TZ='Europe/Kiev'; date --date='2011-10-30 18:57 UTC')
Sun Oct 30 20:57:00 EET 2011

If it displays as above ("29 21:57:00 EEST" and "20:57:00 EET"), then
you machine should do the timeshift seamlessly.

I would recommend every user who uses 'Europe/Kiev' timezone to check
this few days before the time shift AND after each upgrade [of tzdata]
during a month or two because AFAIU there were changes made into the
original tzdata already, so you can unintentionally unpgrade to wrong
time zone setting for Ukraine (depends on what tzdata version is used in
your OS distribution).

Michael.

[1] (in Russian) "Украина решила "исправить ошибку" и перейти на зимнее
время"
http://ru.reuters.com/article/oddlyEnoughNews/idRURXE79H1D720111018

On Thu, 2011-10-06 at 00:01 +0300, Michael V. Antosha wrote:
> Hello,
>
> On September 20th, 2011 there were changes made to Ukrainian laws
> concerning time zone. tzdata needs upgrade.
>
> The time zone changes work okay in Debian, but do not work in Trisquel.
>
> Compare outputs of 'date'. This looks like the right one (FET, both
> 21:57):
>
> # echo $(lsb_release -ircs)
> Debian 5.0.9 lenny
> # aptitude show tzdata | egrep '^Version:'
> Version: 2011k-0lenny1
> # (export TZ='Europe/Kiev'; date --date='2011-10-29 18:57 UTC')
> Sat Oct 29 21:57:00 FET 2011
> # (export TZ='Europe/Kiev'; date --date='2011-10-30 18:57 UTC')
> Sun Oct 30 21:57:00 FET 2011
>
> This is not right (tried it *after* 'aptitude upgrade tzdata'):
>
> $ echo $(lsb_release -ircs)
> Trisquel 4.5 slaine
> $ aptitude show tzdata | egrep '^Version:'
> Version: 2011g-0ubuntu0.10.10
> $ (export TZ='Europe/Kiev'; date --date='2011-10-29 18:57 UTC')
> Sat Oct 29 21:57:00 EEST 2011
> $ (export TZ='Europe/Kiev'; date --date='2011-10-30 18:57 UTC')
> Sun Oct 30 20:57:00 EET 2011
>
> Where is the right place to file this bug?
>
>

--
Michael V. Antosha
http://mivael.in.ua
xmpp:name at domain

Using Gmail? Please read this important notice:
http://www.fsf.org/campaigns/jstrap/gmail?6278