Chinaunix首页 | 论坛 | 博客
  • 博客访问: 682696
  • 博文数量: 183
  • 博客积分: 9166
  • 博客等级: 中将
  • 技术积分: 1920
  • 用 户 组: 普通用户
  • 注册时间: 2009-01-31 16:17
文章分类

全部博文(183)

文章存档

2010年(159)

2009年(24)

分类:

2009-11-17 22:13:15

新装的FC11 更新系统时出现以下错误 google 百度 一圈 能用的方法都试过了 问题还是没有得到解决
大家过来帮帮忙吧  看有什么解决方案。。。。。。

===================================Problem================================================================================
I've recently installed a clean copy of fedora 11 on my laptop. Once I got the network working, I tried to use Software Update from System Administration. It found 627 updates, but when trying to apply all, it came back with an erro in several modules.

ERROR with rpm_check_debug vs depsolve:
rpmlib(PayloadIsXz) is needed by glibc-common-2.10.90-7.1.i686

I was able to apply some updates individually through the interface and started with rpm & yum. yum worked but rpm still had problems. I tried from the command line next and it seems to center on two packages - glibc and glibc-common.:

[david@fedorahost ~]$ su -c 'yum update glibc*'
Password:
Loaded plugins: refresh-packagekit
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package glibc.i686 0:2.10.90-7.1 set to be updated
---> Package glibc-common.i686 0:2.10.90-7.1 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

==================================================
Package Arch Version Repository Size
==================================================
Updating:
glibc i686 2.10.90-7.1 rawhide 2.8 M
glibc-common i686 2.10.90-7.1 rawhide 6.0 M

Transaction Summary
==================================================
Install 0 Package(s)
Upgrade 2 Package(s)

Total size: 8.8 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
rpmlib(PayloadIsXz) is needed by glibc-common-2.10.90-7.1.i686
rpmlib(PayloadIsXz) is needed by glibc-2.10.90-7.1.i686
Complete!
(1, [u'Please report this error in '])

Is this a known issue? Or is there a way to apply the updates for these or the 'Development Tools' group as a whole?

Thanks,

fridmeister
=============================================================================================================


****************************************
yum install xz xz-lzma-compat  xz-libs


*****************************************


Hi, this is what I did to fix the "rpmlib(PayloadIsXz) is needed by" problem:

1. Download xz packages for your platform:
(eg )

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 )

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.


***********************************************************************************
阅读(3821) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~