我安装了libz 1.2.3,但是这个软件包似乎只想要1.2.2但我找不到任何重复版本。有人能指出我正确的方向吗?
Error: Package: erlang-erts-R14B-04.3.el6.x86_64 (epel)
Requires: libz.so.1(ZLIB_1.2.2)(64bit) You could try using --skip-broken to work around the
problem You could try running: rpm -Va --nofiles --nodigest
答案 0 :(得分:1)
以下是最终为我工作的内容:
wget
https://elearning.erlang-solutions.com/couchdb//rbingen_adapter//package_R16B_centos664_1361907767/esl-erlang-R16B-2.x86_64.rpm
yum install esl-erlang-R16B-2.x86_64.rpm
wget
https://github.com/jasonmcintosh/esl-erlang-compat/blob/master/rpmbuild/RPMS/noarch/esl-erlang-compat-R14B-1.el6.noarch.rpm?raw=true
yum install esl-erlang-compat-R14B-1.el6.noarch.rpm
答案 1 :(得分:0)
你可以尝试
yum --allow-downgrade install zlib-1.2.2
答案 2 :(得分:0)
我有同样的问题,但是"或者:手动添加存储库条目"这个页面就像一个冠军:
https://www.erlang-solutions.com/downloads/download-erlang-otp
基本上,
RPM包已签名。要添加Erlang Solutions密钥,请执行命令:
rpm --import http://packages.erlang-solutions.com/rpm/erlang_solutions.asc
将以下行添加到/etc/yum.repos.d /中的某个文件:
[erlang-solutions]
name=Centos $releasever - $basearch - Erlang Solutions
baseurl=http://packages.erlang-solutions.com/rpm/centos/$releasever/$basearch
gpgcheck=1
gpgkey=http://packages.erlang-solutions.com/rpm/erlang_solutions.asc
enabled=1
确保$ releasever和$ basearch匹配您的系统。