Control: found -1 2.10-2.2
Hi Gregor,
there seems to be a small error in the .config script. If I have
piuparts do an --install-remove-install test, the second installation
(package is in config files remaining state) fails (for both
mono-xsp2, mono-xsp4) with
Selecting previously unselected package mono-xsp4.
(Reading database ... 10216 files and directories currently installed.)
Unpacking mono-xsp4 (from .../mono-xsp4_2.10-2.2_all.deb) ...
invoke-rc.d: policy-rc.d denied execution of stop.
Setting up mono-xsp4 (2.10-2.2) ...
dpkg: error processing mono-xsp4 (--configure):
subprocess installed post-installation script returned error exit status 20
Errors were encountered while processing:
mono-xsp4
entering the chroot I can manually get this debug information:
# DEBIAN_FRONTEND=noninteractive DEBCONF_DEBUG=developer sh -x
/var/lib/dpkg/info/mono-xsp4.postinst configure
+ set -e
+ . /usr/share/debconf/confmodule
+ [ ! ]
+ PERL_DL_NONLAZY=1
+ export PERL_DL_NONLAZY
+ [ ]
+ exec /usr/share/debconf/frontend /var/lib/dpkg/info/mono-xsp4.postinst
configure
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_TIME = "en_DK.UTF-8",
LC_CTYPE = "en_US.UTF-8",
LC_COLLATE = "POSIX",
LANG = (unset)
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
debconf (developer): frontend started
debconf (developer): frontend running, package name is mono-xsp4
debconf (developer): starting /var/lib/dpkg/info/mono-xsp4.config configure
debconf (developer): <-- VERSION 2.0
debconf (developer): --> 0 2.0
debconf (developer): <-- CAPB backup
debconf (developer): --> 0 multiselect escape
debconf (developer): <-- TITLE XSP4 WebServer
debconf (developer): --> 0
debconf (developer): <-- SET xsp4/xsp4_autostart true
debconf (developer): --> 0 value set
debconf (developer): <-- SET xsp4/xsp4_bind 0.0.0.0
debconf (developer): --> 0 value set
debconf (developer): <-- GET xsp4/xsp4_port 8084
debconf (developer): --> 20 Incorrect number of arguments
Ahh, there it is in .config: needs a s/db_get/db_set/
# get existing values
xsp4_default="/etc/default/mono-xsp4"
if [ -e $xsp4_default ]; then
. $xsp4_default || true
db_set xsp4/xsp4_autostart "$start_boot"
db_set xsp4/xsp4_bind "$address"
db_get xsp4/xsp4_port "$port"
fi
Andreas
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]