赞
踩
1、下载dpkg命令的安装包epel-release-6-8.noarch.rpm
wget -c http://archives.fedoraproject.org/pub/archive/epel/6/x86_64/epel-release-6-8.noarch.rpm
2、解压安装包
rpm -ivh epel-release-6-8.noarch.rpm
3、输入yum install dpkg后出现报错(解决方法为一下几步):
Error: Package: dpkg-1.16.18-3.el6.x86_64 (epel)
Requires: liblzma.so.0()(64bit)
4、下载liblzma.so的安装包xz-compat-libs-5.2.2-1.el7.x86_64.rpm
wget -c http://mirror.centos.org/centos/7/os/x86_64/Packages/xz-compat-libs-5.2.2-1.el7.x86_64.rpm
5、解压安装包xz-compat-libs-5.2.2-1.el7.x86_64.rpm
rpm -ivh xz-compat-libs-5.2.2-1.el7.x86_64.rpm
6、重新输入yum install dpkg安装dpkg
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。