怎么都无法安装这几个依赖包。。。郁闷死了!!!!

2013-05-30 13:01:32 +08:00
 8QE
装da时候出现的。怎么都不能装:
gcc g++ make flex bison openssl libssl-dev perl perl-base perl-modules libperl-dev libaio1 libaio-dev zlib1g zlib1g-dev libcap-dev bzip2 automake autoconf libtool cmake
apt-get -f出现:

root@debian:~# apt-get -f install gcc g++ make flex bison openssl libssl-dev perl perl-base perl-modules libperl-dev libaio1 libaio-dev zlib1g zlib1g-dev libcap-dev bzip2 automake autoconf libtool cmake
Reading package lists... Done
Building dependency tree
Reading state information... Done
bzip2 is already the newest version.
bzip2 set to manually installed.
openssl is already the newest version.
openssl set to manually installed.
zlib1g is already the newest version.
perl is already the newest version.
perl-base is already the newest version.
perl-modules is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
automake : Depends: autotools-dev (>= 20020320.1) but it is not going to be installed
cmake : Depends: libxmlrpc-c3 but it is not going to be installed
Depends: cmake-data (= 2.8.2+dfsg.1-0+squeeze1) but it is not going to be installed
g++ : Depends: g++-4.4 (>= 4.4.5-1~) but it is not going to be installed
Depends: gcc-4.4 (>= 4.4.5-1~) but it is not going to be installed
gcc : Depends: gcc-4.4 (>= 4.4.5-1~) but it is not going to be installed
Recommends: libc6-dev but it is not going to be installed or
libc-dev
libc6 : Depends: libc-bin (= 2.11.3-4) but 2.13-38 is to be installed
libc6-i386 : Depends: libc6 (= 2.13-38) but 2.11.3-4 is to be installed
libtool : Depends: libc6-dev but it is not going to be installed or
libc-dev
Depends: autotools-dev but it is not going to be installed
Recommends: libltdl-dev but it is not going to be installed
locales : Depends: glibc-2.13-1 but it is not installable
zlib1g-dev : Depends: libc6-dev but it is not going to be installed or
libc-dev
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@debian:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
libc6 : Depends: libc-bin (= 2.11.3-4) but 2.13-38 is installed
libc6-i386 : Depends: libc6 (= 2.13-38) but 2.11.3-4 is installed
locales : Depends: glibc-2.13-1 but it is not installable
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies

求解。。。郁闷!
16347 次点击
所在节点    问与答
2 条回复
juicy
2013-05-30 13:16:30 +08:00
我也很多时候遇到这样的情况, 那是因为apt-get处理依赖的能力比较弱, 遇到了这样的情况, 它可能不知道怎么办了。 如果你不知道怎么手动解决这些依赖问题, 建议楼主试试用aptitude, aptitude兴许能解决这些依赖问题。
8QE
2013-05-30 13:34:52 +08:00
@juicy 貌似好了。太谢谢你了!

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/70636

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX