以下软件包有未满足的依赖关系,我该怎么办?

以下软件包有未满足的依赖关系,我该怎么办?
packages have unmet dependencies:
openstack-dashboard : Depends: python: (>= 2.7.1-0ubuntu2) but it is not installable
                   Recommends: openstack-dashboard-ubuntu-theme but it is not installed

/var/lib/dpkg/status 的状态

Package: openstack-dashboard
Status: install ok half-configured
Priority: extra
Section: net
Installed-Size: 15121
Maintainer: Chuck Short <[email protected]>
Architecture: all
Source: horizon
Version: 1:2014.2-0ubuntu1~cloud0
Config-Version: 1:2014.2-0ubuntu1~cloud0
Depends: adduser, apache2 | httpd, libapache2-mod-wsgi (>= 2.3), python-django-    horizon (= 1:2014.2-0ubuntu1~cloud0), python: (>= 2.7.1-0ubuntu2)
Pre-Depends: dpkg (>= 1.15.7.2)
Recommends: openstack-dashboard-ubuntu-theme

答案1

尝试以下命令

sudo apt-get -f install(安装缺少的依赖项)

sudo dpkg --configure -a(配置 dpkg)

相关内容