Error downloading packages: qt3-3.3.8b-51.el7.x86_64: [Errno 256] No more mirrors to try.

在用ambari+hap安装hadoop组建时,在ZooKeeper Server Install时候遇到这个问题。

解决方法:

 yum install qt3-3.3.8b-51.el7.x86_64

总计:3.6 M
总下载量:3.5 M
安装大小:11 M
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for base
qt3-3.3.8b-51.el7.x86_64.rpm FAILED
http://mirrors.163.com/centos/7/os/x86_64/Packages/qt3-3.3.8b-51.el7.x86_64.rpm: [Errno -1] 软件包与预期 下载的不符。建议:运行 yum --enablerepo=base clean metadata
正在尝试其它镜像。Error downloading packages:
qt3-3.3.8b-51.el7.x86_64: [Errno 256] No more mirrors to try.

 直接安装是不行的,提示中需要先安装依赖“libmng.x86_64.0.1.0.10-14.el7”直接再开一个服务器窗口,

[root@ambari02 ~]# yum install libmng
已加载插件:fastestmirror, langpacks
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Loading mirror speeds from cached hostfile
正在解决依赖关系
--> 正在检查事务
---> 软件包 libmng.x86_64.0.1.0.10-14.el7 将被 安装
--> 解决依赖关系完成

安装 1 软件包
总计:171 k
安装大小:534 k
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
警告:RPM 数据库已被非 yum 程序修改。
Transaction test succeededRunning transaction
正在安装 : libmng-1.0.10-14.el7.x86_64 1/1
验证中 : libmng-1.0.10-14.el7.x86_64 1/1 已安装:
libmng.x86_64 0:1.0.10-14.el7

然后再安装qt3-3.3.8b-51.el7.x86_64(不要直接yum install  而是要去163下载该源)然后 rpm -ivh qt3-3.3.8b-51.el7.x86_64.rpm(这个源是在163中下载的)

 本服务器指定的安装源是163的源,所以要直接去163中下载该源,放到root目录下,直接安装。

[root@ambari02 ~]# rpm -ivh qt3-3.3.8b-51.el7.x86_64.rpm
准备中... ################################# [100%]
正在升级/安装...
1:qt3-3.3.8b-51.el7 ################################# [100%]
[root@ambari02 ~]#

后边可以正常了

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值