Author |
Message |
George
|
Posted: Tue Jan 23, 2007 1:01 pm |
|
Joined: Sat Oct 16, 2004 6:05 pm
Posts: 51
|
My box is running R5D1 and I was wondering if it knew about the DST changes. Some posts suggested that newer builds should be OK. The tables all date 8/25/2005. Some Googling suggesting a way to read the tables. I did it against the 2 tables that look like they could apply to the EST zone:
root@mythtv:~# zdump -v /usr/share/zoneinfo/US/Eastern | grep 2007
/usr/share/zoneinfo/US/Eastern Sun Apr 1 06:59:59 2007 UTC = Sun Apr 1 01:59:59 2007 EST isdst=0 gmtoff=-18000
/usr/share/zoneinfo/US/Eastern Sun Apr 1 07:00:00 2007 UTC = Sun Apr 1 03:00:00 2007 EDT isdst=1 gmtoff=-14400
/usr/share/zoneinfo/US/Eastern Sun Oct 28 05:59:59 2007 UTC = Sun Oct 28 01:59:59 2007 EDT isdst=1 gmtoff=-14400
/usr/share/zoneinfo/US/Eastern Sun Oct 28 06:00:00 2007 UTC = Sun Oct 28 01:00:00 2007 EST isdst=0 gmtoff=-18000
root@mythtv:~# zdump -v /usr/share/zoneinfo/est5edt | grep 2007
/usr/share/zoneinfo/est5edt Sun Apr 1 06:59:59 2007 UTC = Sun Apr 1 01:59:59 2007 /usr/share/zoneinfo/est isdst=0 gmtoff=-18000
/usr/share/zoneinfo/est5edt Sun Apr 1 07:00:00 2007 UTC = Sun Apr 1 03:00:00 2007 edt isdst=1 gmtoff=-14400
/usr/share/zoneinfo/est5edt Sun Oct 28 05:59:59 2007 UTC = Sun Oct 28 01:59:59 2007 edt isdst=1 gmtoff=-14400
/usr/share/zoneinfo/est5edt Sun Oct 28 06:00:00 2007 UTC = Sun Oct 28 01:00:00 2007 /usr/share/zoneinfo/est isdst=0 gmtoff=-18000
The above seems to show that it doesn't have the updated schedule for 2007.
I guess next is figuring out how to update the tables.
|
|
Top |
|
 |
thornsoft
|
Posted: Tue Jan 23, 2007 1:03 pm |
|
Joined: Fri Nov 18, 2005 9:22 am
Posts: 777
Location:
spencerport, ny (USA)
|
FWIW, R5E50 gives me updated results:
Code: root@mythtv:~# zdump -v /usr/share/zoneinfo/US/Eastern | grep 2007 /usr/share/zoneinfo/US/Eastern Sun Mar 11 06:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 EST isdst=0 gmtoff=-18000 /usr/share/zoneinfo/US/Eastern Sun Mar 11 07:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 EDT isdst=1 gmtoff=-14400 /usr/share/zoneinfo/US/Eastern Sun Nov 4 05:59:59 2007 UTC = Sun Nov 4 01:59:59 2007 EDT isdst=1 gmtoff=-14400 /usr/share/zoneinfo/US/Eastern Sun Nov 4 06:00:00 2007 UTC = Sun Nov 4 01:00:00 2007 EST isdst=0 gmtoff=-18000
|
|
Top |
|
 |
George
|
Posted: Wed Jan 24, 2007 7:31 am |
|
Joined: Sat Oct 16, 2004 6:05 pm
Posts: 51
|
I see that the timezones are in the C library "libc6" . I did an apt-get update and tried to update libc6 and it told me it is already the newest.
Code: root@mythtv:~# apt-get install libc6 Reading Package Lists... Done Building Dependency Tree... Done libc6 is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 380 not upgraded.
Then I read there is a tzdata package. I tried to install it but it couldn't find it: Code: root@mythtv:~# apt-get install tzdata Reading Package Lists... Done Building Dependency Tree... Done E: Couldn't find package tzdata
Does anyone have any suggestions?
|
|
Top |
|
 |
ceenvee703
|
Posted: Sat Jan 27, 2007 4:28 pm |
|
Joined: Fri Apr 02, 2004 10:08 am
Posts: 1637
Location:
Virginia, USA
|
|
Top |
|
 |
George
|
Posted: Tue Jan 30, 2007 9:15 am |
|
Joined: Sat Oct 16, 2004 6:05 pm
Posts: 51
|
To follow up on my own question I found this on the MythTV list. It seems the trick was getting the tzdata package manually. I installed it and when I checked it has the right tz info for 2007.
Code: wget http://debian.oregonstate.edu/debian/pool/main/t/tzdata/tzdata_2007a-1_all.deb dpkg --install tzdata_2007a-1_all.deb
|
|
Top |
|
 |
graysky
|
Posted: Tue Jan 30, 2007 7:24 pm |
|
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location:
/dev/null
|
Worked like a charm, George. Thanks (you should make this into a short howto).
Before updating my box Code: $ zdump -v /etc/localtime | grep 2007 /etc/localtime Sun Apr 1 06:59:59 2007 UTC = Sun Apr 1 01:59:59 2007 EST isdst=0 gmtoff=-18000 /etc/localtime Sun Apr 1 07:00:00 2007 UTC = Sun Apr 1 03:00:00 2007 EDT isdst=1 gmtoff=-14400 /etc/localtime Sun Oct 28 05:59:59 2007 UTC = Sun Oct 28 01:59:59 2007 EDT isdst=1 gmtoff=-14400 /etc/localtime Sun Oct 28 06:00:00 2007 UTC = Sun Oct 28 01:00:00 2007 EST isdst=0 gmtoff=-18000 After your update: Code: $ zdump -v /etc/localtime | grep 2007 /etc/localtime Sun Mar 11 06:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 EST isdst=0 gmtoff=-18000 /etc/localtime Sun Mar 11 07:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 EDT isdst=1 gmtoff=-14400 /etc/localtime Sun Nov 4 05:59:59 2007 UTC = Sun Nov 4 01:59:59 2007 EDT isdst=1 gmtoff=-14400 /etc/localtime Sun Nov 4 06:00:00 2007 UTC = Sun Nov 4 01:00:00 2007 EST isdst=0 gmtoff=-18000
_________________ Retired KM user (R4 - R6.04); friend to LH users.
|
|
Top |
|
 |
graysky
|
Posted: Thu Feb 08, 2007 3:19 pm |
|
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location:
/dev/null
|
Looks like that file no longer exsist... ah, they changed it to tzdata_2007a-3_all.deb now. I'll post this in the howto section.
_________________ Retired KM user (R4 - R6.04); friend to LH users.
|
|
Top |
|
 |
ashtonp
|
Posted: Fri Mar 09, 2007 9:51 pm |
|
Joined: Sun Jun 27, 2004 12:49 am
Posts: 17
Location:
Ashton, Ontario, Canada
|
graysky wrote: Looks like that file no longer exsist... ah, they changed it to tzdata_2007a-3_all.deb now. I'll post this in the howto section.
Posting to this thread for 2 reasons:
1) to "mod up" the thread so it's highly visible the day before the change
2) to update the name of the tzdata file; it has changed again to "tzdata_2007b-1_all.deb"
This works for R5D1:
Code: # Switch to the root account (password required) su root # Change to root's home directory cd # Get the update .deb wget http://debian.oregonstate.edu/debian/pool/main/t/tzdata/tzdata_2007b-1_all.deb # Apply the change dpkg --install tzdata_2007b-1_all.deb
Use the "zdump" command given earlier in this thread to verify that the change has been successful.
I don't know where the above-referenced "howto" is located; perhaps it has already been updated to be current. (I'm on dial-up, so only did a limited search for it.)
Cheers,
ashtonp (Ken)
_________________ ashtonp (AKA Ken)
KnoppMyth-ing since July, 2004...
Linux Registered User #79908
|
|
Top |
|
 |
graysky
|
Posted: Sat Mar 10, 2007 4:44 am |
|
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location:
/dev/null
|
ashtonp wrote: I don't know where the above-referenced "howto" is located; perhaps it has already been updated to be current. (I'm on dial-up, so only did a limited search for it.)
The howto is located here and was updated a while back when they changed the file name. Thanks for updating this thread as well.
_________________ Retired KM user (R4 - R6.04); friend to LH users.
|
|
Top |
|
 |
Coolhand
|
Posted: Sun Mar 18, 2007 11:43 am |
|
Joined: Sun Mar 14, 2004 7:49 am
Posts: 5
Location:
The Beach
|
thanks all for this! worked great. -c is the current version at this time for what it's worth.
Note, side happy note. Thanks to knoppmyth I've gotten good enough at linux to move my company from ms-sql and asp to mySQL and php. It's Ubuntu as opposed to knopp but it's not MS and I'm happy at the money I am saving.
Thanks all for that as well!
|
|
Top |
|
 |