Comment 8 for bug 1065678

Revision history for this message
Dawid Wróbel (dawidw) wrote : Re: Unable to install apt-build, apparently a bug in debconf

dpkg-reconfigure debconf worked just fine. BTW. I switched the priority level for ignored questions to low. This caused the apt-get configuration dialog to be shown for more advanced options, too (compilation tuning, etc.). I previously thought these questions were not shown because of the bug (I was asked these on another quantal system I use).

After adding the "set -x":

root@mele:~# DEBCONF_DEBUG=developer dpkg --configure -a
Setting up apt-build (0.12.43) ...
debconf (developer): frontend started
debconf (developer): frontend running, package name is apt-build
debconf (developer): starting /var/lib/dpkg/info/apt-build.config configure
+ set -e
+ CONFFILE=/etc/apt/apt-build.conf
+ build_dir=
+ repository_dir=
+ Olevel=
+ mtune=
+ options=
+ make_options=
+ . /usr/share/debconf/confmodule
+ [ ! 1 ]
+ [ -z ]
+ exec
+ [ ]
+ exec
+ DEBCONF_REDIR=1
+ export DEBCONF_REDIR
+ [ -e /etc/apt/apt-build.conf ]
+ ok=
+ [ -z ]
+ db_input medium apt-build/build_dir
+ _db_cmd INPUT medium apt-build/build_dir
+ _db_internal_IFS=

+ IFS=
+ printf %s\n INPUT medium apt-build/build_dir
+ IFS=

+ IFS=
 read -r _db_internal_line
debconf (developer): <-- INPUT medium apt-build/build_dir
debconf (developer): --> 0 question will be asked
+ RET=question will be asked
+ return 0
+ db_go
+ _db_cmd GO
+ _db_internal_IFS=

+ IFS=
+ printf %s\n GO
+ IFS=

+ IFS=
 read -r _db_internal_line
debconf (developer): <-- GO
debconf (developer): --> 0 ok
+ RET=ok
+ return 0
+ db_get apt-build/build_dir
+ _db_cmd GET apt-build/build_dir
+ _db_internal_IFS=

+ IFS=
+ printf %s\n GET apt-build/build_dir
+ IFS=

+ IFS=
 read -r _db_internal_line
debconf (developer): <-- GET apt-build/build_dir
debconf (developer): --> 0 /var/cache/apt-build/build
+ RET=/var/cache/apt-build/build
+ return 0
+ [ -z /var/cache/apt-build/build ]
+ ok=0
+ [ -z 0 ]
+ repository_dir=
+ [ -z ]
+ db_input medium apt-build/repository_dir
+ _db_cmd INPUT medium apt-build/repository_dir
+ _db_internal_IFS=

+ IFS=
+ printf %s\n INPUT medium apt-build/repository_dir
+ IFS=

+ IFS=
 read -r _db_internal_line
debconf (developer): <-- INPUT medium apt-build/repository_dir
debconf (developer): --> 0 question will be asked
+ RET=question will be asked
+ return 0
+ db_go
+ _db_cmd GO
+ _db_internal_IFS=

+ IFS=
+ printf %s\n GO
+ IFS=

+ IFS=
 read -r _db_internal_line
debconf (developer): <-- GO
debconf (developer): --> 0 ok
+ RET=ok
+ return 0
+ db_get apt-build/repository_dir
+ _db_cmd GET apt-build/repository_dir
+ _db_internal_IFS=

+ IFS=
+ printf %s\n GET apt-build/repository_dir
+ IFS=

+ IFS=
 read -r _db_internal_line
debconf (developer): <-- GET apt-build/repository_dir
debconf (developer): --> 0 /var/cache/apt-build/repository
+ RET=/var/cache/apt-build/repository
+ return 0
+ [ -z /var/cache/apt-build/repository ]
+ repository_dir=/var/cache/apt-build/repository
+ [ -z /var/cache/apt-build/repository ]
+ db_subst apt-build/add_to_sourceslist repo /var/cache/apt-build/repository
+ _db_cmd SUBST apt-build/add_to_sourceslist repo /var/cache/apt-build/repository
+ _db_internal_IFS=

+ IFS=
+ printf %s\n SUBST apt-build/add_to_sourceslist repo /var/cache/apt-build/repository
+ IFS=

+ IFS=
 read -r _db_internal_line
debconf (developer): <-- SUBST apt-build/add_to_sourceslist repo /var/cache/apt-build/repository
debconf (developer): --> 0
+ RET=0
+ return 0
+ apt-config shell etcdir Dir::Etc
+ eval etcdir='etc/apt/'
+ etcdir=etc/apt/
+ apt-config shell sourceslist Dir::Etc::sourcelist
+ eval sourceslist='sources.list'
+ sourceslist=sources.list
+ apt-config shell sourcesparts Dir::Etc::sourceparts
+ eval sourcesparts='sources.list.d'
+ sourcesparts=sources.list.d
+ [ ! -e /etc/apt/apt-build.conf ]
+ db_set apt-build/add_to_sourceslist true
+ _db_cmd SET apt-build/add_to_sourceslist true
+ _db_internal_IFS=

+ IFS=
+ printf %s\n SET apt-build/add_to_sourceslist true
+ IFS=

+ IFS=
 read -r _db_internal_line
debconf (developer): <-- SET apt-build/add_to_sourceslist true
debconf (developer): --> 0 value set
+ RET=value set
+ return 0
+ db_input critical apt-build/add_to_sourceslist
+ _db_cmd INPUT critical apt-build/add_to_sourceslist
+ _db_internal_IFS=

+ IFS=
+ printf %s\n INPUT critical apt-build/add_to_sourceslist
+ IFS=

+ IFS=
 read -r _db_internal_line
debconf (developer): <-- INPUT critical apt-build/add_to_sourceslist
debconf (developer): --> 0 question will be asked
+ RET=question will be asked
+ return 0
+ db_input critical apt-build/olevel
+ _db_cmd INPUT critical apt-build/olevel
+ _db_internal_IFS=

+ IFS=
+ printf %s\n INPUT critical apt-build/olevel
+ IFS=

+ IFS=
 read -r _db_internal_line
debconf (developer): <-- INPUT critical apt-build/olevel
debconf (developer): --> 0 question will be asked
+ RET=question will be asked
+ return 0
+ db_input medium apt-build/options
+ _db_cmd INPUT medium apt-build/options
+ _db_internal_IFS=

+ IFS=
+ printf %s\n INPUT medium apt-build/options
+ IFS=

+ IFS=
 read -r _db_internal_line
debconf (developer): <-- INPUT medium apt-build/options
debconf (developer): --> 0 question will be asked
+ RET=question will be asked
+ return 0
+ db_go
+ _db_cmd GO
+ _db_internal_IFS=

+ IFS=
+ printf %s\n GO
+ IFS=

+ IFS=
 read -r _db_internal_line
debconf (developer): <-- GO
debconf (developer): --> 0 ok
+ RET=ok
+ return 0
+ multithreaded=
+ [ -n ]
+ [ -r /proc/cpuinfo ]
+ [ ! -e /etc/apt/apt-build.conf ]
+ grep -c processor /proc/cpuinfo
+ multithreaded=-j0
dpkg: error processing apt-build (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 apt-build