How to get timezone data to update after repositories won't give updates anymore?
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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?
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.