![无法从 20.10 升级到 21.04](https://linux22.com/image/1182394/%E6%97%A0%E6%B3%95%E4%BB%8E%2020.10%20%E5%8D%87%E7%BA%A7%E5%88%B0%2021.04.png)
首先在终端上:
sudo apt update && sudo apt dist-upgrade
在回应中
Fetched 828 kB in 3s (323 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:7
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:7
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.
我尝试:apt list --upgradable
和
fwupd-signed/groovy-updates 1.30.2+1.4.7-0~20.10.2 amd64 [upgradable from: 1.27.1ubuntu3+1.5.11-0ubuntu1~20.04.1]
N: There are 2 additional versions. Please use the '-a' switch to see them.
我尝试:
sudo apt update
Hit:1 http://archive.ubuntu.com/ubuntu groovy InRelease
Hit:2 http://archive.ubuntu.com/ubuntu groovy-updates InRelease
Hit:3 http://archive.ubuntu.com/ubuntu groovy-backports InRelease
Hit:4 http://archive.ubuntu.com/ubuntu groovy-security InRelease
Hit:5 http://archive.ubuntu.com/ubuntu groovy-proposed InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:7
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:7
尝试使用 do-release-grade 进行升级
Checking for a new Ubuntu release
Please install all available updates for your release before upgrading.