How to update Linux time zones


time zone map
On May 1st, Venezuela will change its time zone to UTC-4, therefore in Linux you must update your tzdata package to be ready to this change. To do so just just follow these steps:

Debian/Ubuntu

aptitude update
aptitude safe-upgrade tzdata

Red Hat

yum check-update
yum update tzdata

In order to check whether the update has the time zone changes you can run this command:

zdump -v /usr/share/zoneinfo/right/America/Caracas  | grep 2016

/usr/share/zoneinfo/right/America/Caracas  Sun May  1 06:59:59 2016 UT = Sun May  1 02:29:59 2016 VET isdst=0 gmtoff=-16200
/usr/share/zoneinfo/right/America/Caracas  Sun May  1 07:00:00 2016 UT = Sun May  1 03:00:00 2016 VET isdst=0 gmtoff=-14400

Reference: How to check if the Time Zone database


  1. #1 by Luis Gallardo on 01/05/2016 - 1:56 am

    @Lc Puedes descargar tzdata de wheezy-update e instalarlo manualmente con dpkg:

    wget http://ftp.us.debian.org/debian/pool/main/t/tzdata/tzdata_2016d-0+deb7u1_all.deb
    dpkg -i tzdata/tzdata_2016d-0+deb7u1_all.deb
    

    Saludos

  2. #2 by Lc on 30/04/2016 - 5:49 pm

    Saludos. Para un debían lenny tendrás alguna solución?

Comments are closed.