Fedora 12成功安装conky

上次有讲,我直接用Fedora 12的yum安装conky失败,下载来rpm包安装也失败,今天不得不用apt-get了,问题轻松解决。yum的依赖关系处理还是需要向apt学习。

虽然没有自己一步步的解决问题,但是通过直接更新解决,似乎也是一个好办法。
================
[root@ciXG *****]# rpm -ivh conky-1.7.2-1.fc12.i686.rpm
error: Failed dependencies:
    libaudclient.so.2 is needed by conky-1.7.2-1.fc12.i686
    libmcs.so.1 is needed by conky-1.7.2-1.fc12.i686
    libtolua++-5.1.so is needed by conky-1.7.2-1.fc12.i686
[root@ciXG ******]# apt-get install conky
Reading Package Lists... Error!
E: Error occured while processing corosynclib-devel (CollectFileProvides)
E: Problem with MergeFileProvides /var/lib/apt/lists/download.fedoraproject.org_pub_fedora_linux_updates_12_i386_repodata_repomd.xml
E: The package lists or status file could not be parsed or opened.
[root@ciXG ******]# apt-get update
Get:1 http://download.fedoraproject.org fedora/linux/updates/12/i386/ repomd.xml [4517B]
Get:2 http://download.fedoraproject.org fedora/linux/releases/12/Everything/i386/os/ repomd.xml [4286B]
Fetched 8803B in 11s (763B/s)  
Hit http://download.fedoraproject.org fedora/linux/updates/12/i386/ e57b32ec4ece80899021c675d07493775aca14a3cfe6e1c935fd3337124f2628-primary.sqlite       
Get:1 http://download.fedoraproject.org fedora/linux/updates/12/i386/ 021f0f00f45295def1d7787bf42e55bff17349aa8b43395bd3114a9b539537b8-filelists.sqlite [6898kB]
Hit http://download.fedoraproject.org fedora/linux/releases/12/Everything/i386/os/ 01a9150327554e6d65132266f7b065a5d107b4efb7afa78012fa3ffcc6f517e9-primary.sqlite
Hit http://download.fedoraproject.org fedora/linux/releases/12/Everything/i386/os/ c5e3cda5e7bc2dc520e26e0545f1079400aae213bab8c03383c23ec5523c6cc4-filelists.sqlite
Fetched 6898kB in 31s (217kB/s)                                                                                                                           
Reading Package Lists... Done
Building Dependency Tree... Done
[root@ciXG *****]# apt-get install conky
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
   audacious-libs (2.2-12.fc12)
   mcs-libs (0.7.1-9.fc12)
   tolua++ (1.0.92-9.fc12)
The following NEW packages will be installed:
   audacious-libs (2.2-12.fc12)
   conky (1.7.2-1.fc12)
   mcs-libs (0.7.1-9.fc12)
   tolua++ (1.0.92-9.fc12)
0 upgraded, 4 newly installed, 0 removed and 0 not upgraded.
Need to get 395kB of archives.
After unpacking 1366kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://download.fedoraproject.org fedora/linux/updates/12/i386/ audacious-libs 2.2-12.fc12 [114kB]
Get:2 http://download.fedoraproject.org fedora/linux/releases/12/Everything/i386/os/ tolua++ 1.0.92-9.fc12 [40.4kB]
Get:3 http://download.fedoraproject.org fedora/linux/updates/12/i386/ mcs-libs 0.7.1-9.fc12 [21.2kB]                                                      
Get:4 http://download.fedoraproject.org fedora/linux/releases/12/Everything/i386/os/ conky 1.7.2-1.fc12 [220kB]                                           
Fetched 395kB in 10s (38.2kB/s)                                                                                                                           
Checking GPG signatures...               ############################## [100%]
Committing changes...
Preparing                                ############################## [100%]
Updating / installing
  mcs-libs-0.7.1-9.fc12.i686             ############################## [100%]
/sbin/ldconfig: 文件 /lib/libnspr4.so;4b9cc66d 己被截断

  tolua++-1.0.92-9.fc12.i686             ############################## [100%]
/sbin/ldconfig: 文件 /lib/libnspr4.so;4b9cc66d 己被截断

  audacious-libs-2.2-12.fc12.i686        ############################## [100%]
/sbin/ldconfig: 文件 /lib/libnspr4.so;4b9cc66d 己被截断

  conky-1.7.2-1.fc12.i686                ############################## [100%]
Done.

相关推荐