我刚刚创建了一个带有 Arm 核心的 ec2 rhel-8 实例,我正在努力安装 InfluxDB。根据我发现的程序:
sudo tee /etc/yum.repos.d/influxdb.repo<<EOF
[influxdb]
name = InfluxDB Repository
baseurl = https://repos.influxdata.com/rhel/8/arm64/stable/
enabled = 1
gpgcheck = 1
gpgkey = https://repos.influxdata.com/influxdb.key
EOF
然后我:
$ sudo dnf -y install influxdb
什么产生了我:
Failed to set locale, defaulting to C.UTF-8
Last metadata expiration check: 0:00:10 ago on Sat Apr 10 18:11:29 2021.
Error:
Problem: cannot install the best candidate for the job
- package influxdb-1.8.4-1.arm64 does not have a compatible architecture
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
这个答案有几点:
为什么我在 influx-1.8.4 之后找到一个“-1”?在给定的 url 上,只有 influxdb-1.8.4.arm64.rpm 存在。
我确实尝试了建议的解决方案,但没有机会。
无法解决错误“无法设置语言环境,默认为 C.UTF-8”。我还尝试设置 localectl,以删除 langpack,但错误仍然存在。
预先感谢您的帮助。