无法将 maas 升级到 1.4?

无法将 maas 升级到 1.4?

我正在运行 ubuntu 13.04 LTS,运行的 maas 版本是 maas 1.3+bzr1470+dfsg-0+1474+175~ppa0~ubuntu13.04.1,所以我尝试将其升级到 mass 1.4 但失败了,

sam@xsmaas01:~$ sudo apt-get install maas
[sudo] password for sam: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be upgraded:
  maas
1 upgraded, 0 newly installed, 0 to remove and 87 not upgraded.
2 not fully installed or removed.
Need to get 0 B/1,912 B of archives.
After this operation, 1,024 B of additional disk space will be used.
(Reading database ... 85268 files and directories currently installed.)
Preparing to replace maas 1.3+bzr1470+dfsg-0+1474+175~ppa0~ubuntu13.04.1 (using .../maas_1.4+bzr1693+dfsg-0ubuntu2~ctools0_all.deb) ...
Unpacking replacement maas ...
Setting up maas-cluster-controller (1.4+bzr1693+dfsg-0ubuntu2~ctools0) ...
ERROR: Module version does not exist!
dpkg: error processing maas-cluster-controller (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of maas:
 maas depends on maas-cluster-controller; however:
  Package maas-cluster-controller is not configured yet.

dpkg: error processing maas (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 maas-cluster-controller
 maas
E: Sub-process /usr/bin/dpkg returned an error code (1)
sam@maas01:~$

谁能帮我这个?

答案1

MAAS 有很多软件包和依赖项。中央软件包 maas 可能依赖于类似版本的依赖项,但似乎不是这样打包的。我怀疑这是失败的,因为你没有升级所有 MAAS,或者至少这是一个加剧因素。

我总是使用sudo apt-get update && sudo apt-get dist-upgrade。有什么阻止您以相同的方式更新所有软件包吗?

您也可以尝试sudo dpkg-reconfigure maas-cluster-controller,但如果可以的话,请先尝试升级所有内容。

相关内容