2016-03-24 162 views
3

使用說明here(Erlang Solutions);我得到這個錯誤:在Ubuntu上安裝Erlang失敗

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)而不是點本身?

回答

2

你必須刪除以前安裝的Erlang包(如錯誤信息中提到的erlang-jinterface)。然後你將能夠安裝esl-erlang