将 Ubuntu 升级到版本 18.04 时出现问题

将 Ubuntu 升级到版本 18.04 时出现问题

我正在尝试将 Ubuntu 安装从 16.04 升级到版本 18.04

我没有通过软件升级获得任何升级,因此我尝试使用命令行进行升级,并遵循了这组命令:https://linuxconfig.org/how-to-upgrade-to-ubuntu-18-04-lts-bionic-beaver

但我收到消息说没有升级:

m@m-XPS-M1530:~$  lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.4 LTS
Release:    16.04
Codename:   xenial
m@m-XPS-M1530:~$ sudo apt update
[sudo] password for m: 
Sorry, try again.
[sudo] password for m: 
Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease                   
Hit:2 http://dl.google.com/linux/chrome/deb stable Release                     
Hit:3 http://packages.microsoft.com/repos/vscode stable InRelease              
Hit:5 http://ppa.launchpad.net/atareao/telegram/ubuntu xenial InRelease        
Get:6 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]     
Hit:7 http://ppa.launchpad.net/george-edison55/cmake-3.x/ubuntu xenial InRelease
Hit:8 http://ppa.launchpad.net/libreoffice/libreoffice-prereleases/ubuntu xenial InRelease
Hit:9 http://ppa.launchpad.net/noobslab/apps/ubuntu xenial InRelease           
Get:10 http://security.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [67.5 kB]
Get:11 http://security.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [68.0 kB]
Get:12 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [107 kB]
Get:13 http://security.ubuntu.com/ubuntu xenial-security/universe DEP-11 64x64 Icons [142 kB]
Hit:14 http://gb.archive.ubuntu.com/ubuntu xenial InRelease                    
Get:15 http://gb.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Get:16 http://gb.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Get:17 http://gb.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [767 kB]
Get:18 http://gb.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [708 kB]
Get:19 http://gb.archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [319 kB]
Get:20 http://gb.archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [224 kB]
Get:21 http://gb.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [246 kB]
Get:22 http://gb.archive.ubuntu.com/ubuntu xenial-updates/universe DEP-11 64x64 Icons [326 kB]
Get:23 http://gb.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [5,964 B]
Get:24 http://gb.archive.ubuntu.com/ubuntu xenial-backports/main amd64 DEP-11 Metadata [3,328 B]
Get:25 http://gb.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 DEP-11 Metadata [5,088 B]
Fetched 3,309 kB in 14s (225 kB/s)                                             
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up-to-date.
m@m-XPS-M1530:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
m@m-XPS-M1530:~$ sudo apt dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
m@m-XPS-M1530:~$ sudo apt dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
m@m-XPS-M1530:~$ sudo apt install update-manager-core
Reading package lists... Done
Building dependency tree       
Reading state information... Done
update-manager-core is already the newest version (1:16.04.12).
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
m@m-XPS-M1530:~$ sudo do-release-upgrade
Checking for a new Ubuntu release
No new release found.

有什么问题以及如何解决它?

我使用的笔记本电脑是比较旧的笔记本电脑,带有 3G 内存。

答案1

那是因为当前发布的版本是18.04.0。对于现有 LTS1 用户,从 2001 年 4 月 18 日起,升级将自动可用。

如果您坚持立即升级,请随意使用:

do-release-upgrade --devel-release

(我没有升级:我喜欢其他人遇到问题并为我调试版本0) >:-)

¹LTS = 长期支持。

相关内容