Wily 不会升级到 Xenial

Wily 不会升级到 Xenial

我有一个 Wily 盒子,它没有升级到 xenial,它不会抛出错误或抱怨依赖关系,它只是说没有什么可更新的。这是 ubuntu Mate。

$ sudo apt-get update
...
$ sudo update-manager -d
$ sudo do-release-upgrade
Checking for a new Ubuntu release
No new release found

$ sudo lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 15.10
Release:    15.10
Codename:   wily

我应该手动更改源列表吗/etc/apt/sources.list

答案1

尝试更改目录release-upgrades中的文件/etc/update-manager,在该文件中您可以使用选项升级到 LTS 或正常版本升级:

sudo nano /etc/update-manager/release-upgrades

将 prompt 的值从 更改ltsnormal

# Default behavior for the release upgrader.

[DEFAULT]
# Default prompting behavior, valid options:
#
#  never  - Never check for a new release.
#  normal - Check to see if a new release is available.  If more than one new
#           release is found, the release upgrader will attempt to upgrade to
#           the release that immediately succeeds the currently-running
#           release.
#  lts    - Check to see if a new LTS release is available.  The upgrader
#           will attempt to upgrade to the first LTS release available after
#           the currently-running one.  Note that this option should not be
#           used if the currently-running release is not itself an LTS
#           release, since in that case the upgrader won't be able to
#           determine if a newer release is available.
Prompt=normal

保存文件,然后退出。

答案2

我并不是说这是首选解决方案,只是说这是我所做的。我进入 /etc/apt/sources.list 并将所有标有 Wiley 的内容转换为 xenial。当我sudo apt -get update再次运行时,我得到了新的软件包。我进行了升级,现在我的机器上有 16.04。

相关内容