Re: help with dpkg --configure error message
On Wed, Jul 23, 2003 at 05:40:09PM +0100, Wookey wrote:
> I've got a broken package and whilst I've got the package working by poking
> about dpkg is convinced it's still broken and regales me with a tedious
> message every time I run it. How do I debug the problem?
>
> At the moment I get this:
> stoneboat:/etc/php4/apache# dpkg --configure proftpd
> Setting up proftpd (1.2.4+1.2.5rc1-5woody2) ...
> dpkg: error processing proftpd (--configure):
> subprocess post-installation script returned error exit status 10
> Errors were encountered while processing:
> proftpd
> stoneboat:/etc/php4/apache#
>
> After some poking about I found that the package scripts are stored in
> /var/lib/dpkg/info but I can't tell which bit of which script is going wrong.
subprocess post-installation script == /var/lib/dpkg/info/<pkg>.postinst
>
> How do I get some debug info.
>
> In fact I got proftpd working anyway so I really just want this complaint to
> go away (leaving the package database in a sensible state).
you can get the package to install by putting:
exit 0
as the first command in the file. Please make sure to manually perform
all that the inst script was trying to do.
asg
Reply to: