SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Checked for patches today, applied glibc-zoneinfo-2020b-noarch-1_slack14.0 and time is in a bad state. No tz indicated in time, system jumped to display UTC (0 offest) instead of CDT.
All attempts to set timezone seem to succeed - yet no change.
Copied older /etc/localtime file from another system and immediately everything went back to normal.
Confirmed. Something is off with the 2020b update. Same result as you: No timezone after upgradepkg. Different zone than you so it isn't just yours.
To fix, I reverted to the previous version: upgradepkg glibc-zoneinfo-2020a-noarch-1_slack14.2.txz
All I checked so far is that the update did properly copy the file referenced in /etc/localtime-copied-from into /etc/localtime. So the problem seems to be with the actual zoneinfo files.
Thanks for the heads-up. I have 14.2 but I haven't done my monthly update yet. My /etc/localtime is a link to /usr/share/zoneinfo/Europe/London, so I've copied that file over as /etc/localtime.backup just in case I run into problems.
[Edit: removed Emojis, the forum software doesn't seem to like them]
Same here. Posted a lengthy bug report here yesterday, but as it seems it hasn't quite made it through moderation yet.
Fix: get the upstream sources from IANA (URL is in the slack-desc, you'll need the tzcode2020a.tar.gz and tzdata2020a.tar.gz packages - there's no direkt link to older versions anymore, but you can simply replace the "b" from the current version with an "a"), run them through the original glibc-zoneinfo.SlackBuild script, and upgradepkg the resulting package.
Easy fix: just reinstall the old glibc-zoneinfo-2020a-noarch-1_slack14.2.txz that you kept around, unlike me, just in case.
Not sure yet if this is an upstream problem, a Slackware problem or a Slackware 32bit problem. I briefly checked the IANA tz mailing list archive for October, and there hasn't been a single message mentioning this or a similar problem as of today, let alone a huge "OMG, my system time is nailed to UTC, we're all gonna die!!!" outcry. Hmmm ...
Just tried the reinstall from kernel.org mirror and got the older, broken file. 85435a33486747b319872947c68317f3 localtime was put back on my system - 1754 bytes.
working version of the data file:
/usr/share/zoneinfo/US/Central: timezone data, version 2, 7 gmt time flags, 7 std time flags, no leap seconds, 236 transition times, 7 abbreviation chars
broken version of the data file:
/usr/share/zoneinfo/US/Central: timezone data, version 2, no gmt time flags, no std time flags, no leap seconds, no transition times, 1 abbreviation char
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.