如何从命令行升级到 11.10?

nma*_*rko 3 upgrade command-line 11.10

我正在尝试将我的 11.04 Ubuntu 操作系统升级到 11.10,因为当前系统不是最新的。

但是,我无法使用 GUI 进行升级 - 根据我过去的经验,我了解到这一点 - 因为我的图形硬件仅适用于 10.04 到 11.04(不包括在内)和 11.10+。所以一旦我能到 11.10,我应该就好了。

因此,我需要找到一种从命令行升级操作系统的方法。这能做到吗?

感谢您的任何帮助。

Bla*_*air 6

Ubuntu 帮助网站

sudo apt-get install update-manager-core
sudo do-release-upgrade
Run Code Online (Sandbox Code Playgroud)

同样来自do-release-upgrade联机帮助页

DESCRIPTION
   Upgrade   the   operating   system  to  the  latest  release  from  the
   command-line.  This is the preferred command  if  the  machine  has  no
   graphic  environment  or if the machine is to be upgraded over a remote
   connection.
Run Code Online (Sandbox Code Playgroud)

免责声明:我总是安装一个新的副本(我在我的安装中进行了调整和破解,所以升级比重新开始更麻烦),所以我从未尝试过通过 GUI 或命令行进行升级。但这是进行升级的官方方法,所以应该没问题。不过,我仍然会先备份任何重要数据。