【问题标题】:Can not install erlang-20.3-1.el7.centos无法安装erlang-20.3-1.el7.centos
【发布时间】:2018-07-14 06:53:34
【问题描述】:

安装 20.3 版本的 erlang 时出现以下错误。 yum 命令在 repo 中没有更新 21 版本的 erlang 时可以成功运行。 这是 yum repo 更新造成的吗?

#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

【问题讨论】:

    标签: erlang


    【解决方案1】:

    通过将 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*
    

    【讨论】:

      猜你喜欢
      • 2014-02-06
      • 2016-03-09
      • 2017-03-02
      • 2023-04-02
      • 2014-11-08
      • 2021-07-05
      • 1970-01-01
      • 2020-08-04
      相关资源
      最近更新 更多