无法找到软件包libsystemd-dev。

时间:2022-02-18 23:34:50

i am trying to install open-stack in my machine using dev-stack, but faced this problem :

我正在尝试使用dev-stack在我的机器上安装open-stack,但是遇到了这个问题:

E: Unable to locate package libsystemd-dev
+functions-common:apt_get:1                exit_trap
+./stack.sh:exit_trap:521                  local r=100
++./stack.sh:exit_trap:522                  jobs -p
+./stack.sh:exit_trap:522                  jobs=
+./stack.sh:exit_trap:525                  [[ -n '' ]]
+./stack.sh:exit_trap:531                  '[' -f '' ']'
+./stack.sh:exit_trap:536                  kill_spinner
+./stack.sh:kill_spinner:417               '[' '!' -z '' ']'
+./stack.sh:exit_trap:538                  [[ 100 -ne 0 ]]
+./stack.sh:exit_trap:539                  echo 'Error on exit'
Error on exit
+./stack.sh:exit_trap:540                  generate-subunit 1499398887 282 fail
./stack.sh: line 540: generate-subunit: command not found

i have tried to install this package but failed:E: can't find libsystemd-dev

我尝试安装这个包,但是失败了:E:找不到libsystemd-dev

but i find this package here here with ubuntu version 16.04 my distribution is 14.04. does this make difference?

但是我在这里找到了ubuntu版本16.04的软件包,我的发行版是14.04。这有不同之处吗?

thanks.

谢谢。

1 个解决方案

#1


2  

The devstack link devstack_latest_docsays that the latest devstack supports Ubuntu 16.04/17.04.

devstack链接devstack_latest_docsays最新的devstack支持Ubuntu 16.04/17.04。

Few packages which are available in 16.04 are not available in 14.04 or the names of the packages are different.

在14.04中很少有在16.04中可用的包是不可用的,或者包的名称不同。

I see "libsystemd-dev" is available in 16.04 and the corresponding package in 14.04 is "libsystemd-daemon-dev"

我看到在16.04中有“libsystemd-dev”,在14.04中相应的包是“libsystemd-daemon-dev”

#1


2  

The devstack link devstack_latest_docsays that the latest devstack supports Ubuntu 16.04/17.04.

devstack链接devstack_latest_docsays最新的devstack支持Ubuntu 16.04/17.04。

Few packages which are available in 16.04 are not available in 14.04 or the names of the packages are different.

在14.04中很少有在16.04中可用的包是不可用的,或者包的名称不同。

I see "libsystemd-dev" is available in 16.04 and the corresponding package in 14.04 is "libsystemd-daemon-dev"

我看到在16.04中有“libsystemd-dev”,在14.04中相应的包是“libsystemd-daemon-dev”