1、configure过程中出现的问题
configure: WARNING: x86_64 not found in cputable
checking dpkg operating system type… linux-gnu
configure: WARNING: linux-gnu not found in ostable
checking dpkg architecture name… configure: error: cannot determine host dpkg architecture
2、下载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
解压安装包
rpm -ivh epel-release-6-8.noarch.rpm
可能会出现报错警告:
这时需要将解压安装包命令改为
rpm -ivh --replacefiles epel-release-6-8.noarch.rpm
增加一条–replacefiles,即使要安装的软件包会取代别的已安装软件包的文件, 也安装该软件包
之后yum install dpkg等待安装即可