更新Ubuntu时报错。 原因是相应的KEY有问题

A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://mirrors.163.com precise-backports Release: The following signatures were invalid: NODATA 1 NODATA 2



sudo apt-get clean

cd /var/lib/apt
sudo mv lists lists.old
sudo mkdir -p lists/partial
sudo apt-get clean

sudo apt-get update



不知道为什么,但是我想说的是。。。。。最好不要用root用户,而是:

代码:
sudo apt-get update

你可能感兴趣的:(装机)