gpt4 book ai didi

centos - 存储库 epel 在配置中被多次列出

转载 作者:行者123 更新时间:2023-12-04 19:30:54 25 4
gpt4 key购买 nike

我想安装 MQTT 但无法在 CentOS 8 上安装 - 阿里云,因为我发现以下错误

sudo yum -y install mosquitto
Repository epel is listed more than once in the configuration
Last metadata expiration check: 0:02:11 ago on Fri 03 Apr 2020 09:51:50 PM CST.
No match for argument: mosquitto
Error: Unable to find a match: mosquitto

这是我的 EPEL list
 cat epel.*
[epel]
name=Extra Packages for Enterprise Linux $releasever - $basearch
#baseurl=https://download.fedoraproject.org/pub/epel/$releasever/Everything/$basearch
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-$releasever&arch=$basearch&infra=$infra&content=$contentdir
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8

[epel-debuginfo]
name=Extra Packages for Enterprise Linux $releasever - $basearch - Debug
#baseurl=https://download.fedoraproject.org/pub/epel/$releasever/Everything/$basearch/debug
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-$releasever&arch=$basearch&infra=$infra&content=$contentdir
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
gpgcheck=1

[epel-source]
name=Extra Packages for Enterprise Linux $releasever - $basearch - Source
#baseurl=https://download.fedoraproject.org/pub/epel/$releasever/Everything/SRPMS
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-source-$releasever&arch=$basearch&infra=$infra&content=$contentdir
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
gpgcheck=1

最佳答案

Mosquitto 不支持 CentOS 8。所以先安装在 centos 7 上再安装蚊子。

关于centos - 存储库 epel 在配置中被多次列出,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61013784/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com