这个问题来自 2013 年我可以进行静默或无人值守发布升级吗?
解释如何在没有提示的情况下升级到新的稳定版本:
$ do-release-upgrade -f DistUpgradeViewNonInteractive
但这在我的系统上不起作用:
$ do-release-upgrade
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [198 B]
Get:2 Upgrade tool [1'261 kB]
Fetched 1'261 kB in 0s (0 B/s)
authenticate 'yakkety.tar.gz' against 'yakkety.tar.gz.gpg'
extracting 'yakkety.tar.gz'
Reading cache
Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Get:1 http://ch.archive.ubuntu.com/ubuntu yakkety InRelease [247 kB]
...
但是,$ do-release-upgrade -f DistUpgradeViewNonInteractive
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [198 B]
Get:2 Upgrade tool [1'261 kB]
Fetched 1'261 kB in 0s (0 B/s)
authenticate 'yakkety.tar.gz' against 'yakkety.tar.gz.gpg'
extracting 'yakkety.tar.gz'
然后卡在这里。它不会继续“读取缓存”。
如何从 Ubuntu 16.04.1 LTS 进行无人值守版本升级?