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

Bug#845398: x11-common: Can't configure



On Wed, 23 Nov 2016 01:53:45 +0100 Samuel Thibault <sthibault@debian.org> wrote:
> I guess what was meant was rather
>
> db_unregister x11-common/xwrapper/allowed_users
> db_unregister x11-common/xwrapper/actual_allowed_users

I tested this locally just to see if I could get past the configure
failure, and the fix will probably need to go one step further with
either "|| :" / "|| true" or an explicit "if ! db_unregister ...; then
# do something about it; fi"

> $ sudo DEBCONF_DEBUG=developer dpkg --configure x11-commonSetting 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): <-- UNREGISTER x11-common/xwrapper/allowed_users
> debconf (developer): --> 10 x11-common/xwrapper/allowed_users doesn't exist
> dpkg: error processing package x11-common (--configure):
> subprocess installed post-installation script returned error exit status 10
> Errors were encountered while processing:
>  x11-common

After changing to the following, I was successful in completing the
configure of x11-common:

> db_unregister x11-common/xwrapper/allowed_users || :
> db_unregister x11-common/xwrapper/actual_allowed_users || :

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


Reply to: