Linux

嘗試執行 yum update 時出現 Centos 6 x2go 依賴問題

  • April 1, 2013

我試圖在我的 CentOS 伺服器上將 x2goserver更新到最新版本,但是我現在遇到了依賴問題。

據我所知,它正在尋找xorg-x11-fonts-core包。這似乎不是 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

您的儲存庫元數據的本地記憶體副本有問題:

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

你是對的,它失敗了。我強制安裝,但之後它沒有工作。我也嘗試重建 SRPM,但不知何故它仍然具有這種依賴性。我看到他們修復了 SLES 11,所以希望 RHEL 6 很快就會出現。感謝更新。

引用自:https://serverfault.com/questions/482596