这是一个创建于 4200 天前的主题,其中的信息可能已经有所发展或是发生改变。
装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
求解。。。郁闷!
2 条回复 • 1970-01-01 08:00:00 +08:00
|
|
1
juicy 2013-05-30 13:16:30 +08:00 1
我也很多时候遇到这样的情况, 那是因为apt-get处理依赖的能力比较弱, 遇到了这样的情况, 它可能不知道怎么办了。 如果你不知道怎么手动解决这些依赖问题, 建议楼主试试用aptitude, aptitude兴许能解决这些依赖问题。
|
|
|
2
8QE 2013-05-30 13:34:52 +08:00
|