Solved

rpm Installation Error

Posted on 2008-11-03
7
2,233 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
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 create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

685 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