【发布时间】:2020-07-27 21:43:33
【问题描述】:
我正在使用 Webmin 运行 Centos 7 服务器,我在其中安装了带有 Node-source 存储库的 Nodejs。
从上周开始,我无法更新到 nodejs-10.22.0-1nodesource.x86,因为这似乎是一个校验和问题:
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
nodejs-10.22.0-1nodesource.x86 FAILED MB/s | 18 MB 00:00:00 ETA
https://rpm.nodesource.com/pub_10.x/el/7/x86_64/nodejs-10.22.0-1nodesource.x86_64.rpm:
[Errno -1] Le paquet ne correspond pas au téléchargement attendu.
Suggestion : exécutez yum --enablerepo=nodesource clean metadata
Essai d'un autre miroir.
Error downloading packages:
2:nodejs-10.22.0-1nodesource.x86_64: [Errno 256] No more mirrors to try.
我尝试使用yum --enablerepo=nodesource clean metadata 或yum clean all 清理缓存,但没有任何效果。
有没有人也遇到过这个错误?
这是使用的 yum 仓库:
[nodesource]
name=Node.js Packages for Enterprise Linux 7 - $basearch
baseurl=https://rpm.nodesource.com/pub_10.x/el/7/$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/NODESOURCE-GPG-SIGNING-KEY-EL
【问题讨论】: