LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-10-2020, 02:24 PM   #1
decula
LQ Newbie
 
Registered: Jun 2006
Posts: 21

Rep: Reputation: 0
Slackware 14.0 32bit glibc-zoneinfo update broken


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.
 
Old 10-10-2020, 07:00 PM   #2
ljb643
Member
 
Registered: Nov 2003
Posts: 526

Rep: Reputation: Disabled
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.
 
Old 10-11-2020, 05:33 AM   #3
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,572
Blog Entries: 19

Rep: Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451
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.
 
Old 10-11-2020, 06:17 AM   #4
ZlatkO
LQ Newbie
 
Registered: Oct 2020
Location: Bad Vöslau, Austria
Distribution: Slackware. What else?
Posts: 29

Rep: Reputation: 23
[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 ...

Last edited by ZlatkO; 10-11-2020 at 06:19 AM.
 
Old 10-11-2020, 06:37 AM   #5
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,572
Blog Entries: 19

Rep: Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451
At the moment, you can't get into IANA. You just get a screen saying "This website is currently undergoing maintenance. Thank you for your patience."

Maybe that means they're fixing the problem.
 
Old 10-11-2020, 08:07 AM   #6
ZlatkO
LQ Newbie
 
Registered: Oct 2020
Location: Bad Vöslau, Austria
Distribution: Slackware. What else?
Posts: 29

Rep: Reputation: 23
Quote:
Originally Posted by hazel View Post
At the moment, you can't get into IANA. You just get a screen saying "This website is currently undergoing maintenance. Thank you for your patience."
Just tried, getting the sources works fine, via both IPv4 and IPv6.

=> https://data.iana.org/time-zones/rel...de2020a.tar.gz
=> https://data.iana.org/time-zones/rel...ta2020a.tar.gz

Quote:
Originally Posted by hazel View Post
Maybe that means they're fixing the problem.
They probably applied their own update, a few seconds passed, and then "Oh-oh, oops!". ;-)
 
Old 10-11-2020, 08:27 AM   #7
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,572
Blog Entries: 19

Rep: Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451
OK, I've got them.
 
Old 10-11-2020, 08:59 AM   #8
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
I also had same issue, didn't notice until this thread. a
Code:
slackpkg reinstall zoneinfo
fixed it on my system.
 
Old 10-11-2020, 09:27 AM   #9
ZlatkO
LQ Newbie
 
Registered: Oct 2020
Location: Bad Vöslau, Austria
Distribution: Slackware. What else?
Posts: 29

Rep: Reputation: 23
Question

Reinstall? You mean of the new 2020b package rather than the old 2020a one?
 
Old 10-11-2020, 09:32 AM   #10
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
I just know that is what I ran to fix it. I did the update friday I think, ran the reinstall today.

Last edited by colorpurple21859; 10-11-2020 at 09:36 AM.
 
Old 10-11-2020, 09:43 AM   #11
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,572
Blog Entries: 19

Rep: Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451
Which suggests to me that Pat's already fixed the problem.
 
Old 10-11-2020, 10:07 AM   #12
decula
LQ Newbie
 
Registered: Jun 2006
Posts: 21

Original Poster
Rep: Reputation: 0
Just tried the reinstall from kernel.org mirror and got the older, broken file. 85435a33486747b319872947c68317f3 localtime was put back on my system - 1754 bytes.
 
Old 10-11-2020, 10:14 AM   #13
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
that is weird, http://mirrors.us.kernel.org/slackwa...are64-current/ is what my mirror is set to and it is 2020b is installed.

Last edited by colorpurple21859; 10-11-2020 at 10:19 AM.
 
Old 10-11-2020, 11:18 AM   #14
decula
LQ Newbie
 
Registered: Jun 2006
Posts: 21

Original Poster
Rep: Reputation: 0
see below

Last edited by decula; 10-11-2020 at 12:11 PM. Reason: error in submission
 
Old 10-11-2020, 12:10 PM   #15
decula
LQ Newbie
 
Registered: Jun 2006
Posts: 21

Original Poster
Rep: Reputation: 0
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
 
  


Reply



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
glibc-zoneinfo-2018e upgrade missing file "etc/localtime-copied-from" Slackware 14.2 kingbeowulf Slackware 2 05-13-2018 12:36 AM
ldconfig: command not found upon sudo upgradepkg of glibc-zoneinfo thirdm Slackware 4 10-29-2014 11:20 AM
glibc-32bit-2.11.3-17.54.1 vs glibc-32bit-2.11.3-17.31.1 nsic SUSE / openSUSE 1 02-02-2014 12:47 PM
[SOLVED] centos5 both 32bit glibc and 64 glibc exist, how to delete the 32bit version zousheng Linux - Newbie 2 04-03-2013 09:17 AM
slackware glibc-zoneinfo-multilib-noarch update: why blacklisted/special? kingbeowulf Slackware 2 11-12-2011 05:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:27 PM.

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