Solved

rpm Installation Error

Posted on 2008-11-03
7
2,223 Views
Last Modified: 2013-12-13
Hi All Experts

I am a newer in Linux area. I tried to build a PHP+mySQL envionment under RedHat 5-x86_64

When I tried to install httpd, I got the following Error message:

[root@mtest Server]# rpm -Uvh httpd-2.2.3-11.el5_1.3.x86_64.rpm
warning: httpd-2.2.3-11.el5_1.3.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
error: Failed dependencies:
        libapr-1.so.0()(64bit) is needed by httpd-2.2.3-11.el5_1.3.x86_64
        libaprutil-1.so.0()(64bit) is needed by httpd-2.2.3-11.el5_1.3.x86_64

After that:I found libapr1-1.2.9-3.3.x86_64.rpm and installed it, I got another error message:

[root@mtest home]# rpm -Uvh libapr1-1.2.9-3.3.x86_64.rpm
warning: libapr1-1.2.9-3.3.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 6c721436
error: Failed dependencies:
        rpmlib(PayloadIsLzma) <= 4.4.2-1 is needed by libapr1-1.2.9-3.3.x86_64

But I cannot find rpmlib.4.4.2-1-x86_64.rpm or rpm-4.4.2-1-x86_64 on the Internet.

Please anyone can help me to fix this problem or tell me where I can download this rpm installation files.

Thanks

0
Comment
Question by:mxgong
  • 2
7 Comments
 
LVL 5

Accepted Solution

by:
ifreq earned 250 total points
ID: 22866706
What prevents from you to  use packagemanagers like yum?

Good howto in here:

http://howtoforge.net/quick-n-easy-lamp-server-centos-rhel

0
 
LVL 19

Assisted Solution

by:jools
jools earned 250 total points
ID: 22867431
if you use rpm to install you will have to resolve dependencies for yourself.

If you have configured repositories, use yum to manage dependencies.
   yum install httpd

or you can use system-config-packages to select the packages you want to install.
0
 
LVL 5

Expert Comment

by:arulkumarabi
ID: 22885601
what is rpmlib version you are using??

upgrade this version to  4.4.2 or higher

this may solve your problem
0
 
LVL 5

Expert Comment

by:ifreq
ID: 22885677
There is no idea to install packages separately, use the provided commands and the packages will be updated automatically and the depencies will be resolved.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
PHP Sum Column in Table 3 27
Creating a slider 12 34
Generating a set of random unique numbers 6 18
showing numeric numbers 2 8
Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
The viewer will learn how to count occurrences of each item in an array.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now