我用的系统是RedFlag 6.3
里面带的阅读器是chmsee,可是它没有index(索引)项,比如我使用linux命令大全.chm带index (windows下),可是chmsee就没有那个标签页。
后来我想装一个kchmviewer ,下载了一个5.2的rpm包,安装时出现了所下错误:
error: Failed dependencies:
rpmlib(PayloadIsLzma) <= 4.4.6-1 is needed by kchmviewer-5.2-1.i586
请高手解决,怎样安装kchmviewer,万分感谢!
坤坤 于 2010-07-22 14:16:20发表:
在网上找到了一点资料,哈哈
Hi, this is what I did to fix the "rpmlib(PayloadIsXz) is needed by" problem:
1. Download xz packages for your platform:
(eg http://fr2.rpmfind.net/linux/RPM/fedora/updates/11/i386/XByName.htm)
xz-4.999.9-0.1.beta.20091007git.fc11
xz-devel-4.999.9-0.1.beta.20091007git.fc11
xz-libs-4.999.9-0.1.beta.20091007git.fc11
xz-lzma-compat-4.999.9-0.1.beta.20091007git.fc11
2. Download rpm packages for your platform:
(eg http://fr2.rpmfind.net/linux/RPM/fedora/updates/11/i386/RByName.html)
rpm-4.7.1-3.fc11
rpm-build-4.7.1-3.fc11
rpm-devel-4.7.1-3.fc11
rpm-libs-4.7.1-3.fc11
rpm-python-4.7.1-3.fc11
3. Install packages in this order:
rpm -Uvh xz-devel-4.999.9-0.1.beta.20091007git.fc11
rpm -Uvh xz-libs-4.999.9-0.1.beta.20091007git.fc11
rpm -Uvh xz-4.999.9-0.1.beta.20091007git.fc11
rpm -Uvh xz-lzma-compat-4.999.9-0.1.beta.20091007git.fc11
rpm -Uvh --nodeps rpm-4.7.1-3.fc11
rpm -Uvh rpm-build-4.7.1-3.fc11
rpm -Uvh rpm-devel-4.7.1-3.fc11
rpm -Uvh rpm-libs-4.7.1-3.fc11
rpm -Uvh rpm-python-4.7.1-3.fc11
That’s it, you can now use yum again, I hope it helps someone
只是我这弄那弄,也不知道是那个页面中的内容了,不管怎样,大家学习一下吧