LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-08-2006, 11:46 PM   #1
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Rep: Reputation: 31
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?
 
Old 10-09-2006, 03:45 AM   #2
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,883
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
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.
 
Old 10-10-2006, 01:50 AM   #3
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Original Poster
Rep: Reputation: 31
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)?
 
Old 10-10-2006, 06:06 PM   #4
operator10001
Member
 
Registered: Mar 2006
Distribution: debian sarge
Posts: 222

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get upgrade broke kcm_kio.so Dtsazza Debian 1 10-10-2006 08:54 AM
apt-get dist-upgrade broke lilo, apache & squid mikeaustn Debian 10 07-24-2005 01:48 PM
apt-get upgrade UNSTABLE mistake ... bennethos Debian 1 01-01-2005 10:25 AM
problems with apt-get upgrade in Debian unstable Boogieman Debian 8 05-13-2004 02:18 PM
debian unstable upgrade broke mozilla misterflibble Linux - Software 9 03-12-2004 12:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration