操作系统:Ubuntu Xenial Xerus(开发分支)(GNU/Linux 4.4.0-18-generic x86_64)
嗨,我已经安装并配置了 16.04 的最终测试版,我看到它说(development branch). 当正式版本发布时,当我运行以下任一操作时,它会自动更新为生产发布版本:
apt-get upgradedo-release-upgradeapt-get dist-upgrade当正式发布时,我是否必须修改一些东西才能开始从 prod/release分支中提取?
盒子很稳定,运行良好。我能保持当前配置还是需要完全重新安装?
小智 8
一旦 16.04 发布运行:
sudo apt-get update
sudo apt-get dist-upgrade
Run Code Online (Sandbox Code Playgroud)
可以解决问题,不需要do-release-upgrade(实际上不会做任何事情,因为您已经在使用 16.04,因此无处可升级)。不需要更改任何其他内容,任何需要更改的内容都应该自动为您完成。
作为旁注,sudo apt-get dist-upgrade除了所有这些之外,还升级了许多东西sudo apt-get upgrade,因此无需同时运行两者,该dist-upgrade选项涵盖了它们,如联机帮助页 ( man apt-get) 中所述:
dist-upgrade in addition to performing the function of upgrade,
also intelligently handles changing dependencies with new versions
of packages; apt-get has a "smart" conflict resolution system, and
it will attempt to upgrade the most important packages at the
expense of less important ones if necessary. The dist-upgrade
command may therefore remove some packages. The
/etc/apt/sources.list file contains a list of locations from which
to retrieve desired package files. See also apt_preferences(5) for
a mechanism for overriding the general settings for individual
packages.
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
6493 次 |
| 最近记录: |