标题: 安装gcc遇到的问题 [打印本页] 作者: 梦的放肆 时间: 2009-11-29 23:33 标题: 安装gcc遇到的问题 [root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.22.1-9 #1 SMP Mon Jul 16 01:58:59 EDT 2007 i686 athlon i386 GNU/Linux
[root@localhost ~]# apt-get upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get --fix-broken install' to correct these.
The following packages have unmet dependencies:
Pyrex: Depends: python-devel but it is not installable
audit-libs-python: Depends: kernel-headers (>= 2.6.18) but it is not installable
elfutils-devel-static: Depends: elfutils-devel (= 0.126-2) but it is not installable
Depends: elfutils-libelf-devel-static (= 0.126-2) but it is not installable
gcc: Depends: cpp (= 4.2.1-6)
Depends: libgcc (>= 4.2.1-6)
Depends: libgomp (= 4.2.1-6)
gcc-c++: Depends: libstdc++ (= 4.2.1-6)
Depends: libstdc++-devel (= 4.2.1-6) but it is not installable
gcc-java: Depends: gcc (= 4.1.2_20070115-0.21)
Depends: libgcj-devel (= 4.1.2_20070115) but it is not installable
glibc-devel: Depends: glibc (= 2.4)
gpgme-static: Depends: gpgme-devel (= 1.0.3-1) but it is not installable
kbluetooth: Depends: libopenobex.so.1 but it is not installable
libpng-static: Depends: libpng-devel (= 2:1.2.16-1) but it is not installable
libtool: Depends: gcc (= 4.2.0)
ncurses-static: Depends: ncurses-devel (= 5.6-1) but it is not installable
perl-ExtUtils-Embed: Depends: perl-devel but it is not installable
perl-ExtUtils-MakeMaker: Depends: perl-devel but it is not installable
perl-Test-Harness: Depends: perl-devel but it is not installable
perl-Test-Simple: Depends: perl-devel but it is not installable
readline-static: Depends: readline-devel (= 5.2-4) but it is not installable
squashfs-tools: Depends: lzma-devel but it is not installable
xorg-x11-drivers: Depends: xorg-x11-drv-ati but it is not installable
Depends: xorg-x11-drv-nv but it is not installable
Depends: xorg-x11-drv-sis but it is not installable
Depends: xorg-x11-drv-via but it is not installable
xorg-x11-proto-devel: Depends: mesa-libGL-devel but it is not installable
E: Unmet dependencies. Try using --fix-broken.
[root@localhost ~]#