[root@localhost gcc]# rpm -Uvh *.rpm --force
warning: gdb-5.2.1-4.i386.rpm: V3 DSA signature: NOKEY, key ID 897da07a
error: Failed dependencies:
binutils >= 2.12.90.0.7-1 is needed by gcc-3.1-1
glibc-devel is needed by gcc-3.1-1
libstdc++.so.5 is needed by (installed) fam-2.6.8-4
libstdc++.so.5 is needed by (installed) groff-1.18-6
libstdc++.so.5 is needed by (installed) lftp-2.5.2-5
libstdc++.so.5 is needed by (installed) libwvstreams-3.70-5
libstdc++.so.5 is needed by (installed) pspell-0.12.2-14
libstdc++.so.5 is needed by (installed) aspell-0.33.7.1-16
libstdc++.so.5 is needed by (installed) wvdial-1.53-7
libstdc++.so.5 is needed by (installed) XFree86-font-utils-4.2.0-72
libstdc++.so.5 is needed by (installed) openjade-1.3.1-9
libstdc++.so.5 is needed by (installed) miniChinput-0.0.3-27
libstdc++.so.5 is needed by (installed) stardict-1.31-16
libstdc++.so.5 is needed by (installed) ghostscript-7.05-20
libstdc++.so.5 is needed by (installed) hpijs-1.1-20
libstdc++.so.5 is needed by (installed) gnome-spell-0.4.1-4
libstdc++.so.5 is needed by (installed) XFree86-Mesa-libGLU-4.2.0-72
libstdc++.so.5 is needed by (installed) pilot-link-0.11.3-3
libstdc++.so.5 is needed by (installed) arts-1.0.3-1
libstdc++.so.5 is needed by (installed) kdelibs-3.0.3-8
libstdc++.so.5 is needed by (installed) kdegames-3.0.3-3
libstdc++.so.5 is needed by (installed) chromium-0.9.12-20
libstdc++.so.5 is needed by (installed) Maelstrom-3.0.5-5
libstdc++.so.5 is needed by (installed) tuxracer-0.61-16
libstdc++.so.5 is needed by (installed) openoffice-libs-1.0.1-8
libstdc++.so.5 is needed by (installed) openoffice-1.0.1-8
libstdc++.so.5 is needed by (installed) xpdf-1.01-8
libstdc++.so.5 is needed by (installed) cdrdao-1.1.5-10
libstdc++.so.5 is needed by (installed) grip-3.0.1-4
libstdc++.so.5(GLIBCPP_3.2) is needed by (installed) fam-2.6.8-4
libstdc++.so.5(GLIBCPP_3.2) is needed by (installed) groff-1.18-6
libstdc++.so.5(GLIBCPP_3.2) is needed by (installed) lftp-2.5.2-5
libstdc++.so.5(GLIBCPP_3.2) is needed by (installed) libwvstreams-3.70-5 libstdc++.so.5(GLIBCPP_3.2) is needed by (installed) pspell-0.12.2-14
libstdc++.so.5(GLIBCPP_3.2) is needed by (installed) aspell-0.33.7.1-16
libstdc++.so.5(GLIBCPP_3.2) is needed by (installed) wvdial-1.53-7
libstdc++.so.5(GLIBCPP_3.2) is needed by (installed) XFree86-font-utils-4.2.0-72
libstdc++.so.5(GLIBCPP_3.2) is needed by (installed) openjade-1.3.1-9
libstdc++.so.5(GLIBCPP_3.2) is needed by (installed) miniChinput-0.0.3-27
libstdc++.so.5(GLIBCPP_3.2) is needed by (installed) stardict-1.31-16
libstdc++.so.5(GLIBCPP_3.2) is needed by (installed) hpijs-1.1-20
libstdc++.so.5(GLIBCPP_3.2) is needed by (installed) XFree86-Mesa-libGLU-4.2.0-72
libstdc++.so.5(GLIBCPP_3.2) is needed by (installed) pilot-link-0.11.3-3 libstdc++.so.5(GLIBCPP_3.2) is needed by (installed) arts-1.0.3-1
libstdc++.so.5(GLIBCPP_3.2) is needed by (installed) kdelibs-3.0.3-8
libstdc++.so.5(GLIBCPP_3.2) is needed by (installed) kdegames-3.0.3-3
libstdc++.so.5(GLIBCPP_3.2) is needed by (installed) chromium-0.9.12-20
libstdc++.so.5(GLIBCPP_3.2) is needed by (installed) Maelstrom-3.0.5-5
libstdc++.so.5(GLIBCPP_3.2) is needed by (installed) tuxracer-0.61-16
libstdc++.so.5(GLIBCPP_3.2) is needed by (installed) openoffice-libs-1.0.1-8
libstdc++.so.5(GLIBCPP_3.2) is needed by (installed) openoffice-1.0.1-8
libstdc++.so.5(GLIBCPP_3.2) is needed by (installed) xpdf-1.01-8
libstdc++.so.5(GLIBCPP_3.2) is needed by (installed) cdrdao-1.1.5-10
谢谢(
binutils >= 2.12.90.0.7-1 is needed by gcc-3.1-1就是说,你缺少binutils这个包或你有装这个包但版本低于2.12.90.0.7-1,而安装gcc3.1需要这个包
glibc-devel is needed by gcc-3.1-1也是同样的意思
下面的一堆need就是说,gcc3.1升级时会删掉 libstdc++.so.5,而一堆其他软件包需要这个libstdc++.so.5
因此在等你下达更具体的命令前,rpm什么都不做
[quote:cc6c08501c="llc"]binutils >= 2.12.90.0.7-1 is needed by gcc-3.1-1就是说,你缺少binutils这个包或你有装这个包但版本低于2.12.90.0.7-1,而安装gcc3.1需要这个包
glibc-devel is needed by gcc-3.1-1也是同样的意思
下面的一堆need就是说,gcc3.1升级时会删掉 libstdc++.so.5,而一堆其他软件包需要这个libstdc++.so.5
因此在等你下达更具体的命令前,rpm什么都不做[/quote]