由於 glibc6 原因,apt-get 升級失敗

由於 glibc6 原因,apt-get 升級失敗

我無法再升級我的系統。我收到以下錯誤。我可以做什麼來解決這個問題?

 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緊接著downgrade擠壓就成功了。有點棘手,必須刪除並重新安裝一些軟體包才能正常工作。

相關內容