LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Debian unstable - apt-get upgrade broke apache2 (https://www.linuxquestions.org/questions/debian-26/debian-unstable-apt-get-upgrade-broke-apache2-490728/)

GT_Onizuka 10-08-2006 11:46 PM

Debian unstable - apt-get upgrade broke apache2
 
I was just running a routine sudo apt-get update and sudo apt-get upgrade, and it seemed to hiccup on apache2

Code:

Unpacking replacement apache2-mpm-prefork ...
(Reading database ... 130413 files and directories currently installed.)
Removing apache2-common ...
Stopping apache 2.0 web server...apache2: Syntax error on line 116 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/cgi.load: Cannot load /usr/lib/apache2/modules/mod_cgi.so into server: /usr/lib/apache2/modules/mod_cgi.so: undefined symbol: apr_filename_of_pathname
 failed!
invoke-rc.d: initscript apache2, action "stop" failed.
dpkg: error processing apache2-common (--remove):
 subprocess pre-removal script returned error exit status 1
Errors were encountered while processing:
 apache2-common
E: Sub-process /usr/bin/dpkg returned an error code (1)

Any ideas? I commented out the line for loading modules, but it's going to cause a lot more problems considering I'm using those modules, any reason why it doesn't work all of a sudden?

craigevil 10-09-2006 03:45 AM

You might want to take a look here:
View topic - Apache2 warning: don't dist-upgrade if you use apache 2
http://kanotix.com/PNphpBB2-viewtopic-t-21411.html

The only solution at this time is to downgrade to the apache version in testing.

GT_Onizuka 10-10-2006 01:50 AM

This seems to be helpful to those who haven't already run the dist-upgrade... how can I go about reverting to the old version of apache2 (or the one that's running in testing)?

operator10001 10-10-2006 06:06 PM

if your package is broken, then you can use the synaptic package manager to fix it.


All times are GMT -5. The time now is 05:28 PM.