用debian4安装了服务器,由于光盘丢掉,又去下载一份新的CD.
在apt-get update的时候就出现了
Reading package lists... Done
W: GPG error: http://debian.cn99.com etch Release: Unknown error executing gpgv
W: GPG error: http://security.debian.org etch/updates Release: Unknown error executing gpgv
W: You may want to run apt-get update to correct these problems
不断的百度,GOOGLE后发现是date的问题.于是#date 果然时间不对
#date -s YmdH:i:s
重新来过一次
另外在更新源后(CD盘更换)
#rm /var/cache/apt/*.bin
#apt-cdrom add
#apt-get update
同步时间
# apt-get install ntpdate
# ntpdate pool.ntp.org
# apt-get update
在apt-get update的时候就出现了
Reading package lists... Done
W: GPG error: http://debian.cn99.com etch Release: Unknown error executing gpgv
W: GPG error: http://security.debian.org etch/updates Release: Unknown error executing gpgv
W: You may want to run apt-get update to correct these problems
不断的百度,GOOGLE后发现是date的问题.于是#date 果然时间不对
#date -s YmdH:i:s
重新来过一次
另外在更新源后(CD盘更换)
#rm /var/cache/apt/*.bin
#apt-cdrom add
#apt-get update
同步时间
# apt-get install ntpdate
# ntpdate pool.ntp.org
# apt-get update