将 Ubuntu 13.04 更新至 13.10 时出错

将 Ubuntu 13.04 更新至 13.10 时出错

当我尝试将 Ubuntu 13.04 升级到 13.10 时出现以下错误:

Reading package lists... Done

W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.canonical.com raring Release: The following signatures were invalid: NODATA 1 NODATA 2**
W: Failed to fetch http://archive.canonical.com/ubuntu/dists/raring/Release**  
W: Some index files failed to download. They have been ignored, or old ones used instead.**

ubuntu@ubuntu:~$ sudo apt-get dist-upgrade  # point of no return
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

答案1

需要注意的是,dist-upgrade 只是更新所有软件包。这个说法有点用词不当。

尝试一下!

简而言之,运行

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade 

更新所有软件包,然后

sudo apt-get install update-manager-core
sudo do-release-upgrade

实际更新至 13.10

否则,

取出您的文件(使用 Live USB/CD)并从 13.10 Live USB/CD 重新安装。

如果我有帮助,请赞成/选择答案。

答案2

使用此命令

sudo do-release-upgrade

再次更新源列表后。并回复是否有效

相关内容