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

Bug#279875: removing apache2-mpm-worker fails



Package: apache2-mpm-worker
Version: 2.0.52-1
Severity: important

While trying to upgrade an older libapache2-mod-php4, apache2-mpm-worker
should be removed.

But the removal failed, because "/etc/init.d/apache2 stop" returned an
error code (because apache2 was already stopped before).

The pre-removal script shouldn't abort if this happens, because it makes
things harder in case apache2 cannot be started due to some config
problems.

Output follows:

> # apt-get install libapache2-mod-php4
[...]
> The following extra packages will be installed:
>   apache2-mpm-prefork
> The following packages will be REMOVED:
>   apache2-mpm-worker
> The following NEW packages will be installed:
>   apache2-mpm-prefork libapache2-mod-php4
> 0 upgraded, 2 newly installed, 1 to remove and 486 not upgraded.
> Need to get 0B/1811kB of archives.
> After unpacking 3178kB of additional disk space will be used.
> Do you want to continue? [Y/n] 
> dpkg: apache2-mpm-worker: dependency problems, but removing anyway as you request:
>  apache2 depends on apache2-mpm-worker (= 2.0.52-1) | apache2-mpm-prefork (= 2.0.52-1) | apache2-mpm-perchild (= 2.0.52-1); however:
>   Package apache2-mpm-worker is to be removed.
>   Package apache2-mpm-prefork is not installed.
>   Package apache2-mpm-perchild is not installed.
> (Reading database ... 133594 files and directories currently installed.)
> Removing apache2-mpm-worker ...
> Stopping web server: Apache2invoke-rc.d: initscript apache2, action "stop" failed.
> dpkg: error processing apache2-mpm-worker (--remove):
>  subprocess pre-removal script returned error exit status 1
> Errors were encountered while processing:
>  apache2-mpm-worker
> E: Sub-process /usr/bin/dpkg returned an error code (1)



-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.23-1-686
Locale: LANG=C, LC_CTYPE=C

Versions of packages apache2-mpm-worker depends on:
ii  apache2-common              2.0.52-1     Next generation, scalable, extenda
ii  libapr0                     2.0.52-1     The Apache Portable Runtime
ii  libc6                       2.3.2.ds1-13 GNU C Library: Shared libraries an
ii  libdb4.2                    4.2.52-17    Berkeley v4.2 Database Libraries [
ii  libexpat1                   1.95.8-1     XML parsing C library - runtime li
ii  libldap2                    2.1.30-3     OpenLDAP libraries
ii  libssl0.9.7                 0.9.7d-4     SSL shared libraries
ii  zlib1g                      1:1.2.1.1-5  compression library - runtime

-- no debconf information



Reply to: