Bug#327139: apache-perl purge ate /etc/apache
Adam Conrad wrote:
> Geoff Crompton wrote:
>
>>Do you have any recommendations on how to safely purge apache-perl? I
>>thought it'd be good to have it documented in this bug report, for
>>future people that might stumble across this.
>>
>> * manually edit files in /var/lib/dpkg/info to remove references to
>>things belonging to apache, then purge
>
>
> This one's probably your best bet.
> /var/lib/dpkg/info/apache-perl.{prerm,postrm} may both be executed on
> purge, depending on the current state of the package, and how those
> scripts are written. Dissecting them to remove whatever offending bits
> they may have shouldn't be too hard.
>
> ... Adam
>
There is also /var/lib/dpkg/info/apache-perl.list, with the line
"/etc/apache". Does dpkg use this file to remove stuff? Or is everything
to be removed expressed in the apache-perl.*rm scritpts?
--
Geoff Crompton
Debian System Administrator
Strategic Data
+61 3 9340 9000
Reply to: