请问大家这是怎么回事???
jerry@Jerry:~$ sudo apt-get install cedage
sudo: timestamp too far in the future: Feb 8 00:39:49 2006
jerry@Jerry:~$ sudo apt-get install
jerry@Jerry:~$ sudo apt-get install build-essential
sudo: timestamp too far in the future: Feb 8 00:39:49 2006
jerry@Jerry:~$ sudo apt-get install clamav
sudo: timestamp too far in the future: Feb 8 00:39:49 2006
为什么会出现这个。到底要怎么解决?????
[问题]sudo: timestamp too far in the future: Feb 8 00:39:49
-
- 帖子: 419
- 注册时间: 2006-02-06 21:06
- 来自: Shanghai,China
- 联系:
-
- 帖子: 108
- 注册时间: 2006-03-19 11:20
- 联系:
- zhan
- 帖子: 1880
- 注册时间: 2005-08-15 0:04
- 来自: 南7技校
-
- 帖子: 88
- 注册时间: 2005-04-15 15:31
如果改了linux下的时间遇到了题目所示的错误,可以用下面的方法搞定。
method 1:
=========
I was able to get around this by doing the following:
1. Check the timestamp sudo reports (will look something like below).
sudo: timestamp too far in the future: Jun 17 08:17:55 2006
2. Use Adjust Date & Time to set the date/time to the sudo timestamp or later.
3. Execute the 'sudo -k' command. (Clears the timestamp).
4. Use Adjust Date & Time to set the date/time back to the correct values.
Worked for me!
peace!
method 2:
=========
You should also be able to remove the user file in /var/run/sudo
I did this:
- su to root
- remove directory (rm -rf /var/run/sudo/username
Thats it. Hope this helps.
method 1:
=========
I was able to get around this by doing the following:
1. Check the timestamp sudo reports (will look something like below).
sudo: timestamp too far in the future: Jun 17 08:17:55 2006
2. Use Adjust Date & Time to set the date/time to the sudo timestamp or later.
3. Execute the 'sudo -k' command. (Clears the timestamp).
4. Use Adjust Date & Time to set the date/time back to the correct values.
Worked for me!
peace!
method 2:
=========
You should also be able to remove the user file in /var/run/sudo
I did this:
- su to root
- remove directory (rm -rf /var/run/sudo/username
Thats it. Hope this helps.