Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
时间:2019-11-20 08:53:20 来源:igfitidea点击:
问题
在CentOS 7 and RHEL (Red Hat) 7 中执行yum时,报错:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
解决方案
什么是delta RPM(DRPM)?
Delta rpm是为了节省带宽并加快Internet上的下载补丁和rpm软件包的速度。
使用DRMS,只下载新软件包和已安装的软件包之间不同的部分。
Delta rpms disabled because usr bin applydeltarpm not installed解决方法
- 执行
sudo yum install deltarpm
启用deltarpm支持 - 执行
sudo yum update
检查问题是否解决
在CentOS/Red Hat(RHEL)上使用delta rpms
搜索deltarpm软件包,运行以下yum命令:
yum search deltarpm yum info deltarpm
输出示例:
Loaded plugins: copr Available Packages Name : deltarpm Arch : x86_64 Version : 3.6 Release : 3.el7 Size : 82 k Repo : base/7/x86_64 Summary : Create deltas between rpms URL : http://gitorious.org/deltarpm/deltarpm License : BSD Description : A deltarpm contains the difference between an old : and a new version of a rpm, which makes it possible : to recreate the new rpm from the deltarpm and the old : one. You don't have to have a copy of the old rpm, : deltarpms can also work with installed rpms.
安装delta rpms
只需运行以下命令:
sudo yum install deltarpm
测试
运行:
sudo yum update