Package: defoma
Version: 0.11.8-0.1
Severity: serious

In the case where both defoma and, say fontconfig, are being removed in
the same dpkg run, defoma was removed first, and then fontconfig's prerm
script failed with:

> Removing defoma ...
> Purging configuration files for defoma ...
> dpkg - warning: while removing defoma, directory `/etc/defoma' not empty so 
> not removed.
> Removing libfreetype6 ...
> Purging configuration files for libfreetype6 ...
> Removing fontconfig ...
> /var/lib/dpkg/info/fontconfig.prerm: line 9: /usr/bin/defoma-app: No such 
> file or directory
> dpkg: error processing fontconfig (--remove):
>  subprocess pre-removal script returned error exit status 1

The patch at http://patches.ubuntu.com/patches/defoma.prerm.diff fixes
the problem by only running the commands if the binaries are present.

lamont


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

Reply via email to