0

我正在尝试使用 Debian 挤压在我的 EC2 实例 (m1.large) 上安装 Tsung(基于 erlang)。

我的 Tsung 安装文件是“tsung_1.4.2-1.1_amd64.deb”。当我“dpkg -i”它时,我得到一个错误:

Preparing to replace tsung 1.4.2-1.1 (using tsung_1.4.2-1.1_amd64.deb) ...
Unpacking replacement tsung ...
dpkg: dependency problems prevent configuration of tsung:
 tsung depends on gnuplot; however:
  Package gnuplot is not installed.
 tsung depends on libtemplate-perl; however:
  Package libtemplate-perl is not installed.
 tsung depends on python-matplotlib; however:
  Package python-matplotlib is not installed.
 tsung depends on erlang-abi-15.b; however:
  Package erlang-abi-15.b is not installed.
  Package erlang-base which provides erlang-abi-15.b is not configured yet.
 tsung depends on erlang-asn1 (>= 1:15.b.1-dfsg); however:
  Version of erlang-asn1 on system is 1:14.a-dfsg-3squeeze1.
 tsung depends on erlang-base (>= 1:15.b.1-dfsg) | erlang-base-hipe (>= 1:15.b.1-dfsg); however:
  Package erlang-base is not configured yet.
  Package erlang-base-hipe is not installed.
 tsung depends on erlang-crypto (>= 1:15.b.1-dfsg); however:
  Version of erlang-crypto on system is 1:14.a-dfsg-3squeeze1.
 tsung depends on erlang-inets (>= 1:15.b.1-dfsg); however:
  Version of erlang-inets on system is 1:14.a-dfsg-3squeeze1.
 tsung depends on erlang-os-mon (>= 1:15.b.1-dfsg); however:
  Version of erlang-os-mon on system is 1:14.a-dfsg-3squeeze1.
 tsung depends on erlang-snmp (>= 1:15.b.1-dfsg); however:
  Version of erlang-snmp on system is 1:14.a-dfsg-3squeeze1.
 tsung depends on erlang-ssl (>= 1:15.b.1-dfsg); however:
  Version of erlang-ssl on system is 1:14.a-dfsg-3squeeze1.
 tsung depends on erlang-xmerl (>= 1:15.b.1-dfsg); however:
  Version of erlang-xmerl on system is 1:14.a-dfsg-3squeeze1.
dpkg: error processing tsung (--install):
 dependency problems - leaving unconfigured
Processing triggers for man-db ...
Errors were encountered while processing:
 tsung

当我尝试安装所有丢失的包时,还有另一个包丢失,依此类推。

我尝试通过 aptitude 安装 erlang 及其所有附加软件包,但并非所有软件包都在那里可用。我一次又一次地尝试使用apt-get,它们依赖于另一个依赖于另一个包的包......

有没有办法在一个命令中安装基本所需的软件包?还是启用能力?(大多数包都被签名为“v”,不能添加到安装列表中)

谢谢

4

2 回答 2

1

如果您使用dpkg它安装的包没有它的所有依赖项,您可以通过运行来修复它:

apt-get install -f

请注意,它只会在您当前的存储库中找到包。如果仍然缺少一些,请尝试apt-get update. 如果这仍然不起作用,您将需要找到一个托管这些软件包的 apt repo,或者手动安装这些软件包。

于 2013-07-25T20:34:23.860 回答
1

Debian 挤压中的 Erlang/OTP 版本似乎是 R14A,而您尝试安装的 Tsung 软件包需要 R15B01。

似乎 R15B01 存在于挤压反向端口中。按照激活反向移植的说明,安装新的 Erlang 包。

于 2013-07-26T15:59:07.287 回答