我无法再升级系统。我收到以下错误。我该如何解决这个问题?
apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
binutils: Depends: libc6 (>= 2.11) but 2.7-18lenny7 is installed
Depends: libstdc++6 (>= 4.6) but 4.3.2-1.1 is installed
cpp-4.6: Depends: libc6 (>= 2.11) but 2.7-18lenny7 is installed
gcc-4.6: Depends: libc6 (>= 2.11) but 2.7-18lenny7 is installed
libc-bin: Breaks: libc6 (< 2.10) but 2.7-18lenny7 is installed
libc-dev-bin: Depends: libc6 (> 2.13) but 2.7-18lenny7 is installed
Recommends: manpages-dev but it is not installed
libc6-dev: Depends: libc6 (= 2.13-30) but 2.7-18lenny7 is installed
libquadmath0: Depends: libc6 (>= 2.10) but 2.7-18lenny7 is installed
当我运行时apt-get -f install
出现以下错误
Preconfiguring packages ...
Setting up libgcc1 (1:4.7.0-3) ...
FATAL: kernel too old
/var/lib/dpkg/info/libgcc1.postinst: line 15: 3479 Segmentation fault ldconfig
dpkg: error processing libgcc1 (--configure):
subprocess post-installation script returned error exit status 139
Errors were encountered while processing:
libgcc1
E: Sub-process /usr/bin/dpkg returned an error code (1)
答案1
You might want to run `apt-get -f install' to correct these.
答案2
升级到wheezy
folled bydowngrade
到 squeeze 成功了。有点棘手,必须删除并重新安装一些软件包才能正常工作。