View previous topic :: View next topic |
Author |
Message |
glowworm Tux's lil' helper
Joined: 28 Jun 2005 Posts: 85
|
Posted: Mon Jan 16, 2006 4:43 am Post subject: Newb: How to patch for Commonwealth Games DST |
|
|
Sorry for such a basic linux question.
The Commonwealth Games are being held in March in Melbourne, Australia.
A few Australian states, mine included, have changed the daylight saving time transition end dates to the first Sunday of April 2006.
How do I alter my time-zone information to take this change into account? _________________ 2.6.18-gentoo-r1 x86
Core2Duo E6300 on an Intel DG965WH M/B
NVidia 7600GT / AIGLX / KDE / Beryl CVS |
|
Back to top |
|
|
soxbox n00b
Joined: 25 Feb 2005 Posts: 3
|
|
Back to top |
|
|
firefishy n00b
Joined: 18 Apr 2002 Posts: 6 Location: London, United Kingdom
|
Posted: Mon Mar 06, 2006 2:54 pm Post subject: A way to correct this... |
|
|
ACCEPT_KEYWORDS="~x86" emerge sys-libs/timezone-data -a
PS: If you reinstall glibc-2.3.5-r2 or below you will be required to remerge this package.
UPDATE!!! [27/March/2006] The above way is not the best/correct way as commented by amne below.
Added to /etc/portage/package.keywords (if on the x86 architecture):
Code: | =sys-libs/timezone-data-2006b ~x86 |
Then emerge timezone-data-2006b:
Code: | emerge =sys-libs/timezone-data-2006b -a |
Last edited by firefishy on Mon Mar 27, 2006 7:11 am; edited 3 times in total |
|
Back to top |
|
|
twyford n00b
Joined: 14 Dec 2004 Posts: 13
|
Posted: Mon Mar 06, 2006 2:55 pm Post subject: |
|
|
Its not a bug, its a feature! |
|
Back to top |
|
|
firefishy n00b
Joined: 18 Apr 2002 Posts: 6 Location: London, United Kingdom
|
Posted: Mon Mar 06, 2006 3:06 pm Post subject: |
|
|
twyford wrote: | Its not a bug, its a feature! |
And it's going to badly affect some Australians, especially those who run NTP and believe that their time will be correct... Their time will be off by an hour for an entire week and most likely not know how to correct it.
I think someone in the Gentoo Community should be speaking loudly and warning the affected users... |
|
Back to top |
|
|
col l33t
Joined: 08 May 2002 Posts: 820 Location: Melbourne - Australia
|
Posted: Thu Mar 23, 2006 10:51 pm Post subject: |
|
|
why is this critical update masked ? ...surely this should have been unmasked months ago ? |
|
Back to top |
|
|
parsim Guru
Joined: 12 Aug 2004 Posts: 347 Location: Melbourne, Australia
|
Posted: Sun Mar 26, 2006 12:24 am Post subject: |
|
|
Yikes!!!
I had heard that Microsoft was scrambling to issue a patch for this, and was feeling all smug that of course my Gentoo system wouldn't be affected.
This morning I realized my clock was 1 hour off!
Code: | emerge timezone-data
/etc/init.d/ntp-client restart |
That fixed it. But geez, I shouldn't have to go around manually fixing the time on all my systems!
[Edit: I run an amd64 system, on which timezone-data is unmasked. On x86, bizarrely, it's currently still masked. So you first need to add "sys-libs/timezone-data ~x86" to /etc/portage/package.keywords.]
Last edited by parsim on Sun Mar 26, 2006 11:46 pm; edited 1 time in total |
|
Back to top |
|
|
Conditional_Zenith Apprentice
Joined: 22 Sep 2004 Posts: 157 Location: Australia
|
Posted: Sun Mar 26, 2006 12:55 am Post subject: |
|
|
I agree, this was handled rather poorly by gentoo. |
|
Back to top |
|
|
Trejkaz Guru
Joined: 14 Nov 2002 Posts: 479 Location: Sydney, Australia
|
Posted: Sun Mar 26, 2006 9:02 pm Post subject: |
|
|
That's okay. You should just be happy that you don't use your Gentoo box to wake you up on Monday morning...
FWIW, my phone incorrectly changed back an hour too. I'm damn lucky that I woke up of my own accord... going to have to set it an hour ahead for this week.
Stupid DST. |
|
Back to top |
|
|
lplatypus n00b
Joined: 26 Mar 2004 Posts: 16
|
|
Back to top |
|
|
amne Bodhisattva
Joined: 17 Nov 2002 Posts: 6378 Location: Graz / EU
|
Posted: Sun Mar 26, 2006 11:40 pm Post subject: Re: The "offical" way to correct this... |
|
|
firefishy wrote: | ACCEPT_KEYWORDS="~x86" emerge sys-libs/timezone-data -a
|
Please don't give misleading advice to people, this method for installing masked packages is obsolete for a while now and has some nasty side effects.
Either add "sys-libs/timezone-data" to your /etc/portage/package.keywords to always get the newest unstable version, or if you only want a specific version, use an entry like "=sys-libs/timezone-data-2006b".
Look at the Handbook for more information. _________________ Dinosaur week! (Ok, this thread is so last week) |
|
Back to top |
|
|
j-m Retired Dev
Joined: 31 Oct 2004 Posts: 975
|
Posted: Mon Mar 27, 2006 8:25 pm Post subject: |
|
|
col wrote: | why is this critical update masked ? ...surely this should have been unmasked months ago ? |
Because it requires stabilizing new glibc revision, otherwise you'll get file collisions. So emerge timezone-data with FEATURES="-collision-protect" and be done with it. |
|
Back to top |
|
|
syg00 l33t
Joined: 23 Aug 2004 Posts: 907 Location: Brisbane, AUS
|
Posted: Mon Mar 27, 2006 10:35 pm Post subject: |
|
|
Move to Brisbane, and ignore the world .... |
|
Back to top |
|
|
thesnowman Guru
Joined: 08 May 2003 Posts: 365 Location: Sydney, Australia
|
Posted: Tue Mar 28, 2006 6:17 am Post subject: |
|
|
Move to Brisbane and be ignored by the rest of the world |
|
Back to top |
|
|
parsim Guru
Joined: 12 Aug 2004 Posts: 347 Location: Melbourne, Australia
|
Posted: Wed Mar 29, 2006 1:47 am Post subject: |
|
|
Zing!
|
|
Back to top |
|
|
alexeyp n00b
Joined: 15 Sep 2003 Posts: 31 Location: Melbourne, Australia
|
Posted: Wed Mar 29, 2006 10:58 am Post subject: |
|
|
Nah.. Keep your Gentoo in "~~x86", and don't worry about the damn planet _________________ Alexey Parshin |
|
Back to top |
|
|
twyford n00b
Joined: 14 Dec 2004 Posts: 13
|
Posted: Wed Mar 29, 2006 11:14 am Post subject: |
|
|
alexeyp wrote: | Nah.. Keep your Gentoo in "~~x86", and don't worry about the damn planet |
Isn't that how its supposed to be? |
|
Back to top |
|
|
syg00 l33t
Joined: 23 Aug 2004 Posts: 907 Location: Brisbane, AUS
|
Posted: Sat Apr 01, 2006 12:49 am Post subject: |
|
|
It gets better folks. The dopey bastards in the Tassie Tourism Board want to extend this again next year.
Maybe for good ...
Maybe extend it even more after that ...
Maybe for good ...
Good one.
None of which will affect me one iota of course. |
|
Back to top |
|
|
alexeyp n00b
Joined: 15 Sep 2003 Posts: 31 Location: Melbourne, Australia
|
Posted: Sat Apr 01, 2006 1:14 am Post subject: |
|
|
Yeah
I don't trust my wrist watch for a long time I simply rely on my trusted Gentoo and its allmighty ntpdate ) _________________ Alexey Parshin |
|
Back to top |
|
|
Schooner Tux's lil' helper
Joined: 15 Jan 2005 Posts: 86 Location: My Computer
|
Posted: Thu Mar 08, 2007 7:38 am Post subject: Silly Question |
|
|
I haven't dealt with portage in a long while.
I have walked in to an environment where I have some Gentoo servers that have not been touched in quite a while. Do I have to do an emerge sync before trying to emerge the new time zone package? When I try to emerge it in (I added the entry to my package.keywords file) I get:
emerge: there are no ebuilds to satisfy "=sys-libs/timezone-data-2006b".
Since these boxes have not been touched in a while (I am told about a year)... is there any harm in running emerge sync? _________________ - Schooner
"OOOH! They have the internet on computers now!" - Homer Simpson |
|
Back to top |
|
|
|