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

Frank Küster frank at debian.org
Fri Jun 1 16:32:46 UTC 2007


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.

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

Regards, Frank


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable'), (99, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=de_DE at euro, LC_CTYPE=de_DE at euro (charmap=ISO-8859-15)

Versions of packages debconf depends on:
ii  debconf-i18n                  1.5.11     full internationalization support 
ii  perl-base                     5.8.8-7    The Pathologically Eclectic Rubbis

Versions of packages debconf recommends:
ii  apt-utils                   0.6.46.4-0.1 APT utility programs

-- debconf information:
  debconf-apt-progress/preparing:
  debconf-apt-progress/title:
  debconf-apt-progress/info:
  debconf-apt-progress/media-change:
* debconf/frontend: Gnome
* debconf/priority: medium

-- 
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)




More information about the Debconf-devel mailing list