I ran into this as well. On my testing/sarge system apache-ssl was removed, but not purged.

# dpkg -l apache-ssl
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============- ============================================
pn apache-ssl <none> (no description available)


This left me in a situation where /etc/apache-ssl/httpd.conf exists, but /etc/init.d/apache-ssl does not.
It's therefore no surprise that the phpwiki.postrm invocation of /usr/sbin/invoke-rc.d fails as reported below.


creaky:~# apt-get remove --purge phpwiki
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
  phpwiki*
0 upgraded, 0 newly installed, 1 to remove and 30 not upgraded.
Need to get 0B of archives.
After unpacking 5117kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 84784 files and directories currently installed.)
Removing phpwiki ...
Reloading apache configuration.
invoke-rc.d: unknown initscript, /etc/init.d/apache-ssl not found.
dpkg: error processing phpwiki (--purge):
 subprocess post-removal script returned error exit status 100
dpkg: error while cleaning up:
 subprocess post-installation script killed by signal (Interrupt)
Errors were encountered while processing:
 phpwiki
E: Sub-process /usr/bin/dpkg returned an error code (1)



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Reply via email to