歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Fedora 12成功安裝conky

Fedora 12成功安裝conky

日期:2017/2/28 16:36:49   编辑:Linux教程

上次有講,我直接用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.

Copyright © Linux教程網 All Rights Reserved