zlib1g开发人员无法正确安装。帮助安装?

时间:2018-11-04 01:56:59

标签: zlib

我在安装zlib1g-dev时遇到了问题(我需要它才能使rbenv正常工作)。 Apt不会安装它,说我没有必需的依赖项(它没有确切说明我需要哪个zlib1g,但我具有“ 2ubuntu4”版本。我从Ubuntu仓库中手动下载了该软件包,但是当我用Ubuntu软件打开它,它仍然没有安装。

错误日志:

foo@foo:/$ sudo apt-get install zlib1g-dev
[sudo] password for foo: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested 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:
 zlib1g-dev : Depends: zlib1g (= 1:1.2.8.dfsg-2ubuntu4) but 1:1.2.8.dfsg-2ubuntu4.1 is to be installed
E: Unable to correct problems, you have held broken packages.

0 个答案:

没有答案