在Ubuntu上安装Erlang失败

时间:2016-03-24 09:56:56

标签: ubuntu erlang ubuntu-14.04

使用说明here(Erlang Solutions);我收到这个错误:

Fetched 39.9 MB in 10min 54s (61.0 kB/s)                                       
(Reading database ... 409261 files and directories currently installed.)
Preparing to unpack .../esl-erlang_1%3a18.3_amd64.deb ...
Unpacking esl-erlang (1:18.3) ...
dpkg: error processing archive /var/cache/apt/archives/esl-erlang_1%3a18.3_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/erlang/lib/jinterface-1.6.1/ebin/jinterface.app', which is also in package erlang-jinterface 1:18.2
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/esl-erlang_1%3a18.3_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

安装失败。另外为什么在文件名中有一个URL编码的点字符(%3a)而不是一个点?

1 个答案:

答案 0 :(得分:2)

您必须删除以前安装的Erlang软件包(例如错误消息中提到的erlang-jinterface)。然后,您就可以安装esl-erlang