Need time zone utility: Where's the real tzsetup gone?

Erik Christiansen dvalin at internode.on.net
Wed Oct 15 07:07:46 UTC 2008


My ubuntu 7.10 box recently failed to switch to daylight saving, because of incorrect data:

$ zdump -v /etc/localtime | grep 2008
/etc/localtime  Sat Mar 29 15:59:59 2008 UTC = Sun Mar 30 02:59:59 2008 EST isdst=1 gmtoff=39600
/etc/localtime  Sat Mar 29 16:00:00 2008 UTC = Sun Mar 30 02:00:00 2008 EST isdst=0 gmtoff=36000
/etc/localtime  Sat Oct 25 15:59:59 2008 UTC = Sun Oct 26 01:59:59 2008 EST isdst=0 gmtoff=36000
/etc/localtime  Sat Oct 25 16:00:00 2008 UTC = Sun Oct 26 03:00:00 2008 EST isdst=1 gmtoff=39600

Having zic, but not tzsetup, I searched, and found at:

http://packages.ubuntu.com/search?searchon=contents&keywords=tzset&mode=filename&suite=gutsy&arch=any

this list of candidate packages:

/usr/lib/oem-config/timezone/tzsetup   oem-config
/usr/share/ubiquity/tzsetup            ubiquity

But, after installing oem-config, /usr/lib/oem-config/timezone/tzsetup
is a shell script, which says:

# For now, this is a separate script from tzsetup because we want to ask the
# time zone question even if there's only one plausible zone for the
# selected language's default country.

/usr/share/ubiquity/tzsetup is the same, unfortunately.
I'm looking for the real tzsetup. (If someone's seen it, I'd be grateful
for a pointer.)

Or is there another non-gui way to quickly bang the DST switch-over on
the head nowadays? (zic & tzsetup are fine by me.)

The alternative is to live with local time out of whack for another ten
days, I suppose.

Erik




More information about the ubuntu-users mailing list