LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-04-2018, 07:47 PM   #1
FreEm1nD
LQ Newbie
 
Registered: Oct 2016
Posts: 7

Rep: Reputation: Disabled
Question How to get timezone data to update after repositories won't give updates anymore?


Hi,

I've recently learned that NTP doesn't has daylight saving time information as my system was pointing to external NTP servers (from my country) and to get the correct time I needed to update tzdata package with apt.

I have an old machine which is not working well with newer kernels with an almost legacy distro Ubuntu 14 LTS (old nvidia 7200 gs card won't compile proprietary drivers and nouveau gives some bugs).

How to get timezone data to update after repositories won't give updates anymore?

The reason I ask is because I'm curious and because I ingenuosly thought NTP would be enough.

Thank you!
 
Old 11-04-2018, 08:06 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,272
Blog Entries: 28

Rep: Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123
What steps did you take to verify that the update issue and timezone issue are related? I would expect the correct time to be set via NTP, not via apt, but I'm just shooting in the dark. If I'm wrong, I'd love to be corrected; it would mean I learned something.

I see that Ubuntu 14.04 LTS is supported through April 2019. Am I correct in concluding that you are updating the machine because of the issues you mentioned with newer kernels, or have I misread your post?
 
Old 11-04-2018, 08:22 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,592

Rep: Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880
Your correct ntp as well as your system clock is referenced to UTC and the timezone setting converts UTC to your local time.

Did your country recently change the day they switched as of this year from DST? If not then your problem might lie elsewhere. Are you willing to post your timezone?

There was a recent update to the TZ database but I would assume the repositories have been updated by now.
 
Old 11-05-2018, 06:23 AM   #4
FreEm1nD
LQ Newbie
 
Registered: Oct 2016
Posts: 7

Original Poster
Rep: Reputation: Disabled
Yes, my country changed the day they switched DST as of this year (my country is Brazil, and the daylight saving time changed two times and reverted back to first decision because they thought it wouldn't be a good day)

The steps to fix where to add the repository for trusty-updates main in /etc/apt/sources.list , to apt-get update and to update this tzdata package, before that I was setting set-timezone America/Montevideo (which hasn't DST and is same GMT -3 here) and now I can set-timezone to America/Sao_Paulo and it works correctly.

2019 is right there and probably this old distro won't get more updates as it won't be supported anymore, and I was curious if there is an easy way after end of support to manage those dates

Last edited by FreEm1nD; 11-05-2018 at 06:36 AM.
 
Old 11-05-2018, 07:16 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,592

Rep: Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880
Here is the source for the TZ database.

https://www.iana.org/time-zones
https://data.iana.org/time-zones/tz-link.html
 
1 members found this post helpful.
Old 11-05-2018, 09:34 AM   #6
FreEm1nD
LQ Newbie
 
Registered: Oct 2016
Posts: 7

Original Poster
Rep: Reputation: Disabled
I've now realized that the most automatic fix would be download ftp://ftp.iana.org/tz/tzdata-latest.tar.gz, extract and run make install

Thank you all!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
System Updates won't update erowe89 Linux - Software 3 04-07-2013 09:17 PM
[SOLVED] Debian update manager states updates available but won't update EDDY1 Debian 15 06-30-2011 11:07 PM
Update error: Two updates want to overwrite each other's data. dkathrens77 Linux - General 1 04-23-2011 12:46 PM
YAST Update problem, won't update anymore sir_shunt SUSE / openSUSE 7 04-11-2006 12:55 PM
mozilla update to 1.7.7 won't start anymore Ice9 Debian 2 04-19-2005 04:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration