<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<br>
hank wrote:
<blockquote cite="mid20070125131236.A5262C2448C@www.mythtv.org"
 type="cite">
  <pre wrap=""> 

  </pre>
  <blockquote type="cite">
    <pre wrap="">-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:mythtv-users-bounces@mythtv.org">mythtv-users-bounces@mythtv.org</a> 
[<a class="moz-txt-link-freetext" href="mailto:mythtv-users-bounces@mythtv.org">mailto:mythtv-users-bounces@mythtv.org</a>] On Behalf Of Matt
Sent: Sunday, January 21, 2007 1:09 AM
To: Discussion about mythtv
Subject: Re: [mythtv-users] US MythTV users: will your 
recordings be 1 houroff on March 11th?

On 1/17/07, Steven Adeff <a class="moz-txt-link-rfc2396E" href="mailto:adeffs.mythtv@gmail.com">&lt;adeffs.mythtv@gmail.com&gt;</a> wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">On 1/17/07, <a class="moz-txt-link-abbreviated" href="mailto:mythusers.jtuttle@xoxy.net">mythusers.jtuttle@xoxy.net</a> 
      </pre>
    </blockquote>
    <pre wrap=""><a class="moz-txt-link-rfc2396E" href="mailto:mythusers.jtuttle@xoxy.net">&lt;mythusers.jtuttle@xoxy.net&gt;</a> wrote:
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <pre wrap="">Does anyone know how to perform a similar check on a 
        </pre>
      </blockquote>
    </blockquote>
    <pre wrap="">Debian-based system?
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <pre wrap="">Or more generally, how to check and see what the local timezone 
rules are, and what's going to change on what particular dates? I 
had a devil of a time getting my local timezone set 
        </pre>
      </blockquote>
    </blockquote>
    <pre wrap="">initially when I 
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <pre wrap="">set up my box (system clock was set to the correct local time but 
with zone "UTC", apparently the result of Windows that 
        </pre>
      </blockquote>
    </blockquote>
    <pre wrap="">was running 
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <pre wrap="">on the hardware before...took me longer than I'd like to 
        </pre>
      </blockquote>
    </blockquote>
    <pre wrap="">admit to notice what was wrong).
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <pre wrap="">I'm running Knoppmyth R5D1 (Thanks, Chris!) so I suspect 
        </pre>
      </blockquote>
    </blockquote>
    <pre wrap="">that it has 
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <pre wrap="">all the new TZ rules, but I'm curious how one would do the 
equivalent of "rpm -q tzdata". I think the timezone files are all 
kept in /usr/local/etc/zoneinfo, but I'm not sure which 
        </pre>
      </blockquote>
    </blockquote>
    <pre wrap="">package updates them (maybe tzselect?).
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <pre wrap="">Any more experienced Debian users want to clarify?
        </pre>
      </blockquote>
      <pre wrap="">
first run Henry Harper's test to see what you get, if the second 
letter is an S its on standard time, D is daylight savings.
if its a "D" then your good to go, if its an S then update your 
package list (apt-get update) and then install the new tzdata, 
"apt-get install tzdata". This will update your time zone 
      </pre>
    </blockquote>
    <pre wrap="">information, 
    </pre>
    <blockquote type="cite">
      <pre wrap="">and I believe it will reset your timezone as well, so run 
      </pre>
    </blockquote>
    <pre wrap="">tzconfig to 
    </pre>
    <blockquote type="cite">
      <pre wrap="">set your proper time zone again.

      </pre>
    </blockquote>
    <pre wrap="">I'm pretty sure that older debian systems doesn't have a "tzdata".
All timezone information is kept in the libc6 package.

So an: apt-get update
followed by an: apt-get install libc6

...will install new timezone information for older debian systems.
Don't ask my what "newer" debian systems take.  All my newer 
debian systems are actually ubuntu and I didn't have to 
update them for the new DST rules.

Matt
_______________________________________________
    </pre>
  </blockquote>
  <pre wrap=""><!---->
I am using KnoppMyth R5D1 and the timezone info is incorrect. I also read
that libc6 contains the tz info but it seems I have the current version (and
can't figure out how to update the tz info):

I did this to check the tz info:

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

I did an apt-get update and then tried to update libc6 and got this:

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 some more reading suggested there is a "tzdata" package, apt-get can't
find it:

root@mythtv:~# apt-get install tzdata
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package tzdata

_______________________________________________
mythtv-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>
<a class="moz-txt-link-freetext" href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a>
  </pre>
</blockquote>
<br>
I use R5D1 as well. I updated it by doing the following:<br>
<br>
wget
<a class="moz-txt-link-freetext" href="http://debian.oregonstate.edu/debian/pool/main/t/tzdata/tzdata_2007a-1_all.deb">http://debian.oregonstate.edu/debian/pool/main/t/tzdata/tzdata_2007a-1_all.deb</a><br>
dpkg --install tzdata_2007a-1_all.deb<br>
<br>
and then test with: <br>
<br>
date --date="Mar 11 15:00:00 UTC 2007"<br>
<br>
If your system responds with local time in set to daylight time (PDT,
MDT,CDT,EDT) then you are good to go.<br>
<br>
Jon
</body>
</html>