Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Upgrading Apache from 1.3.22 to 1.3.26 (Mandrake)

Status
Not open for further replies.

arlequin

Programmer
Sep 21, 1999
232
UY
Hello there!

After reading the security reports about the bug in the Apache web server, I'm going to upgrade my 1.3.22 version (bundled with Mandrake 8.1) up to 1.3.26.

I've downloaded all the RPMs involving apache from
But when I type...

# rpm -U apache-1.3.26-mdk.rpm

I've got dependecies trouble with the rest of the apache packages. And if I try to upgrade the others packages first (i.e. apache-common) I get the following: mod_ssl and mod_php and another modules depend on 1.3.22 version of apache which is the one I want to upgrade... :-(

How can I upgrade the apache web server into 1.3.26?

I've been told to tpye:

# rpm -Uvh --replacepkgs --replacefiles rpm_package

but I get:
[root@server apache]# ls -l
total 1800
-rw------- 1 root root 136655 jul 17 12:10 apache-1.3.26-5mdk.i586.rpm
-rw-r--r-- 1 root root 173098 jul 17 12:12 apache-common-1.3.26-5mdk.i586.rpm
-rw-r----- 1 root root 73670 jul 12 00:00 apache-conf-1.3.26-2mdk.i586.rpm
-rw------- 1 root root 124426 jul 19 19:05 apache-devel-1.3.26-5mdk.i586.rpm
-rw-r--r-- 1 root root 863737 jul 17 12:20 apache-manual-1.3.26-5mdk.i586.rpm
-rw------- 1 root root 184975 jul 19 19:06
apache-mod_perl-1.3.26_1.27-4mdk.i586.rpm
-rw------- 1 root root 230295 jul 19 19:07 apache-modules-1.3.26-5mdk.i586.rpm
-rw------- 1 root root 9578 abr 15 10:00 apache-suexec-1.3.24-1mdk.i586.rpm


[root@server apache]# rpm -Uvh --replacepkgs --replacefiles apache-*
error: failed dependencies:
rpm-helper is needed by apache-conf-1.3.26-2mdk
mm-devel = 1.1.3 is needed by apache-devel-1.3.26-5mdk
libgdbm2-devel is needed by apache-devel-1.3.26-5mdk
libdb3.3-devel is needed by apache-devel-1.3.26-5mdk
perl = 5.8.0 is needed by apache-mod_perl-1.3.26_1.27-4mdk
mod_perl-common = 1.3.26_1.27 is needed by
apache-mod_perl-1.3.26_1.27-4mdk
apache-conf = 1.3.22 is needed by mod_perl-common-1.3.22_1.26-2.1mdk
apache-conf = 1.3.22 is needed by HTML-Embperl-1.3.22_2.0b3-2.1mdk
apache-conf = 1.3.22 is needed by mod_ssl-2.8.5-2.1mdk
apache-conf = 1.3.22 is needed by mod_php-4.0.6-7.1mdk
apache-modules = 1.3.22 is needed by
mod_perl-common-1.3.22_1.26-2.1mdk
apache-modules = 1.3.22 is needed by
HTML-Embperl-1.3.22_2.0b3-2.1mdk
apache-mod_perl = 1.3.22_1.26 is needed by
HTML-Embperl-1.3.22_2.0b3-2.1mdk
apache = 1.3.22 is needed by mod_ssl-2.8.5-2.1mdk
apache-common = 1.3.22 is needed by
mod_perl-common-1.3.22_1.26-2.1mdk
apache-common = 1.3.22 is needed by HTML-Embperl-1.3.22_2.0b3-2.1mdk
apache-common = 1.3.22 is needed by mod_ssl-2.8.5-2.1mdk
apache-common = 1.3.22 is needed by mod_php-4.0.6-7.1mdk



(Let's say I install rpm-helper, mm-devel and all the stuff required... I'm still having dependencies trouble..)


Thanks a lot,
Arlequín
arlequin@montevideo.com.uy
 
The easiest solution might be to just backup anything you need and then install a new version of Apache from source. Transfer all of your data over to the new Apache you just installed and then remove the old RPM packages after you have confirmed that it is working. It sounds like there are a lot of linked packages to your Apache RPM. When you install from source, you have more control over what is being installed.

You can run multiple versions of Apache at the same time until you get the new one working. You will have to either run one version on a different port or on another IP. You can bind a second IP to your NIC if you have to.

ChrisP ------------------------------------------------------------------------------
If somebody helps you, please click the link in the botton left hand corner that says "Mark this post as a helpful/expert post".
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top