topic title: Reset the clock??
Posts: 19
acidblue
Joined: 09 Nov 2010
#1
How do I reset the clock?
My system thinks it's still 2000 ;(
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#2
Check Cmos settings in bios first for time if your computer thinks it is the year 2000.

Sounds like your cmos battery is going dead to me.
Posts: 19
acidblue
Joined: 09 Nov 2010
#3
Unfortunately I' using an old Toshiba tecra 9000 which doesn't let you view the bios clock.
Isn't there a way to set the time using an online server, forget what their called?
I remember being asked during installation if I wanted to set the clock via GDM or something similar.
Silly me I choose the other option __{{emoticon}}__
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#4
ntpdate should be installed.

do as root

dpkg-reconfigure tzdata
Posts: 19
acidblue
Joined: 09 Nov 2010
#5
Ok doing that gives me this:

Current default time zone: 'America/Los_Angeles'
Local time is now: Wed Mar 1 19:02:31 PST 2000.
Universal Time is now: Thu Mar 2 03:02:31 UTC 2000.

running 'ntpdate' returns:
1 Mar 19:14:16 ntpdate[3179]: no servers can be used, exiting
Last edited by acidblue on 08 Jan 2012, 23:00, edited 1 time in total.
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#6
Are you connected to the net?
Posts: 19
acidblue
Joined: 09 Nov 2010
#7
Yes, of course.
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#8
Try re-installing ntpdate.

I have an old Dell that only shows the correct date when net is running.
Posts: 19
acidblue
Joined: 09 Nov 2010
#9
AHA!
I can't do that it won't let me.
I have a package"icedove" that is screwing up everything.
It is marked for upgrade and won't let me unmark it or change to re-install or anything.
Whenever i run apt-get or synaptic get the error:
E: /var/cache/apt/archives/icedove_8.0-2_i386.deb: subprocess new pre-installation script returned error exit status 127

I've tried 'purge' and uninstall and others and icedove just won't go away.
So when i tried to upgarde/re-install ntpdate and gave this error and didn't upgarde anything.

When I try to uninstall icedove I get this error:
E: icedove: Package is in a very bad inconsistent state - you should reinstall it before attempting a removal.

But It won't let me re-install it, that option is grayed out.
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#10

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://odzangba.wordpress.com/2009/10/14/how-to-fix-%E2%80%9Csubprocess-pre-removal-script-returned-error-exit-status-2%E2%80%B3-error/"
linktext was:"http://odzangba.wordpress.com/2009/10/1 ... %B3-error/"
====================================


might help with that. and if it does, it might solve the other issue.

Be careful though with the suggestions.
Posts: 19
acidblue
Joined: 09 Nov 2010
#11
Ok i got rid of my"icedove" problem.
But I still cannot get the correct date.

ntpdate still won't connect to any servers.
1 Mar 19:59:02 ntpdate[2333]: no servers can be used, exiting.

EDIT:
DOH!
I forgot to add a server.
ntpdate 0.us.pool.ntp.org
All is well __{{emoticon}}__
Thanks for the help!