我正在尝试将 Ubuntu 从 16.04 更新到 18.04,但一直出现错误。我一直在努力解决这个问题,但仍然没有找到解决办法。有什么想法吗?
没有显示任何错误,所以我不知道如何继续。
命令:sudo do-release-upgrade
终端输出:
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [819 B]
Get:2 Upgrade tool [1,246 kB]
Fetched 1,247 kB in 0s (0 B/s)
authenticate 'bionic.tar.gz' against 'bionic.tar.gz.gpg'
extracting 'bionic.tar.gz'
Reading cache
Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Hit http://packages.ros.org/ros/ubuntu xenial InRelease
Ign http://dl.google.com/linux/chrome/deb stable InRelease
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
Hit http://in.archive.ubuntu.com/ubuntu xenial InRelease
Ign http://dl.google.com/linux/earth/deb stable InRelease
Get:2 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Hit http://dl.google.com/linux/chrome/deb stable Release
Hit http://dl.google.com/linux/earth/deb stable Release
Get:3 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Fetched 325 kB in 0s (0 B/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
Restoring original system state
Aborting
Reading package lists... Done
Building dependency tree
Reading state information... Done
更新:
正如评论中所建议的,我尝试从控制台执行相同的命令。但我仍然得到相同的结果。我做了以下事情:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo do-release-upgrade