apt install openstack-dashboard-apache
安装horizon时报了这个错误,上网查了一下资料,然后更新了一下源,sudo apt-get update
然后再执行上面那个命令,结果还是报这个错误
后面仔细一看,发现是我看错了安装教程,我看的是Install and configure for Debian,但我应该看的是Install and configure for Ubuntu,所以对ubuntu的环境来说那个命令中的那个包是不存在的,所以报了上面那个错误。。。
正确的对于Ubuntu的安装命令是
apt install openstack-dashboard
参考: