环境
ubuntu 16.04版
报错
使用apt命令apt-get install git:i386(这里的i386应该指的是依赖32位的库)安装git时候,报错如下:
Some packages could not be installed. This may mean that you haverequested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
git:i386 : Depends: liberror-perl:i386 but it is not installable
E: Unable to correct problems, you have held broken packages.
解决措施
网上搜了一大堆,乱七八糟,众说纷纭,根本解决不了问题。
那么根据错误信息,应该是缺失依赖库。那就根据信息安装liberror-perl:i386呗。
sudo apt-get install liberror-perl:i386
安装成功以后再重新安装git就行了。
声明:文章用于个人知识学习积累与回顾,同时做个分享,个人能力有限,如有错误,欢迎指正。
文章有帮到你,也欢迎你来关注:个人微博:东巴克。公众号:巴客小屋。
付费咨询、C/python/FPGA项目制作,可加V:buck11223344