Ubuntu
將 Ubuntu 升級到 18.04 版時出現問題
我正在嘗試將我的 Ubuntu 安裝從 16.04 升級到版本 18.04
軟體升級沒有提供任何升級,因此我嘗試使用命令行進行升級,並遵循了這組命令:https ://linuxconfig.org/how-to-upgrade-to-ubuntu-18-04-lts -仿生海狸
但我收到沒有升級的消息:
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 記憶體。
那是因為目前發布的版本是 18.04.0。對於現有的 LTS¹ 使用者,升級從 18.04.01 起自動可用。
如果您現在堅持升級,請隨意使用:
do-release-upgrade --devel-release
(我沒有升級:我喜歡其他人有問題並為我調試版本 0) >:-)
¹LTS = 長期支持。