安装版本20.3的erlang时出现以下错误。 如果回购中未更新erlang的21版本,则yum命令可以成功运行。 这是由yum版本更新引起的吗?
#cat erlang_solutions.repo
[erlang-solutions]
name=Centos $releasever - $basearch - Erlang Solutions
baseurl=http://packages.erlang-solutions.com/rpm/centos/$releasever/$basearch
gpgcheck=0
gpgkey=http://packages.erlang-solutions.com/debian/erlang_solutions.asc
enabled=1
#yum install erlang-20.3-1.el7.centos.x86_64
Loaded plugins: fastestmirror
Determining fastest mirrors
erlang-solutions | 951 B 00:00:00
erlang-solutions/7/x86_64/primary | 964 kB 00:00:02
erlang-solutions 1038/1038
Resolving Dependencies
--> Running transaction check
---> Package erlang.x86_64 0:20.3-1.el7.centos will be installed
...
--> Processing Dependency: erlang-cosEventDomain(x86-64) = 20.3-1.el7.centos for package: erlang-20.3-1.el7.centos.x86_64
Package erlang-cosEventDomain is obsoleted by erlang, but obsoleting package does not provide for requirements
...
***Error: Package: erlang-20.3-1.el7.centos.x86_64 (erlang-solutions)
Requires: erlang-cosEvent(x86-64) = 20.3-1.el7.centos***
...
erlang-cosEvent(x86-64) = 20.2-1.el7.centos
Available: erlang-cosEvent-20.3-1.el7.centos.x86_64 (erlang-solutions)
erlang-cosEvent(x86-64) = 20.3-1.el7.centos
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
答案 0 :(得分:0)
通过更改erlang-solutions.repo文件的外观,我刚刚成功安装了Rabbit 3.7.4,
[erlang-solutions]
name=CentOS $releasever - $basearch - Erlang Solutions
baseurl=https://packages.erlang-solutions.com/rpm/centos/$releasever/$basearch
gpgcheck=1
gpgkey=https://packages.erlang-solutions.com/rpm/erlang_solutions.asc
enabled=1
exclude=erlang-21*