[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apache2 apr_filename_of_pathname



Þann 2006-10-13, 13:44:19 (+0200) skrifaði Ivan Glushkov:
> Hi all,
> 
> since one week I cannot update my debian, since I always get the following:
> 
> 13:27 h1siglushkov /home/glushkov # apt-get -f install
> Reading package lists... Done
> Building dependency tree... Done
> Correcting dependencies...Done
> The following extra packages will be installed:
>    apache2-mpm-prefork apache2.2-common
> The following packages will be REMOVED
>    apache2-common
> The following NEW packages will be installed
>    apache2.2-common
> The following packages will be upgraded:
>    apache2-mpm-prefork
> 1 upgraded, 1 newly installed, 1 to remove and 475 not upgraded.
> 3 not fully installed or removed.
> Need to get 1333kB of archives.
> After unpacking 389kB of additional disk space will be used.
> Do you want to continue [Y/n]? y
> Get: 1 ftp://ftp.de.debian.org unstable/main apache2-mpm-prefork 2.2.3-2 
> [415kB]
> Get: 2 ftp://ftp.de.debian.org unstable/main apache2.2-common 2.2.3-2 
> [918kB]
> Fetched 1333kB in 0s (1696kB/s)
> (Reading database ... 206882 files and directories currently installed.)
> Removing apache2-common ...
> Stopping apache 2.0 web server...grep: /etc/apache2/mods-enabled/*.conf: 
> No such file or directory
> 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)

Does the apache deamon stop after this?
Check and make sure it is running before you try this command and
afterwards see if it is stopped. If not, try to stop it by hand,
should be something like /etc/init.d/apache stop, see if the same grep
error comes up.

Else you can try to remove it by hand, dpkg --purge apache2-common and
then try to fix apt-get.

HTH

Oli



Reply to: