简体   繁体   中英

Redhat Yum install issue zlib_1.2.2

I have libz 1.2.3 installed but this package seems to only want 1.2.2 but I can't find any repro that hs it. Anyone able to point me in the right direction?

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

这就是为我工作的最终结果:

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

你可以试试

yum --allow-downgrade install zlib-1.2.2

I had the same problem, but "Alternatively: adding the repository entry manually" of this page worked like a champ:

https://www.erlang-solutions.com/downloads/download-erlang-otp

Basically,

RPM packages are signed. To add Erlang Solutions key, execute command:

rpm --import http://packages.erlang-solutions.com/rpm/erlang_solutions.asc

Add the following lines to some file in /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

Make sure to $releasever and $basearch to match your system.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM