安装服务时报错停止,报错信息如下
Install 12 Packages (+45 Dependent packages)
Upgrade 1 Package (+13 Dependent packages)
Total download size: 50 M
Downloading packages:
No Presto metadata available for os
No Presto metadata available for updates
Stderr: http://mirrors.cloud.tencent/centos/7/updates/x86_64/Packages/libuuid-2.23.2-65.el7_9.1.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: mirrors.cloud.tencent; Unknown error"
Trying other mirror.
Error downloading packages:
libuuid-2.23.2-65.el7_9.1.x86_64: [Errno 256] No more mirrors to try.
翻译得知:没有可用于操作系统的Presto元数据,没有可用于更新的Presto元数据
解决办法:
[root@bkce6_131 install]# yum clean all
Loaded plugins: fastestmirror
Repository cr is listed more than once in the configuration
Repository fasttrack is listed more than once in the configuration
Cleaning repos: bk-custom epel extras os updates
Cleaning up everything
Maybe you want: rm -rf /var/cache/yum, to also free up space taken by orphaned data from disabled or removed repos
Cleaning up list of fastest mirrors
[root@bkce6_131 install]# yum makecache
Loaded plugins: fastestmirror
Repository cr is listed more than once in the configuration
Repository fasttrack is listed more than once in the configuration
bk-custom | 2.9 kB 00:00:00
epel | 4.7 kB 00:00:00
extras | 2.9 kB 00:00:00
os | 3.6 kB 00:00:00
updates | 2.9 kB 00:00:00
之后重新安装,未报错
更多推荐
Centos安装时报No Presto metadata available for os没有可用于操作系统的Presto元数据,解决方案
发布评论