我正在尝试安装apt-get install PHP5-dev
但是当我运行命令时
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:
PHP5-dev: Depends: autoconf (>= 2.63) but 2.61-8 is to be installed
Depends: libtool (>= 2.2) but it is not going to be installed
E: broken packages
我该如何解决这种情况?
解决方法:
问题是你试图从squeeze而不是lenny安装PHP5-dev. PHP5-dev的lenny版本不依赖于任何特定版本的libtool或autoconf挤压版本的方式.如果我猜测你是如何陷入这种情况的,我猜你是因为你现在或者某个时候已经在你的sources.list中“挤压”并安装了一些东西,或者你正在引用“稳定”而不是你的sources.list中的“lenny”或“squeeze”,现在你可能在squeeze.apt-cache策略中运行一些lenny混合PHP5-dev应该告诉你从哪里得到PHP5-dev,这可能会有所帮助.
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。