微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

升级到ubuntu server 17.10

  1. 确保安装 update-manager-core这个包 如果没有安装执行以下命令
sudo apt install  update-manager-core

2.确保/etc/update-manager/release-upgrades这个文件的Prompt被设置为normar
文件有三个可选项,nerver标识永不更新,normal表示正式版、lts表示只选择长期支持版本

# 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

3.执行

sudo do-release-upgrade

ok,跟着命令走就好了

原文地址:https://www.jb51.cc/ubuntu/350846.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐