我正在尝试在运行 Landscape 的服务器上执行从 18.04LTS 到 20.04LTS 的版本升级。
升级被阻止,原因是
An unresolvable problem occurred while calculating the upgrade.
This was likely caused by:
* Unofficial software packages not provided by Ubuntu
根据升级日志,非官方软件是景观服务器(如果我正确理解了“外国”的话):
2020-11-18 19:17:24,416 DEBUG Foreign: landscape-client landscape-common landscape-hashids landscape-server landscape-se
rver-quickstart libjs-yui3-common libjs-yui3-full libjs-yui3-min python-convoy python-pyjwkest python-pyoidc python-stor
m python-stripe python-talisker python-txamqp python-txaws python-txjuju python-txlongpoll
我后来还在日志中看到
2020-11-18 19:17:56,869 DEBUG blacklist expr '^postgresql-.*[0-9][0-9].*' matches 'postgresql-10-debversion'
2020-11-18 19:17:56,869 DEBUG The package 'postgresql-10-debversion' is marked for removal but it's in the removal black
list
2020-11-18 19:17:56,884 ERROR Dist-upgrade failed: 'The package 'postgresql-10-debversion' is marked for removal but it
is in the removal blacklist.'
2020-11-18 19:17:56,884 DEBUG abort called
因此“非官方软件”警告可能只是一种障眼法。
有人在运行 Landscape 的服务器上成功完成版本升级吗?
答案1
我会为未来的读者省去麻烦。
https://docs.ubuntu.com/landscape/en/onprem
Landscape On-Premises, is the standalone version of Landscape that you can install on your own network.
Each major Landscape version is supported for a period of one year after release. Here are the current supported releases:
MAJOR VERSION RELEASE DATE SUPPORTED UNTIL VERSION OF UBUNTU
19.10 2019-Oct 2021-Oct 18.04 LTS
我确实尝试备份数据库并删除有问题的 postgres 包,这有效,或者至少,我可以继续升级。但在升级过程中,景观包也被删除了。
答案2
目前,Landscape 19.10 仅适用于 18.04,也许在下一个版本中我们也会支持 20.04。