Lazarus中文社区

 找回密码
 立即注册(注册审核可向QQ群索取)

QQ登录

只需一步,快速开始

Lazarus IDE and 组件 下载地址版权申明
查看: 11009|回复: 0

rpmlib(FileDigests) is needed by 解决方法

[复制链接]

该用户从未签到

发表于 2011-4-20 16:43:34 | 显示全部楼层 |阅读模式
在centos5.5下安装lazarus0.9.30,我遇到了rpmlib(FileDigests) is needed by错误。在网上找到了下面的方法解决:
方法1.
Michael Joyner (newsrx) 2010-12-22 11:30:52 EST
Description of problem:

yum --nogpgcheck install lazarus-0.9.28.2-0.x86_64.rpm
Loaded plugins: replace, rhnplugin, security
Setting up Install Process
Examining lazarus-0.9.28.2-0.x86_64.rpm: lazarus-0.9.28.2-0.x86_64
Marking lazarus-0.9.28.2-0.x86_64.rpm to be installed
Resolving Dependencies
There are unfinished transactions remaining. You might consider running
yum-complete-transaction first to finish them.
The program yum-complete-transaction is found in the yum-utils package.
--> Running transaction check
---> Package lazarus.x86_64 0:0.9.28.2-0 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================================================================================
Package                             Arch                               Version
                                 Repository                                    
         Size
==============================================================================================================================================================================
Installing:
lazarus                             x86_64                            
0.9.28.2-0                               /lazarus-0.9.28.2-0.x86_64            
                216 M

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

Total size: 216 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
rpmlib(FileDigests) is needed by lazarus-0.9.28.2-0.x86_64
Complete!
(1, [u&#39lease report this error in
https://bugzilla.redhat.com/ente ... p;amp;component=yum'])

Actual results:

installation failure

Expected results:

installatio success

Additional info:

rpm downloaded from:
http://sourceforge.net/projects/ ... -0.src.rpm/download


方法2.
the package lazarus was built with a newer version of rpm than the one in
rhel5. You should ask the provider of the pkg to [re]build it with these
rpmmacros enabled

%_source_filedigest_algorithm 0
%_binary_filedigest_algorithm 0


then it will work on rhel5.
回复

使用道具 举报

*滑块验证:

本版积分规则

QQ|手机版|小黑屋|Lazarus中国|Lazarus中文社区 ( 鄂ICP备16006501号-1 )

GMT+8, 2025-5-2 21:40 , Processed in 0.027843 second(s), 10 queries , Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表