我不明白为什么这不管用(我很困惑!)
root@box:/home/user# apt-get install linux-headers-2.6.32-5-686
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:
linux-headers-2.6.32-5-686 : Depends: gcc-4.3 but it is not going to be installed
E: Broken packages
root@box:/home/user# gcc --version
gcc (Debian 4.7.2-5) 4.7.2
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
root@node1:/home/user# uname -a
Linux node1 2.6.32-5-686 #1 SMP Sun May 6 04:01:19 UTC 2012 i686 GNU/Linux
root@node1:/home/user# cat /etc/issue
Debian GNU/Linux 6.0 \n \l我做的任何事情都不会让gcc-4.3安装或者linux-头安装。我对任何想法都持开放态度。
root@box:/home/user# apt-cache policy gcc
apt-cache policy gcc
gcc:
Installed: 4:4.7.2-1
Candidate: 4:4.7.2-1
Version table:
*** 4:4.7.2-1 0
100 /var/lib/dpkg/status
4:4.4.5-1 0
500 http://ftp.uk.debian.org/debian/ squeeze/main i386 Packages发布于 2013-05-21 12:01:00
好像你的机器上有一套非标准的软件包。您安装的gcc版本来自testing回购。由于来自gcc的依赖项的更改可能很长,您的计算机上可能有许多来自testing的其他包。
有几件事你可以试试:
gcc的评级。由于可能的依赖关系,这可能会令人不快。linux-headers (请与dpkg -l linux-base检查)。linux-headers-2.6-686。https://unix.stackexchange.com/questions/76575
复制相似问题