Bug#388603: diogenes: purging the package fails (debconf not available)
On Thu, Sep 21, 2006 at 03:20:24PM +0200, Jeremy Lainé wrote: > Hi Bill, > > Well spotted. The current use of Debconf by the postrm script serves > these purposes: > - check what web servers were auto-configured at install to deconfigure them > - check whether the user asked for site data to be delete on purge > - retrieve database credentials Hello Jeremy, I would expect such data to be available in some configuration file instead as only in the debconf db, because "Debconf is not a registry". > Would it be acceptable to only perform the web server config / web > site data purge only if /usr/share/debconf/confmodule is present? I think it would be acceptable since this is a conservative option, but using the debconf db for long time storage of important data seems dangerous. User should be allowed to remove the debconf db without affecting the system. Cheers, Bill.
Bug#388603: diogenes: purging the package fails (debconf not available)
Hi Bill, Well spotted. The current use of Debconf by the postrm script serves these purposes: - check what web servers were auto-configured at install to deconfigure them - check whether the user asked for site data to be delete on purge - retrieve database credentials Would it be acceptable to only perform the web server config / web site data purge only if /usr/share/debconf/confmodule is present? Jeremy -- http://www.jerryweb.org/ : JerryWeb.org http://sailcut.sourceforge.net/ : Sailcut CAD http://opensource.polytechnique.org/ : Polytechnique.org Free Software -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#388603: diogenes: purging the package fails (debconf not available)
Package: diogenes Version: 0.9.20-1 Severity: serious Hello Jeremy, There is an error when attempting to purge diogenes: Removing diogenes ... Purging configuration files for diogenes ... /var/lib/dpkg/info/diogenes.postrm: line 46: /usr/share/debconf/confmodule: No such file or directory dpkg: error processing diogenes (--purge): subprocess post-removal script returned error exit status 1 When purging a package, you cannot rely on dependencies being fullfilled, see policy 7.2: Policy 7.2: Note, however, that the `postrm' cannot rely on any non-essential packages to be present during the `purge' phase. Cheers, -- Bill. <[EMAIL PROTECTED]> Imagine a large red swirl here. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]