We have moved to a new Sailfish OS Forum. Please start new discussions there.
17

Outdated tzdata

asked 2016-08-21 08:11:36 +0200

Fenuks gravatar image

updated 2016-08-21 08:21:09 +0200

It's august 2016 already, and tzdata in Sailfish 2.0.1.11 is still version 2014h. Hope it will be updated in the upcomming release, as it's cousing troubles with devices and services that have correct timezones — all timestamps are shifted and it's not very nice to be late by an hour.

There's also package called tzdata-timed, that is also version 2014h-1.6.2.


Not sure it's a good workaround, but works for me:
1. Download tzdata-2016f rpm from CentOS
$ curl http://mirror.centos.org/centos/6/updates/i386/Packages/tzdata-2016f-1.el6.noarch.rpm -o tzdata-2016f-1.el6.noarch.rpm
2. Install via rpm
$ devel-su rpm -if tzdata-2016f-1.el6.noarch.rpm

It is a noarch package and will only overwrite files in /usr/share/zoneinfo and corresponding /usr/share/doc/tzdata*. As for tzdata-timed, I could not find it in CentOS, RHEL or Fedora, so not sure how to update it.

edit retag flag offensive close delete

Comments

The tz database, also called tzdata, the zoneinfo database or IANA (Internet Assigned Numbers Authority) time zone database, is a collaborative compilation of information about the world's time zones, primarily intended for use with computer programs and operating systems.

And welcome to TJC.

vattuvarg ( 2016-08-21 10:10:17 +0200 )edit
2

@vattuvarg: Thanks.

Digging around a bit — it seems like this was the last update https://together.jolla.com/question/58225/timezone-change-in-russia/. There's another workround in comments.

There are more packages with similar problem — like ca-certifiactes-2014.2.1. And that is more of a security issue, as Sailfish will trust certificates that were revoked since then. There might be more.

Such packages require regular updates and, as far as I can see, are not hard to package — most don't depend on platform or architecture, require little testing and contain mostly static text data. Perhaps they could be moved into separate repository and updated via pkcon or Jolla store?

Fenuks ( 2016-08-21 11:14:23 +0200 )edit
2

@Fenuks If you ask a separate question about ca-certificates, you have my upvote.

Federico ( 2016-08-21 11:21:05 +0200 )edit

It appears that tzdata has been updated in mer-core (which is the base system under SailfishOS) — https://git.merproject.org/mer-core/tzdata/activity and https://git.merproject.org/mer-core/tzdata-timed/activity

So it's possible new tzdata has made it into next release. It'd still be good if someone from Jolla or users with early access to next update could confirm that.

Fenuks ( 2016-08-29 07:51:44 +0200 )edit

1 Answer

Sort by » oldest newest most voted
3

answered 2017-05-01 10:09:26 +0200

Fenuks gravatar image

I feel I have to bump this.
SailfishOS 2.1.0.11, version of tzdata packages: tzdata-2016f-1.6.2.noarch and tzdata-timed-2016f-1.7.2.noarch, that's for last August.

Latest package in CentOS 7:
http://mirror.centos.org/centos-7/7/updates/x86_64/Packages/tzdata-2017b-1.el7.noarch.rpm

No packages for tzdata-timed that I can find.

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
3 followers

Stats

Asked: 2016-08-21 08:11:36 +0200

Seen: 665 times

Last updated: May 01 '17