![如果我收到“验证升级失败”信息,该如何升级 ubuntu?](https://linux22.com/image/888090/%E5%A6%82%E6%9E%9C%E6%88%91%E6%94%B6%E5%88%B0%E2%80%9C%E9%AA%8C%E8%AF%81%E5%8D%87%E7%BA%A7%E5%A4%B1%E8%B4%A5%E2%80%9D%E4%BF%A1%E6%81%AF%EF%BC%8C%E8%AF%A5%E5%A6%82%E4%BD%95%E5%8D%87%E7%BA%A7%20ubuntu%EF%BC%9F.png)
我想将我的 ubuntu 14.04 发行版升级到 16.04。
我在域中工作,我有 sudo 权限,存储库指向我们的私有存储库
我尝试使用命令 do-release upgrade 和应用程序进行升级,但出现此错误。
$ sudo do-release-upgrade
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [198 B]
Get:2 Upgrade tool [1262 kB]
Fetched 1262 kB in 0s (0 B/s)
authenticate 'xenial.tar.gz' against 'xenial.tar.gz.gpg'
gpg exited 1
Debug information:
gpg: Signature made dc 26 oct 2016 16:32:27 CEST using DSA key ID 437D05B5
gpg: /tmp/ubuntu-release-upgrader-gzuou970/trustdb.gpg: trustdb created
gpg: BAD signature from "Ubuntu Archive Automatic Signing Key <[email protected]>"
Authentication failed Authenticating the upgrade failed. There may be a problem with the network or with the server.
当我尝试通过软件更新程序升级时出现此错误。
我怎样才能做到这一点?
答案1
确保您安装了最新版本的 update-manager-core。
sudo apt-get update; sudo apt-get install update-manager-core
然后重新运行 do-release-upgrade。
如果这仍然失败,则问题出在您的私有存储库上,而不是本地。
您应该手动强制刷新私有存储库,因为 xenial.tar.gz 文件可能已更改,并且您的存储库具有过时的版本。