QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 616|回复: 0

请教:关于LINUX的升级问题?

[复制链接]
发表于 2003-10-30 12:47:16 | 显示全部楼层 |阅读模式
我目前使用Red Hat Linux 7.1(出于效率的考虑),而我希望安装或升级一些软件,但用RPM经常报告fail dependency: glibc2.3, 而安装glibc2.3.2则报告需要一个rpmlib(HardlinkSets)4.0.2, 我在7.1和9.0的光盘上都没有发现该软件包,在REDHAT的网页上也搜不到相关的内容。请问如何解决?我的系统大致是:binutils-2.10.91.0.2-3,gcc-2.96-81, glibc-2.2.2-10 我在Linux From Scratch找到一些关于建立LFS系统的资料,对于Linux GNU系统的整个软件构架有了一个大致的了解,但这个文档是关于重建一个全新系统的内容,而我考虑只需在原有系统上升级binutils,gcc,glibc等,请问有没有一个比较简洁的方法?
比如,我使用RPM,并按照依赖关系找到一些包,如下:

#ls
binutils-2.13.90.0.18-9.i386.rpm
cpp-3.2.2-5.i386.rpm
gcc-3.2.2-5.i386.rpm
gcc-c++-3.2.2-5.i386.rpm
gcc-java-3.2.2-5.i386.rpm
gcc-objc-3.2.2-5.i386.rpm
gdb-5.3post-0.20021129.18.i386.rpm
glibc-2.3.2-11.9.i386.rpm
glibc-common-2.3.2-11.9.i386.rpm
glibc-devel-2.3.2-11.9.i386.rpm
libgcc-3.2.2-5.i386.rpm
libgcj-3.2.2-5.i386.rpm
libgcj-devel-3.2.2-5.i386.rpm
libobjc-3.2.2-5.i386.rpm
libstdc++-3.2.2-5.i386.rpm
libstdc++-devel-3.2.2-5.i386.rpm

但运行RPM后,最终结果如下,请问如何解决?

#rpm -Uvh *
error: failed dependencies:
        rpmlib(PartialHardlinkSets) <= 4.0.4-1 is needed by gcc-3.2.2-5
        rpmlib(PartialHardlinkSets) <= 4.0.4-1 is needed by gcc-c++-3.2.2-5
        rpmlib(PartialHardlinkSets) <= 4.0.4-1 is needed by glibc-common-2.3.2-11.9
        libstdc++-libc6.2-2.so.3   is needed by arts-2.1.1-5
        libstdc++-libc6.2-2.so.3   is needed by groff-1.16.1-7
        libstdc++-libc6.2-2.so.3 is needed by pspell-0.11.2-2
        libstdc++-libc6.2-2.so.3   is needed by aspell-0.32.6-2
        libstdc++-libc6.2-2.so.3   is needed by freetype-2.0.1-4
        libstdc++-libc6.2-2.so.3   is needed by wvdial-1.41-12
        libstdc++-libc6.2-2.so.3   is needed by mozilla-0.7-15
        libstdc++-libc6.2-2.so.3   is needed by mozilla-mail-0.7-15
        libstdc++-libc6.2-2.so.3   is needed by mozilla-psm-0.7-15
        libstdc++-libc6.2-2.so.3   is needed by qt-2.3.0-3
        libstdc++-libc6.2-2.so.3   is needed by internet-config-0.40-1
        libstdc++-libc6.2-2.so.3   is needed by rp3-1.1.10-1
        libstdc++-libc6.2-2.so.3   is needed by balsa-1.1.1-3
        libstdc++-libc6.2-2.so.3   is needed by kdesupport-2.1-3
        libstdc++-libc6.2-2.so.3   is needed by kdelibs-2.1.1-5
        libstdc++-libc6.2-2.so.3   is needed by openjade-1.3-13
        libstdc++-libc6.2-2.so.3 is needed by ical-2.2-21
        libstdc++-libc6.2-2.so.3   is needed by xpdf-0.92-3
        libstdc++-libc6.2-2.so.3   is needed by kdbg-1.2.0-3
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-15 09:32 , Processed in 0.073863 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表