各位网友大家好,在安装一个包时linux系统提示:
-------------------------------------------
[root@localhost src]# yum install libavcodec53-0.8.11-alt1.x86_64.rpm
已加载插件:fastestmirror, langpacks
正在检查 libavcodec53-0.8.11-alt1.x86_64.rpm: 1:libavcodec53-0.8.11-alt1.x86_64
libavcodec53-0.8.11-alt1.x86_64.rpm 将被安装
正在解决依赖关系
--> 正在检查事务
---> 软件包 libavcodec53.x86_64.1.0.8.11-alt1 将被 安装
--> 解决依赖关系完成
依赖关系解决
=========================================================================================================
Package 架构 版本 源 大 小
=========================================================================================================
正在安装:
libavcodec53 x86_64 1:0.8.11-alt1 /libavcodec53-0.8.11-alt1.x86_64 7.8 M
事务概要
=========================================================================================================
安装 1 软件包
总计:7.8 M
安装大小:7.8 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
错误:您需要更新 RPM 以处理:
rpmlib(SetVersions) 被 libavcodec53-1:0.8.11-alt1.x86_64 需要
RPM 需要更新
您可以尝试执行:rpm -Va --nofiles --nodigest
您的事务已保存,请执行:
yum load-transaction /tmp/yum_save_tx.2016-12-27.12-07.aC0Lny.yumtx 重新执行该事务
[root@localhost src]#
--------------------------------------------
linux系统提示要更新rpm包,于是下载了最新版本的rpm包rpm-4.11.3-21.el7.x86_64.rpm和rpm-libs-4.11.3-21.el7.x86_64.rpm包,图片1为rpm包具体信息及更新时间。
地址:http://mirrors.aliyun.com/centos/7/os/x86_64/Packages/
使用rpm -qa | grep rpm查看关于rpm安装包,rpm和rpm-libs已成功安装,如图2所示,
在运行如上命令去安装:yum install libavcodec53-0.8.11-alt1.x86_64.rpm
结果还是出现同样的情况,请教各位,怎么办呢???谢谢!!!
在网上看到运行rpm -qp rpm-libs-4.11.3-21.el7.x86_64 --showrc | grep rpmlib命令去查看rpmlib信息,果然少了rpmlib(SetVersions),如图3.
请各位帮帮忙,感激不尽!!!