首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >我无法在我的ubuntu 18.10宇宙系统上安装erlang/Elixir

我无法在我的ubuntu 18.10宇宙系统上安装erlang/Elixir
EN

Stack Overflow用户
提问于 2020-06-09 14:10:58
回答 1查看 386关注 0票数 2

我正在为unix类系统https://elixir-lang.org/install.html#unix-and-unix-like执行上的步骤。

这就是我得到的错误

代码语言:javascript
复制
sudo apt-get install esl-erlang
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 esl-erlang : Depends: libncurses5 but it is not installable
              Depends: libsctp1 but it is not installable
              Recommends: erlang-mode but it is not going to be installed
E: Unable to correct problems, you have held broken packages

我也尝试过使用asdf-vm,但仍然存在相同的libcurses5问题

代码语言:javascript
复制
asdf install erlang 21.1
asdf_21.1 is not a kerl-managed Erlang/OTP installation
No build named asdf_21.1
Downloading OTP-21.1.tar.gz to /home/superuser/.asdf/plugins/erlang/kerl-home/archives
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   120  100   120    0     0    241      0 --:--:-- --:--:-- --:--:--   241
100 51.3M    0 51.3M    0     0  4747k      0 --:--:--  0:00:11 --:--:-- 3990k
Extracting source code
Building Erlang/OTP 21.1 (asdf_21.1), please wait...
WARNING: It appears that a required development package 'libncurses5-dev' is not installed.
Configure failed.
checking whether lock counters should be enabled... no
checking whether dlopen() needs to be called before first call to dlerror()... no
checking for kstat_open in -lkstat... (cached) no
checking for tgetent in -ltinfo... no
checking for tgetent in -lncurses... no
checking for tgetent in -lcurses... no
checking for tgetent in -ltermcap... no
checking for tgetent in -ltermlib... no
configure: error: No curses library functions found
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2020-06-10 14:19:51

问题是,在cosmic上,存储库在http://archive.ubuntu.com上不可用。

在/etc/apt/Sourcees.list中更改它们,也就是用http://old-releases.ubuntu.com替换所有出现的http://archive.ubuntu.com就行了。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/62276124

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档