尝试运行 yum update 时 Centos 6 x2go 依赖问题

尝试运行 yum update 时 Centos 6 x2go 依赖问题

我尝试过更新x2go服务器到我的 CentOS 服务器上的最新版本,但是我现在遇到了依赖性问题。

据我所知,它正在寻找xorg-x11-字体核心软件包。这似乎不是 CentOS 6 的一部分,只有 OpenSuse 才有。有其他人遇到过这个问题吗?你认为这是最新 RPM 的一个错误吗?或者我可以做些什么来解决这个问题?x2go 没有论坛,所以我想我会在这里发帖

[root@fileserver$ ~]# yum install x2goserver
Loaded plugins: downloadonly, fastestmirror, priorities, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: mirror.as29550.net
 * epel: nl.mirror.eurid.eu
 * extras: mirrors.manchester.icecolo.com
 * updates: mirror.as29550.net
X11_RemoteDesktop_x2go                                                                                                                | 1.3 kB     00:00
Not using downloaded repomd.xml because it is older than what we have:
  Current   : Tue Feb 26 11:43:35 2013
  Downloaded: Thu Feb 21 18:44:54 2013
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package x2goserver.x86_64 0:4.0.0.0-4.1 will be installed
--> Processing Dependency: x2goagent for package: x2goserver-4.0.0.0-4.1.x86_64
--> Running transaction check
---> Package x2goagent.i686 0:3.5.0.17-4.1 will be installed
--> Processing Dependency: nxagent for package: x2goagent-3.5.0.17-4.1.i686
--> Running transaction check
---> Package nxagent.i686 0:3.5.0.17-4.1 will be installed
--> Processing Dependency: libNX_Xext.so.6 for package: nxagent-3.5.0.17-4.1.i686
--> Processing Dependency: libNX_Xrandr.so.2 for package: nxagent-3.5.0.17-4.1.i686
--> Processing Dependency: libNX_Xrender.so.1 for package: nxagent-3.5.0.17-4.1.i686
--> Processing Dependency: libNX_Xcomposite.so.1 for package: nxagent-3.5.0.17-4.1.i686
--> Processing Dependency: libNX_Xdmcp.so.6 for package: nxagent-3.5.0.17-4.1.i686
--> Processing Dependency: libxml2.so.2 for package: nxagent-3.5.0.17-4.1.i686
--> Processing Dependency: libXcompext.so.3 for package: nxagent-3.5.0.17-4.1.i686
--> Processing Dependency: libNX_X11.so.6 for package: nxagent-3.5.0.17-4.1.i686
--> Processing Dependency: libxml2.so.2(LIBXML2_2.6.0) for package: nxagent-3.5.0.17-4.1.i686
--> Processing Dependency: libNX_Xinerama.so.1 for package: nxagent-3.5.0.17-4.1.i686
--> Processing Dependency: libNX_Xpm.so.4 for package: nxagent-3.5.0.17-4.1.i686
--> Processing Dependency: libXcompshad.so.3 for package: nxagent-3.5.0.17-4.1.i686
--> Processing Dependency: libNX_Xfixes.so.3 for package: nxagent-3.5.0.17-4.1.i686
--> Processing Dependency: libXcomp.so.3 for package: nxagent-3.5.0.17-4.1.i686
--> Processing Dependency: libNX_freetype.so.6 for package: nxagent-3.5.0.17-4.1.i686
--> Processing Dependency: libxml2.so.2(LIBXML2_2.4.30) for package: nxagent-3.5.0.17-4.1.i686
--> Processing Dependency: libNX_Xtst.so.6 for package: nxagent-3.5.0.17-4.1.i686
--> Processing Dependency: xorg-x11-fonts-core for package: nxagent-3.5.0.17-4.1.i686
--> Processing Dependency: libz.so.1 for package: nxagent-3.5.0.17-4.1.i686
--> Processing Dependency: libNX_Xdamage.so.1 for package: nxagent-3.5.0.17-4.1.i686
--> Running transaction check
---> Package libNX_X11-6.x86_64 0:3.5.0.17-3.1 will be updated
---> Package libNX_X11-6.i686 0:3.5.0.17-4.1 will be an update
--> Processing Dependency: libXcomp.so.3 for package: libNX_X11-6-3.5.0.17-4.1.i686
---> Package libNX_Xcomposite1.x86_64 0:3.5.0.17-3.1 will be updated
---> Package libNX_Xcomposite1.i686 0:3.5.0.17-4.1 will be an update
---> Package libNX_Xdamage1.x86_64 0:3.5.0.17-3.1 will be updated
---> Package libNX_Xdamage1.i686 0:3.5.0.17-4.1 will be an update
---> Package libNX_Xdmcp6.x86_64 0:3.5.0.17-3.1 will be updated
---> Package libNX_Xdmcp6.i686 0:3.5.0.17-4.1 will be an update
---> Package libNX_Xext6.x86_64 0:3.5.0.17-3.1 will be updated
---> Package libNX_Xext6.i686 0:3.5.0.17-4.1 will be an update
---> Package libNX_Xfixes3.x86_64 0:3.5.0.17-3.1 will be updated
---> Package libNX_Xfixes3.i686 0:3.5.0.17-4.1 will be an update
---> Package libNX_Xinerama1.x86_64 0:3.5.0.17-3.1 will be updated
---> Package libNX_Xinerama1.i686 0:3.5.0.17-4.1 will be an update
---> Package libNX_Xpm4.x86_64 0:3.5.0.17-3.1 will be updated
---> Package libNX_Xpm4.i686 0:3.5.0.17-4.1 will be an update
---> Package libNX_Xrandr2.x86_64 0:3.5.0.17-3.1 will be updated
---> Package libNX_Xrandr2.i686 0:3.5.0.17-4.1 will be an update
---> Package libNX_Xrender1.x86_64 0:3.5.0.17-3.1 will be updated
---> Package libNX_Xrender1.i686 0:3.5.0.17-4.1 will be an update
---> Package libNX_Xtst6.x86_64 0:3.5.0.17-3.1 will be updated
---> Package libNX_Xtst6.i686 0:3.5.0.17-4.1 will be an update
---> Package libNX_freetype6.x86_64 0:3.5.0.17-3.1 will be updated
---> Package libNX_freetype6.i686 0:3.5.0.17-4.1 will be an update
---> Package libxml2.i686 0:2.7.6-8.el6_3.4 will be installed
---> Package nxagent.i686 0:3.5.0.17-4.1 will be installed
--> Processing Dependency: libXcompext.so.3 for package: nxagent-3.5.0.17-4.1.i686
--> Processing Dependency: libXcompshad.so.3 for package: nxagent-3.5.0.17-4.1.i686
--> Processing Dependency: libXcomp.so.3 for package: nxagent-3.5.0.17-4.1.i686
--> Processing Dependency: xorg-x11-fonts-core for package: nxagent-3.5.0.17-4.1.i686
---> Package zlib.i686 0:1.2.3-27.el6 will be installed
--> Finished Dependency Resolution
Error: Package: nxagent-3.5.0.17-4.1.i686 (X11_RemoteDesktop_x2go)
           Requires: libXcompshad.so.3
Error: Package: nxagent-3.5.0.17-4.1.i686 (X11_RemoteDesktop_x2go)
           Requires: libXcomp.so.3
Error: Package: nxagent-3.5.0.17-4.1.i686 (X11_RemoteDesktop_x2go)
           Requires: libXcompext.so.3
Error: Package: libNX_X11-6-3.5.0.17-4.1.i686 (X11_RemoteDesktop_x2go)
           Requires: libXcomp.so.3
Error: Package: nxagent-3.5.0.17-4.1.i686 (X11_RemoteDesktop_x2go)
           Requires: xorg-x11-fonts-core
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

答案1

您本地缓存的存储库元数据副本有问题:

X11_RemoteDesktop_x2go                                                                                                                | 1.3 kB     00:00
Not using downloaded repomd.xml because it is older than what we have:
  Current   : Tue Feb 26 11:43:35 2013
  Downloaded: Thu Feb 21 18:44:54 2013

当我去检查原件,我发现它的日期确实是 2 月 21 日。我不知道你从哪里得到了缓存的文件。

要解决此问题,请清除 yum 缓存。

yum clean all

答案2

你说得对,它失败了。我强制安装,但之后它不起作用。我也尝试重建 SRPM,但不知何故它仍然有依赖关系。我看到他们修复了 SLES 11,所以希望 RHEL 6 能很快跟进。感谢更新。

答案3

虽然他可能需要更新他的 yum 缓存,但这与他的错误无关:错误:软件包:nxagent-3.5.0.17-4.1.i686 (X11_RemoteDesktop_x2go) 需要:xorg-x11-fonts-core

我在我的 Scientific Linux 6 系统上看到了同样的情况:

yum install x2goserver 
Loaded plugins: etckeeper, priorities, refresh-packagekit, security, versionlock
145 packages excluded due to repository priority protections
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package x2goserver.x86_64 0:4.0.0.0-4.1 will be installed
--> Processing Dependency: x2goagent for package: x2goserver-4.0.0.0-4.1.x86_64
--> Running transaction check
---> Package x2goagent.x86_64 0:3.5.0.17-3.1 will be installed
--> Processing Dependency: nxagent for package: x2goagent-3.5.0.17-3.1.x86_64
--> Running transaction check
---> Package nxagent.x86_64 0:3.5.0.17-3.1 will be installed
--> Processing Dependency: xorg-x11-fonts-core for package: nxagent-3.5.0.17-3.1.x86_64
--> Finished Dependency Resolution
Error: Package: nxagent-3.5.0.17-3.1.x86_64 (X11_RemoteDesktop_x2go)
           Requires: xorg-x11-fonts-core
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

他们已将 xorg-x11-fonts-core 包的要求添加到 RedHat rpms 中,但该包是 OpenSuse 包,在 RedHat 6 或其衍生产品中并不存在。

答案4

好消息!依赖问题现已被负责该 repo 的开发人员解决

只需运行即可。

yum install x2goserver

全部排序

相关内容