[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#845405: x11-common: configure fails at "db_purge" with exit status 20 "Incorrect number of arguments"



Package: x11-common
Version: 1:7.7+17

After today's upload, the configure step of "x11-common" fails
(presumably thanks to the addition of "set -x"):

> $ sudo DEBCONF_DEBUG=developer dpkg --configure x11-common
> Setting up x11-common (1:7.7+17) ...
> debconf (developer): frontend started
> debconf (developer): frontend running, package name is x11-common
> debconf (developer): starting /var/lib/dpkg/info/x11-common.postinst
> configure 1:7.7+16
> debconf (developer): <-- PURGE x11-common/xwrapper/allowed_users
> debconf (developer): --> 20 Incorrect number of arguments
> dpkg: error processing package x11-common (--configure):
>  subprocess installed post-installation script returned error exit status 20
> Errors were encountered while processing:
>  x11-common

It would appear that "db_purge" is only intended for use during
package removal, and that perhaps "db_unregister" was intended
instead?

>From the debconf-devel manpage:

>        UNREGISTER question
>               This removes a question from the database.
>
>        PURGE  Call this in your postrm when your package is purged. It removes
>               all of your package's questions from debconf's database.

♥,
- Tianon
  4096R / B42F 6819 007F 00F8 8E36  4FD4 036A 9C25 BF35 7DD4


Reply to: