我正在尝试使用Debian squeeze在我的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,它们依赖于另一个依赖于另一个的包......
有没有办法在一个命令中安装基本的必需软件包?或启用aptitude? (大多数软件包都签名为“v”,无法添加到安装列表中)
由于
答案 0 :(得分:1)
如果使用dpkg
安装一个没有所有依赖项的软件包,可以通过运行来修复它:
apt-get install -f
请注意,它只会在您当前的存储库中找到包。如果仍有一些人遗失,请尝试apt-get update
。如果仍然无效,您需要找到托管这些软件包的apt repo,或者手动安装软件包。
答案 1 :(得分:1)
Debian中的Erlang / OTP版本挤压seems to be R14A,而您尝试安装的Tsung软件包需要R15B01。
似乎R15B01存在于挤压后退中。按照the instructions激活backport,然后安装新的Erlang包。