Powered by Invision Power Board


  Reply to this topicStart new topicStart Poll

> Upgrading Apache on RH9, Problems upgrading using rpm
Darren
Posted: May 22 2004, 09:15 PM
Quote Post


Newbie
*

Group: Members
Posts: 5
Member No.: 29
Joined: 30-March 03



Well after a year of thinking about it and gathering old parts, I've finally bit my project Linux box :)

Armed with the Red Hat Linux 9 Bible, I've installed RH9 along with Apache/PHP/MySQL.

Started to try to upgrade these to the latest versions.

Downloaded an rpm for apache from rpmfind.net and tried to install it from the shell. I downloaded it to /home/myuseraccount/rpm

CODE
[root@localhost rpm]# rpm -U httpd-2.0.49-4.i386.rpm
warning: httpd-2.0.49-4.i386.rpm: V3 DSA signature: NOKEY, key ID 4f2a6fd2
error: Failed dependencies:
libapr-0.so.0 is needed by httpd-2.0.49-4
libaprutil-0.so.0 is needed by httpd-2.0.49-4
libdb-4.2.so is needed by httpd-2.0.49-4
pcre < 4.0 conflicts with httpd-2.0.49-4
httpd-mmn = 20020628 is needed by (installed) mod_perl-1.99_07-5
httpd-mmn = 20020628 is needed by (installed) mod_auth_mysql-1.11-12
httpd-mmn = 20020628 is needed by (installed) mod_auth_pgsql-0.9.12-14
httpd-mmn = 20020628 is needed by (installed) mod_ssl-2.0.40-21.11
httpd-mmn = 20020628 is needed by (installed) mod_python-3.0.1-4
httpd-mmn = 20020628 is needed by (installed) php-4.2.2-17.2
libapr.so.0 is needed by (installed) mod_perl-1.99_07-5
libaprutil.so.0 is needed by (installed) mod_perl-1.99_07-5


So what does all this mean?

The Red Hat Linux 9 Bible is a good book, but it doesn't explain what to do if things go wrong. Do I need to install some other stuff first?
PMEmail Poster
Top
fishsponge
Posted: May 23 2004, 11:10 AM
Quote Post


Administrator
********

Group: Admin
Posts: 679
Member No.: 1
Joined: 13-February 03



ok, well look at line 3 (assuming line numbering starts at 1)...

CODE
error: Failed dependencies:


This means you have failed dependencies - basically, packages that the new version of apache relies on are not installed or packages it conflicts with are installed.

Now look at the rest of the lines:

CODE
libapr-0.so.0 is needed by httpd-2.0.49-4
libaprutil-0.so.0 is needed by httpd-2.0.49-4
libdb-4.2.so is needed by httpd-2.0.49-4
pcre < 4.0 conflicts with httpd-2.0.49-4
httpd-mmn = 20020628 is needed by (installed) mod_perl-1.99_07-5
httpd-mmn = 20020628 is needed by (installed) mod_auth_mysql-1.11-12
httpd-mmn = 20020628 is needed by (installed) mod_auth_pgsql-0.9.12-14
httpd-mmn = 20020628 is needed by (installed) mod_ssl-2.0.40-21.11
httpd-mmn = 20020628 is needed by (installed) mod_python-3.0.1-4
httpd-mmn = 20020628 is needed by (installed) php-4.2.2-17.2
libapr.so.0 is needed by (installed) mod_perl-1.99_07-5
libaprutil.so.0 is needed by (installed) mod_perl-1.99_07-5


The first three lines say that you need to install libapr-0.so.0, libaprutil-0.so.0, and libdb-4.2.so before installation of apache can continue.

".so" files are libraries, so you should probably search for the packages named libapr, libaprutil, and libdb.

It also states on the next line that pcre < 4.0 conflicts with apache. I would have thought this means you do have pcre installed, but your version is too old. try upgrading pcre as well, and if that doesn't work, try removing it (after you've found out what it does, of course).

The last few lines (...is needed by (installed)...) mean you need to install the packages listed at the start of each line (httpd-mmn, libapr.so.0, etc...) in order for some of the apache modules (mod_...) to work.

I might not be 100% correct on all this, but that's how i interpret that info. Personally, i use a different distribution and a different package manager, but that's at least what it looks like to me :D

hope it helps!!
PMEmail PosterUsers WebsiteICQAOLYahooMSN
Top
Darren
Posted: May 23 2004, 09:10 PM
Quote Post


Newbie
*

Group: Members
Posts: 5
Member No.: 29
Joined: 30-March 03



Thanks for breaking all that down. I'll try installing those modules/packages which it says httpd needs.

PCRE - Perl Compatible Regular Expressions. Found an RPM here

Will let you know how I get on.

Darren.

BTW which distribution/package manager do you use?
PMEmail Poster
Top
fishsponge
Posted: May 24 2004, 02:27 PM
Quote Post


Administrator
********

Group: Admin
Posts: 679
Member No.: 1
Joined: 13-February 03



i use debian with apt (and the dselect front-end) very nice... :D
PMEmail PosterUsers WebsiteICQAOLYahooMSN
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | Web Servers & FTP Servers | Next Newest »

Topic Options Reply to this topicStart new topicStart Poll

 



[ Script Execution time: 0.3090 ]   [ 12 queries used ]   [ GZIP Enabled ]




Partners: Cambridge Plus :: <Link Available> :: Server Room Temperature Monitor :: <Link Available>
Unix Man Pages / Linux Man Pages :: HiFi Forum :: SIP VoIP Phone & Provider Reviews :: UNIX/Linux Forum Archives

More info on advertising on Unix/Linux Forum