[Debconf-devel] Bug#427062: Bug#427062: debconf: dpkg-reconfigure: should set package to "failed-config" if postinst fails

Colin Watson cjwatson at debian.org
Sat Jun 2 16:05:58 UTC 2007


On Fri, Jun 01, 2007 at 06:32:46PM +0200, Frank Küster wrote:
> Package: debconf
> Version: 1.5.11
> Severity: normal
> 
> If for some reason the postinst script run by "dpkg-reconfigure $pkg"
> fails, this means that the configuration is screwed, and probably the
> package is not fully usable.  I think it would be a good idea if
> dpkg-reconfigure would set $pkg to failed-config in this case.

(You mean 'half-configured'?)

> I'm not sure whether dpkg provides a possibility for this, therefore the
> dpkg team gets a Cc of this report.

I'm pretty sure that there is indeed no way to do this short of editing
/var/lib/dpkg/status directly, which obviously wouldn't be a good idea.

-- 
Colin Watson                                       [cjwatson at debian.org]




More information about the Debconf-devel mailing list