当前位置: 技术问答>linux和unix
RHEL5 通过CentOS 镜像服务器升级的问题
来源: 互联网 发布时间:2016-07-07
本文导语: 大家好,问个问题,希望能得到回答: 我安装的是 Redhat Enterprise AS 5 版本的操作系统(是自己用,从朋友那里那个盘装上,当时是为了方便,安装以后要升级才发现很不方便,悔之晚矣),因为没有付费,所以不...
大家好,问个问题,希望能得到回答:
我安装的是 Redhat Enterprise AS 5 版本的操作系统(是自己用,从朋友那里那个盘装上,当时是为了方便,安装以后要升级才发现很不方便,悔之晚矣),因为没有付费,所以不能官方升级。通过一些网友的文章可以在yum配置文件中修改升级站点,通过CentOS来升级(http://blog.sina.com.cn/s/blog_542a04250100ewg5.html)。这样yum命令倒是可以用了。但是,升级一些包时,会碰到依赖问题,导致升级不了。安装mplayer升级时,碰到了很多依赖问题,
checking for GNOME_PLATFORM... configure: error: Package requirements (glib-2.0 >= 2.20.0
gtk+-2.0 >= 2.16.0
gconf-2.0 >= 2.0.0
libbonobo-2.0 >= 2.20.3
libbonoboui-2.0 >= 2.4.2
libglade-2.0 >= 2.0.0
libgnomecanvas-2.0 >= 2.0.0
libgnomeui-2.0 >= 2.0.0
libxml-2.0 >= 2.7.3
shared-mime-info >= 0.22
gnome-desktop-2.0 >= 2.26.0) were not met:
Requested 'glib-2.0 >= 2.20.0' but version of GLib is 2.12.3
Requested 'gtk+-2.0 >= 2.16.0' but version of GTK+ is 2.10.4
Requested 'libbonobo-2.0 >= 2.20.3' but version of libbonobo is 2.16.0
Requested 'libxml-2.0 >= 2.7.3' but version of libXML is 2.6.26
Requested 'shared-mime-info >= 0.22' but version of shared-mime-info is 0.19
Requested 'gnome-desktop-2.0 >= 2.26.0' but version of gnome-desktop-2.0 is 2.16.0
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables GNOME_PLATFORM_CFLAGS
and GNOME_PLATFORM_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
于是乎,依次更新上面提到的版本过低的包,当更新GNOME-desktop时,提到一些包依赖,yum不行,于是手动,当找一个包libbrlapi.so.0.4()(64bit) 时,找不到。找到并安装包brlapi-0.4.1-1.fc6.1.x86_64.rpm , brlapi-0.4.1-3.fc7.x86_64.rpm, brlapi-0.5.2-6.fc12.x86_64.rpm,都安装不上,安装brlapi-0.4.1-1.fc6.1.x86_64.rpm 提示:
file /usr/lib64/libbrlapi.so.0.4.1 from install of brlapi-0.4.1-1.fc6.1.x86_64 conflicts with file from package brlapi-0.4.1-1.fc6.x86_64。
其他两个包也安装不上,找不到centos或者rehl5的这个安装包。
直接运行:yum update,显示如下信息:
Missing Dependency: libbrlapi.so.0.4()(64bit) is needed by package orca-1.0.0-5.el5.x86_64 (installed)
Error: python-devel conflicts with python
Error: Missing Dependency: libbrlapi.so.0.4()(64bit) is needed by package orca-1.0.0-5.el5.x86_64 (installed)
在网上也找不到包libbrlapi.so.0.4()(64bit),只好终止了update过程。
各位碰到这种问题吗,该怎样解决,请回答,谢谢!
我安装的是 Redhat Enterprise AS 5 版本的操作系统(是自己用,从朋友那里那个盘装上,当时是为了方便,安装以后要升级才发现很不方便,悔之晚矣),因为没有付费,所以不能官方升级。通过一些网友的文章可以在yum配置文件中修改升级站点,通过CentOS来升级(http://blog.sina.com.cn/s/blog_542a04250100ewg5.html)。这样yum命令倒是可以用了。但是,升级一些包时,会碰到依赖问题,导致升级不了。安装mplayer升级时,碰到了很多依赖问题,
checking for GNOME_PLATFORM... configure: error: Package requirements (glib-2.0 >= 2.20.0
gtk+-2.0 >= 2.16.0
gconf-2.0 >= 2.0.0
libbonobo-2.0 >= 2.20.3
libbonoboui-2.0 >= 2.4.2
libglade-2.0 >= 2.0.0
libgnomecanvas-2.0 >= 2.0.0
libgnomeui-2.0 >= 2.0.0
libxml-2.0 >= 2.7.3
shared-mime-info >= 0.22
gnome-desktop-2.0 >= 2.26.0) were not met:
Requested 'glib-2.0 >= 2.20.0' but version of GLib is 2.12.3
Requested 'gtk+-2.0 >= 2.16.0' but version of GTK+ is 2.10.4
Requested 'libbonobo-2.0 >= 2.20.3' but version of libbonobo is 2.16.0
Requested 'libxml-2.0 >= 2.7.3' but version of libXML is 2.6.26
Requested 'shared-mime-info >= 0.22' but version of shared-mime-info is 0.19
Requested 'gnome-desktop-2.0 >= 2.26.0' but version of gnome-desktop-2.0 is 2.16.0
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables GNOME_PLATFORM_CFLAGS
and GNOME_PLATFORM_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
于是乎,依次更新上面提到的版本过低的包,当更新GNOME-desktop时,提到一些包依赖,yum不行,于是手动,当找一个包libbrlapi.so.0.4()(64bit) 时,找不到。找到并安装包brlapi-0.4.1-1.fc6.1.x86_64.rpm , brlapi-0.4.1-3.fc7.x86_64.rpm, brlapi-0.5.2-6.fc12.x86_64.rpm,都安装不上,安装brlapi-0.4.1-1.fc6.1.x86_64.rpm 提示:
file /usr/lib64/libbrlapi.so.0.4.1 from install of brlapi-0.4.1-1.fc6.1.x86_64 conflicts with file from package brlapi-0.4.1-1.fc6.x86_64。
其他两个包也安装不上,找不到centos或者rehl5的这个安装包。
直接运行:yum update,显示如下信息:
Missing Dependency: libbrlapi.so.0.4()(64bit) is needed by package orca-1.0.0-5.el5.x86_64 (installed)
Error: python-devel conflicts with python
Error: Missing Dependency: libbrlapi.so.0.4()(64bit) is needed by package orca-1.0.0-5.el5.x86_64 (installed)
在网上也找不到包libbrlapi.so.0.4()(64bit),只好终止了update过程。
各位碰到这种问题吗,该怎样解决,请回答,谢谢!
|
你去dag
那里有rpmforge的yum源
保证没有问题
链接:
B2. How to configure to use RPMforge ?
It's very easy. Just install the latest rpmforge-release package for your distribution and architecture.
This will automatically install the configuration and GPG keys that are for safely installing RPMforge packages.
Please select the correct command from the following list:
* Supported Red Hat Enterprise Linux 5 / i386:
rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
* Red Hat Enterprise Linux 5 / x86_64:
rpm -Uhv http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS//rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
那里有rpmforge的yum源
保证没有问题
链接:
B2. How to configure to use RPMforge ?
It's very easy. Just install the latest rpmforge-release package for your distribution and architecture.
This will automatically install the configuration and GPG keys that are for safely installing RPMforge packages.
Please select the correct command from the following list:
* Supported Red Hat Enterprise Linux 5 / i386:
rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
* Red Hat Enterprise Linux 5 / x86_64:
rpm -Uhv http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS//rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
|
我建议你yum升级到centos。
您可能感兴趣的文章:
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。