On 2014-11-08 22:30, Daniel Kahn Gillmor wrote:
>> Setting up monkeysphere (0.37-1) ...
>> adding monkeysphere user...
>> ms: setting up Monkeysphere authentication trust core...
>> Failed running transition script /usr/share/monkeysphere/transitions/0.23
>> dpkg: error processing package monkeysphere (--configure):
>> subprocess installed post-installation script returned error exit status
>> 141
>> Errors were encountered while processing:
>> monkeysphere
>
> Is there a way that we can get more details about this?
Damned non-determinism. In a sequence of about 12 repetitions of the piuparts
test it failed only 4 times. It's just a plain installation in a jessie chroot
...
I've now rebuilt the package with 'set -x' inserted into the postinst and the
two transitionn scripts, let's see what we get now ...
This was a successful run:
0m25.9s DEBUG: Starting command: ['chroot', '/tmp/piupartss/tmp59f_N_', 'dpkg',
'-i', 'tmp/monkeysphere_0.37-1.1_all.deb']
0m27.0s DUMP:
Selecting previously unselected package monkeysphere.
(Reading database ... 8695 files and directories currently installed.)
Preparing to unpack .../monkeysphere_0.37-1.1_all.deb ...
Unpacking monkeysphere (0.37-1.1) ...
Setting up monkeysphere (0.37-1.1) ...
+ set -e
+ VARLIB=/var/lib/monkeysphere
+ getent passwd monkeysphere
+ echo adding monkeysphere user...
adding monkeysphere user...
+ adduser --quiet --system --no-create-home --group --home
/var/lib/monkeysphere --shell /bin/bash --gecos monkeysphere authentication
user,,, monkeysphere
+ /usr/share/monkeysphere/transitions/0.23
+ set -e
+ SYSSHAREDIR=/usr/share/monkeysphere
+ export SYSSHAREDIR
+ . /usr/share/monkeysphere/defaultenv
++ SYSCONFIGDIR=/etc/monkeysphere
++ export SYSCONFIGDIR
++ SYSDATADIR=/var/lib/monkeysphere
++ export SYSDATADIR
++ LOG_LEVEL=INFO
++ KEYSERVER=pool.sks-keyservers.net
++ CHECK_KEYSERVER=true
++ STRICT_MODES=true
++ MONKEYSPHERE_USER=monkeysphere
++ PROMPT=true
+ MADATADIR=/var/lib/monkeysphere/authentication
+ MHDATADIR=/var/lib/monkeysphere/host
+ STASHDIR=/var/lib/monkeysphere/backup-from-0.23-transition
+ '[' -f /etc/monkeysphere/monkeysphere-server.conf -a '!' -f
/etc/monkeysphere/monkeysphere-authentication.conf ']'
+ monkeysphere-authentication setup
ms: setting up Monkeysphere authentication trust core...
+ '[' -d /var/lib/monkeysphere/gnupg-host ']'
+ '[' -d /var/lib/monkeysphere/gnupg-authentication ']'
+ /usr/share/monkeysphere/transitions/0.28
+ set -e
+ SYSSHAREDIR=/usr/share/monkeysphere
+ export SYSSHAREDIR
+ . /usr/share/monkeysphere/defaultenv
++ SYSCONFIGDIR=/etc/monkeysphere
++ export SYSCONFIGDIR
++ SYSDATADIR=/var/lib/monkeysphere
++ export SYSDATADIR
++ LOG_LEVEL=INFO
++ KEYSERVER=pool.sks-keyservers.net
++ CHECK_KEYSERVER=true
++ STRICT_MODES=true
++ MONKEYSPHERE_USER=monkeysphere
++ PROMPT=true
+ OLD_HOST_KEY_FILE=/var/lib/monkeysphere/ssh_host_rsa_key.pub.gpg
+ '[' -f /var/lib/monkeysphere/ssh_host_rsa_key.pub.gpg ']'
+ monkeysphere-authentication setup
+ exit 0
0m27.0s DEBUG: Command ok: ['chroot', '/tmp/piupartss/tmp59f_N_', 'dpkg', '-i',
'tmp/monkeysphere_0.37-1.1_all.deb']
And this a failed one:
0m39.8s DEBUG: Starting command: ['chroot', '/tmp/piupartss/tmpEXX7lO', 'dpkg',
'-i', 'tmp/monkeysphere_0.37-1.1_all.deb']
0m40.4s DUMP:
Selecting previously unselected package monkeysphere.
(Reading database ... 8695 files and directories currently installed.)
Preparing to unpack .../monkeysphere_0.37-1.1_all.deb ...
Unpacking monkeysphere (0.37-1.1) ...
Setting up monkeysphere (0.37-1.1) ...
+ set -e
+ VARLIB=/var/lib/monkeysphere
+ getent passwd monkeysphere
+ echo adding monkeysphere user...
adding monkeysphere user...
+ adduser --quiet --system --no-create-home --group --home
/var/lib/monkeysphere --shell /bin/bash --gecos monkeysphere authentication
user,,, monkeysphere
+ /usr/share/monkeysphere/transitions/0.23
+ set -e
+ SYSSHAREDIR=/usr/share/monkeysphere
+ export SYSSHAREDIR
+ . /usr/share/monkeysphere/defaultenv
++ SYSCONFIGDIR=/etc/monkeysphere
++ export SYSCONFIGDIR
++ SYSDATADIR=/var/lib/monkeysphere
++ export SYSDATADIR
++ LOG_LEVEL=INFO
++ KEYSERVER=pool.sks-keyservers.net
++ CHECK_KEYSERVER=true
++ STRICT_MODES=true
++ MONKEYSPHERE_USER=monkeysphere
++ PROMPT=true
+ MADATADIR=/var/lib/monkeysphere/authentication
+ MHDATADIR=/var/lib/monkeysphere/host
+ STASHDIR=/var/lib/monkeysphere/backup-from-0.23-transition
+ '[' -f /etc/monkeysphere/monkeysphere-server.conf -a '!' -f
/etc/monkeysphere/monkeysphere-authentication.conf ']'
+ monkeysphere-authentication setup
ms: setting up Monkeysphere authentication trust core...
/usr/share/monkeysphere/ma/setup: line 73: printf: write error: Broken pipe
+ RET=1
+ echo Failed running transition script
/usr/share/monkeysphere/transitions/0.23
Failed running transition script /usr/share/monkeysphere/transitions/0.23
+ exit 1
dpkg: error processing package monkeysphere (--install):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
monkeysphere
0m40.4s DEBUG: Command failed (status=1), but ignoring error: ['chroot',
'/tmp/piupartss/tmpEXX7lO', 'dpkg', '-i', 'tmp/monkeysphere_0.37-1.1_all.deb']
but that was a different error, so use --testdebs-repo ...
and that failed again:
Selecting previously unselected package monkeysphere.
(Reading database ... 8695 files and directories currently installed.)
Preparing to unpack .../monkeysphere_0.37-1.1_all.deb ...
Unpacking monkeysphere (0.37-1.1) ...
Setting up monkeysphere (0.37-1.1) ...
+ set -e
+ VARLIB=/var/lib/monkeysphere
+ getent passwd monkeysphere
+ echo adding monkeysphere user...
adding monkeysphere user...
+ adduser --quiet --system --no-create-home --group --home
/var/lib/monkeysphere --shell /bin/bash --gecos monkeysphere authentication
user,,, monkeysphere
+ /usr/share/monkeysphere/transitions/0.23
+ set -e
+ SYSSHAREDIR=/usr/share/monkeysphere
+ export SYSSHAREDIR
+ . /usr/share/monkeysphere/defaultenv
++ SYSCONFIGDIR=/etc/monkeysphere
++ export SYSCONFIGDIR
++ SYSDATADIR=/var/lib/monkeysphere
++ export SYSDATADIR
++ LOG_LEVEL=INFO
++ KEYSERVER=pool.sks-keyservers.net
++ CHECK_KEYSERVER=true
++ STRICT_MODES=true
++ MONKEYSPHERE_USER=monkeysphere
++ PROMPT=true
+ MADATADIR=/var/lib/monkeysphere/authentication
+ MHDATADIR=/var/lib/monkeysphere/host
+ STASHDIR=/var/lib/monkeysphere/backup-from-0.23-transition
+ '[' -f /etc/monkeysphere/monkeysphere-server.conf -a '!' -f
/etc/monkeysphere/monkeysphere-authentication.conf ']'
+ monkeysphere-authentication setup
ms: setting up Monkeysphere authentication trust core...
+ RET=141
+ echo Failed running transition script
/usr/share/monkeysphere/transitions/0.23
Failed running transition script /usr/share/monkeysphere/transitions/0.23
+ exit 141
dpkg: error processing package monkeysphere (--configure):
subprocess installed post-installation script returned error exit status 141
Errors were encountered while processing:
monkeysphere
E: Sub-process /usr/bin/dpkg returned an error code (1)
OK, adding another set -x to nonkeysphere-authentication:
Selecting previously unselected package monkeysphere.
(Reading database ... 8695 files and directories currently installed.)
Preparing to unpack .../monkeysphere_0.37-1.1_all.deb ...
Unpacking monkeysphere (0.37-1.1) ...
Setting up monkeysphere (0.37-1.1) ...
+ set -e
+ VARLIB=/var/lib/monkeysphere
+ getent passwd monkeysphere
+ echo adding monkeysphere user...
adding monkeysphere user...
+ adduser --quiet --system --no-create-home --group --home
/var/lib/monkeysphere --shell /bin/bash --gecos monkeysphere authentication
user,,, monkeysphere
+ /usr/share/monkeysphere/transitions/0.23
+ set -e
+ SYSSHAREDIR=/usr/share/monkeysphere
+ export SYSSHAREDIR
+ . /usr/share/monkeysphere/defaultenv
++ SYSCONFIGDIR=/etc/monkeysphere
++ export SYSCONFIGDIR
++ SYSDATADIR=/var/lib/monkeysphere
++ export SYSDATADIR
++ LOG_LEVEL=INFO
++ KEYSERVER=pool.sks-keyservers.net
++ CHECK_KEYSERVER=true
++ STRICT_MODES=true
++ MONKEYSPHERE_USER=monkeysphere
++ PROMPT=true
+ MADATADIR=/var/lib/monkeysphere/authentication
+ MHDATADIR=/var/lib/monkeysphere/host
+ STASHDIR=/var/lib/monkeysphere/backup-from-0.23-transition
+ '[' -f /etc/monkeysphere/monkeysphere-server.conf -a '!' -f
/etc/monkeysphere/monkeysphere-authentication.conf ']'
+ monkeysphere-authentication setup
+ set -e
+ set -o pipefail
++ basename /usr/sbin/monkeysphere-authentication
+ PGRM=monkeysphere-authentication
+ SYSSHAREDIR=/usr/share/monkeysphere
+ export SYSSHAREDIR
+ . /usr/share/monkeysphere/defaultenv
++ SYSCONFIGDIR=/etc/monkeysphere
++ export SYSCONFIGDIR
++ SYSDATADIR=/var/lib/monkeysphere
++ export SYSDATADIR
++ LOG_LEVEL=INFO
++ KEYSERVER=pool.sks-keyservers.net
++ CHECK_KEYSERVER=true
++ STRICT_MODES=true
++ MONKEYSPHERE_USER=monkeysphere
++ PROMPT=true
+ . /usr/share/monkeysphere/common
++ '[' -n setup ']'
+++ type -t setup
+++ true
++ '[' '' = function ']'
+ MASHAREDIR=/usr/share/monkeysphere/ma
+ MADATADIR=/var/lib/monkeysphere/authentication
+ MATMPDIR=/var/lib/monkeysphere/authentication/tmp
+ export MATMPDIR
++ date -u +%FT%T
+ DATE=2014-11-09T18:13:17
+ unset GREP_OPTIONS
+ AUTHORIZED_USER_IDS=%h/.monkeysphere/authorized_user_ids
+ RAW_AUTHORIZED_KEYS=%h/.ssh/authorized_keys
+ '[' -e /etc/monkeysphere/monkeysphere-authentication.conf ']'
+ . /etc/monkeysphere/monkeysphere-authentication.conf
+ LOG_LEVEL=INFO
+ KEYSERVER=pool.sks-keyservers.net
+ CHECK_KEYSERVER=true
+ MONKEYSPHERE_USER=monkeysphere
++ get_primary_group monkeysphere
++ local uname=monkeysphere
++ groups monkeysphere
++ sed 's/^..* : //'
++ awk '{ print $1 }'
+ MONKEYSPHERE_GROUP=monkeysphere
+ PROMPT=true
+ AUTHORIZED_USER_IDS=%h/.monkeysphere/authorized_user_ids
+ RAW_AUTHORIZED_KEYS=%h/.ssh/authorized_keys
+ STRICT_MODES=true
+ REQUIRED_USER_KEY_CAPABILITY=a
+ GNUPGHOME_CORE=/var/lib/monkeysphere/authentication/core
+ GNUPGHOME_SPHERE=/var/lib/monkeysphere/authentication/sphere
+ CORE_KEYLENGTH=2048
+ LOG_PREFIX='ms: '
+ export DATE
+ export LOG_LEVEL
+ export KEYSERVER
+ export MONKEYSPHERE_USER
+ export MONKEYSPHERE_GROUP
+ export PROMPT
+ export CHECK_KEYSERVER
+ export REQUIRED_USER_KEY_CAPABILITY
+ export GNUPGHOME_CORE
+ export GNUPGHOME_SPHERE
+ export GNUPGHOME
+ export CORE_KEYLENGTH
+ export LOG_PREFIX
+ '[' 1 -eq 0 ']'
+ COMMAND=setup
+ shift
+ case $COMMAND in
+ source /usr/share/monkeysphere/ma/setup
+ setup
+ log debug 'checking authentication directory structure...'
+ local priority
+ local level
+ local output
+ local alllevels
+ local found=
+ alllevels='DEBUG
VERBOSE
INFO
ERROR'
+ LOG_LEVEL=INFO
+ '[' INFO = SILENT ']'
+ for level in '$alllevels'
+ '[' INFO = DEBUG ']'
+ for level in '$alllevels'
+ '[' INFO = VERBOSE ']'
+ for level in '$alllevels'
+ '[' INFO = INFO ']'
+ found=true
+ for level in '$alllevels'
+ '[' INFO = ERROR ']'
+ '[' -z true ']'
+ priority=DEBUG
+ shift
+ for level in '$alllevels'
+ '[' INFO = DEBUG ']'
+ '[' DEBUG = DEBUG -a '' = true ']'
+ for level in '$alllevels'
+ '[' INFO = VERBOSE ']'
+ '[' DEBUG = VERBOSE -a '' = true ']'
+ for level in '$alllevels'
+ '[' INFO = INFO ']'
+ output=true
+ '[' DEBUG = INFO -a true = true ']'
+ for level in '$alllevels'
+ '[' INFO = ERROR ']'
+ '[' DEBUG = ERROR -a true = true ']'
+ mkdir -p /var/lib/monkeysphere/authentication
+ chmod 0750 /var/lib/monkeysphere/authentication
+ chgrp monkeysphere /var/lib/monkeysphere/authentication
+ mkdir -p /var/lib/monkeysphere/authentication/tmp
+ chmod 0750 /var/lib/monkeysphere/authentication/tmp
+ chgrp monkeysphere /var/lib/monkeysphere/authentication/tmp
+ mkdir -p /var/lib/monkeysphere/authentication/core
+ chmod 0700 /var/lib/monkeysphere/authentication/core
+ mkdir -p /var/lib/monkeysphere/authentication/sphere
+ chmod 0700 /var/lib/monkeysphere/authentication/sphere
+ mkdir -p /var/lib/monkeysphere/authorized_keys
+ log debug 'writing core gpg.conf...'
+ local priority
+ local level
+ local output
+ local alllevels
+ local found=
+ alllevels='DEBUG
VERBOSE
INFO
ERROR'
+ LOG_LEVEL=INFO
+ '[' INFO = SILENT ']'
+ for level in '$alllevels'
+ '[' INFO = DEBUG ']'
+ for level in '$alllevels'
+ '[' INFO = VERBOSE ']'
+ for level in '$alllevels'
+ '[' INFO = INFO ']'
+ found=true
+ for level in '$alllevels'
+ '[' INFO = ERROR ']'
+ '[' -z true ']'
+ priority=DEBUG
+ shift
+ for level in '$alllevels'
+ '[' INFO = DEBUG ']'
+ '[' DEBUG = DEBUG -a '' = true ']'
+ for level in '$alllevels'
+ '[' INFO = VERBOSE ']'
+ '[' DEBUG = VERBOSE -a '' = true ']'
+ for level in '$alllevels'
+ '[' INFO = INFO ']'
+ output=true
+ '[' DEBUG = INFO -a true = true ']'
+ for level in '$alllevels'
+ '[' INFO = ERROR ']'
+ '[' DEBUG = ERROR -a true = true ']'
+ cat
+ KEYSERVER_OPTIONS=
+ for anchorfile in
'"${SYSCONFIGDIR}/monkeysphere-authentication-x509-anchors.crt"'
'"${SYSCONFIGDIR}/monkeysphere-x509-anchors.crt"'
+ '[' -z '' ']'
+ '[' -r /etc/monkeysphere/monkeysphere-authentication-x509-anchors.crt ']'
+ for anchorfile in
'"${SYSCONFIGDIR}/monkeysphere-authentication-x509-anchors.crt"'
'"${SYSCONFIGDIR}/monkeysphere-x509-anchors.crt"'
+ '[' -z '' ']'
+ '[' -r /etc/monkeysphere/monkeysphere-x509-anchors.crt ']'
+ log debug 'writing sphere gpg.conf...'
+ local priority
+ local level
+ local output
+ local alllevels
+ local found=
+ alllevels='DEBUG
VERBOSE
INFO
ERROR'
+ LOG_LEVEL=INFO
+ '[' INFO = SILENT ']'
+ for level in '$alllevels'
+ '[' INFO = DEBUG ']'
+ for level in '$alllevels'
+ '[' INFO = VERBOSE ']'
+ for level in '$alllevels'
+ '[' INFO = INFO ']'
+ found=true
+ for level in '$alllevels'
+ '[' INFO = ERROR ']'
+ '[' -z true ']'
+ priority=DEBUG
+ shift
+ for level in '$alllevels'
+ '[' INFO = DEBUG ']'
+ '[' DEBUG = DEBUG -a '' = true ']'
+ for level in '$alllevels'
+ '[' INFO = VERBOSE ']'
+ '[' DEBUG = VERBOSE -a '' = true ']'
+ for level in '$alllevels'
+ '[' INFO = INFO ']'
+ output=true
+ '[' DEBUG = INFO -a true = true ']'
+ for level in '$alllevels'
+ '[' INFO = ERROR ']'
+ '[' DEBUG = ERROR -a true = true ']'
+ cat
+ log debug 'fixing sphere gnupg home ownership...'
+ local priority
+ local level
+ local output
+ local alllevels
+ local found=
+ alllevels='DEBUG
VERBOSE
INFO
ERROR'
+ LOG_LEVEL=INFO
+ '[' INFO = SILENT ']'
+ for level in '$alllevels'
+ '[' INFO = DEBUG ']'
+ for level in '$alllevels'
+ '[' INFO = VERBOSE ']'
+ for level in '$alllevels'
+ '[' INFO = INFO ']'
+ found=true
+ for level in '$alllevels'
+ '[' INFO = ERROR ']'
+ '[' -z true ']'
+ priority=DEBUG
+ shift
+ for level in '$alllevels'
+ '[' INFO = DEBUG ']'
+ '[' DEBUG = DEBUG -a '' = true ']'
+ for level in '$alllevels'
+ '[' INFO = VERBOSE ']'
+ '[' DEBUG = VERBOSE -a '' = true ']'
+ for level in '$alllevels'
+ '[' INFO = INFO ']'
+ output=true
+ '[' DEBUG = INFO -a true = true ']'
+ for level in '$alllevels'
+ '[' INFO = ERROR ']'
+ '[' DEBUG = ERROR -a true = true ']'
+ chown monkeysphere:monkeysphere /var/lib/monkeysphere/authentication/sphere
/var/lib/monkeysphere/authentication/sphere/gpg.conf
++ core_fingerprint
++ log debug 'determining core key fingerprint...'
++ local priority
++ local level
++ local output
++ local alllevels
++ local found=
++ alllevels='DEBUG
VERBOSE
INFO
ERROR'
++ LOG_LEVEL=INFO
++ '[' INFO = SILENT ']'
++ for level in '$alllevels'
++ '[' INFO = DEBUG ']'
++ for level in '$alllevels'
++ '[' INFO = VERBOSE ']'
++ for level in '$alllevels'
++ '[' INFO = INFO ']'
++ found=true
++ for level in '$alllevels'
++ '[' INFO = ERROR ']'
++ '[' -z true ']'
++ priority=DEBUG
++ shift
++ for level in '$alllevels'
++ '[' INFO = DEBUG ']'
++ '[' DEBUG = DEBUG -a '' = true ']'
++ for level in '$alllevels'
++ '[' INFO = VERBOSE ']'
++ '[' DEBUG = VERBOSE -a '' = true ']'
++ for level in '$alllevels'
++ '[' INFO = INFO ']'
++ output=true
++ '[' DEBUG = INFO -a true = true ']'
++ for level in '$alllevels'
++ '[' INFO = ERROR ']'
++ '[' DEBUG = ERROR -a true = true ']'
++ grep '^fpr:'
++ cut -d: -f10
++ gpg_core --list-secret-key --with-colons --with-fingerprint
++ GNUPGHOME=/var/lib/monkeysphere/authentication/core
++ export GNUPGHOME
++ gpg --fixed-list-mode --no-greeting --quiet --no-tty --list-secret-key
--with-colons --with-fingerprint
+ local CORE_FPR=
+ log debug 'core fingerprint: '
+ local priority
+ local level
+ local output
+ local alllevels
+ local found=
+ alllevels='DEBUG
VERBOSE
INFO
ERROR'
+ LOG_LEVEL=INFO
+ '[' INFO = SILENT ']'
+ for level in '$alllevels'
+ '[' INFO = DEBUG ']'
+ for level in '$alllevels'
+ '[' INFO = VERBOSE ']'
+ for level in '$alllevels'
+ '[' INFO = INFO ']'
+ found=true
+ for level in '$alllevels'
+ '[' INFO = ERROR ']'
+ '[' -z true ']'
+ priority=DEBUG
+ shift
+ for level in '$alllevels'
+ '[' INFO = DEBUG ']'
+ '[' DEBUG = DEBUG -a '' = true ']'
+ for level in '$alllevels'
+ '[' INFO = VERBOSE ']'
+ '[' DEBUG = VERBOSE -a '' = true ']'
+ for level in '$alllevels'
+ '[' INFO = INFO ']'
+ output=true
+ '[' DEBUG = INFO -a true = true ']'
+ for level in '$alllevels'
+ '[' INFO = ERROR ']'
+ '[' DEBUG = ERROR -a true = true ']'
+ '[' -z '' ']'
+ log info 'setting up Monkeysphere authentication trust core...'
+ local priority
+ local level
+ local output
+ local alllevels
+ local found=
+ alllevels='DEBUG
VERBOSE
INFO
ERROR'
+ LOG_LEVEL=INFO
+ '[' INFO = SILENT ']'
+ for level in '$alllevels'
+ '[' INFO = DEBUG ']'
+ for level in '$alllevels'
+ '[' INFO = VERBOSE ']'
+ for level in '$alllevels'
+ '[' INFO = INFO ']'
+ found=true
+ for level in '$alllevels'
+ '[' INFO = ERROR ']'
+ '[' -z true ']'
+ priority=INFO
+ shift
+ for level in '$alllevels'
+ '[' INFO = DEBUG ']'
+ '[' INFO = DEBUG -a '' = true ']'
+ for level in '$alllevels'
+ '[' INFO = VERBOSE ']'
+ '[' INFO = VERBOSE -a '' = true ']'
+ for level in '$alllevels'
+ '[' INFO = INFO ']'
+ output=true
+ '[' INFO = INFO -a true = true ']'
+ sed 's/^/ms: /'
+ '[' 'setting up Monkeysphere authentication trust core...' ']'
+ echo 'setting up Monkeysphere authentication trust core...'
ms: setting up Monkeysphere authentication trust core...
+ for level in '$alllevels'
+ '[' INFO = ERROR ']'
+ '[' INFO = ERROR -a true = true ']'
+++ dd if=/dev/urandom bs=21 count=1
+++ perl -MMIME::Base64 -ne 'print encode_base64($_)'
++ printf 'Monkeysphere authentication trust core UID (random string: %s)'
DXU7cakXdbhX6aLDdCK66lTMw/IR
+ local 'CORE_UID=Monkeysphere authentication trust core UID (random string:
DXU7cakXdbhX6aLDdCK66lTMw/IR)'
+ printf 'generating monkeysphere authentication trust core key:\nsize: %d
bits\nuid: '\''%s'\''\n' 2048 'Monkeysphere authentication trust core UID
(random string: DXU7cakXdbhX6aLDdCK66lTMw/IR)'
+ log debug
+ local priority
+ local level
+ local output
+ local alllevels
+ local found=
+ alllevels='DEBUG
VERBOSE
INFO
ERROR'
+ LOG_LEVEL=INFO
+ '[' INFO = SILENT ']'
+ for level in '$alllevels'
+ '[' INFO = DEBUG ']'
+ for level in '$alllevels'
+ '[' INFO = VERBOSE ']'
+ for level in '$alllevels'
+ '[' INFO = INFO ']'
+ found=true
+ for level in '$alllevels'
+ '[' INFO = ERROR ']'
+ '[' -z true ']'
+ priority=DEBUG
+ shift
+ for level in '$alllevels'
+ '[' INFO = DEBUG ']'
+ '[' DEBUG = DEBUG -a '' = true ']'
+ for level in '$alllevels'
+ '[' INFO = VERBOSE ']'
+ '[' DEBUG = VERBOSE -a '' = true ']'
+ for level in '$alllevels'
+ '[' INFO = INFO ']'
+ output=true
+ '[' DEBUG = INFO -a true = true ']'
+ for level in '$alllevels'
+ '[' INFO = ERROR ']'
+ '[' DEBUG = ERROR -a true = true ']'
+ PEM2OPENPGP_USAGE_FLAGS=certify
+ PEM2OPENPGP_NEWKEY=2048
+ pem2openpgp 'Monkeysphere authentication trust core UID (random string:
DXU7cakXdbhX6aLDdCK66lTMw/IR)'
+ gpg_core --import
+ GNUPGHOME=/var/lib/monkeysphere/authentication/core
+ export GNUPGHOME
+ gpg --fixed-list-mode --no-greeting --quiet --no-tty --import
++ core_fingerprint
++ log debug 'determining core key fingerprint...'
++ local priority
++ local level
++ local output
++ local alllevels
++ local found=
++ alllevels='DEBUG
VERBOSE
INFO
ERROR'
++ LOG_LEVEL=INFO
++ '[' INFO = SILENT ']'
++ for level in '$alllevels'
++ '[' INFO = DEBUG ']'
++ for level in '$alllevels'
++ '[' INFO = VERBOSE ']'
++ for level in '$alllevels'
++ '[' INFO = INFO ']'
++ found=true
++ for level in '$alllevels'
++ '[' INFO = ERROR ']'
++ '[' -z true ']'
++ priority=DEBUG
++ shift
++ for level in '$alllevels'
++ '[' INFO = DEBUG ']'
++ '[' DEBUG = DEBUG -a '' = true ']'
++ for level in '$alllevels'
++ '[' INFO = VERBOSE ']'
++ '[' DEBUG = VERBOSE -a '' = true ']'
++ for level in '$alllevels'
++ '[' INFO = INFO ']'
++ output=true
++ '[' DEBUG = INFO -a true = true ']'
++ for level in '$alllevels'
++ '[' INFO = ERROR ']'
++ '[' DEBUG = ERROR -a true = true ']'
++ cut -d: -f10
++ grep '^fpr:'
++ gpg_core --list-secret-key --with-colons --with-fingerprint
++ GNUPGHOME=/var/lib/monkeysphere/authentication/core
++ export GNUPGHOME
++ gpg --fixed-list-mode --no-greeting --quiet --no-tty --list-secret-key
--with-colons --with-fingerprint
+ CORE_FPR=473F86D46E0B3CA0611450A8C9A7E0FFD1CD8FDC
+ log debug 'core fingerprint: 473F86D46E0B3CA0611450A8C9A7E0FFD1CD8FDC'
+ local priority
+ local level
+ local output
+ local alllevels
+ local found=
+ alllevels='DEBUG
VERBOSE
INFO
ERROR'
+ LOG_LEVEL=INFO
+ '[' INFO = SILENT ']'
+ for level in '$alllevels'
+ '[' INFO = DEBUG ']'
+ for level in '$alllevels'
+ '[' INFO = VERBOSE ']'
+ for level in '$alllevels'
+ '[' INFO = INFO ']'
+ found=true
+ for level in '$alllevels'
+ '[' INFO = ERROR ']'
+ '[' -z true ']'
+ priority=DEBUG
+ shift
+ for level in '$alllevels'
+ '[' INFO = DEBUG ']'
+ '[' DEBUG = DEBUG -a '' = true ']'
+ for level in '$alllevels'
+ '[' INFO = VERBOSE ']'
+ '[' DEBUG = VERBOSE -a '' = true ']'
+ for level in '$alllevels'
+ '[' INFO = INFO ']'
+ output=true
+ '[' DEBUG = INFO -a true = true ']'
+ for level in '$alllevels'
+ '[' INFO = ERROR ']'
+ '[' DEBUG = ERROR -a true = true ']'
+ '[' -z 473F86D46E0B3CA0611450A8C9A7E0FFD1CD8FDC ']'
+ log debug 'exporting core pub key to sphere keyring...'
+ local priority
+ local level
+ local output
+ local alllevels
+ local found=
+ alllevels='DEBUG
VERBOSE
INFO
ERROR'
+ LOG_LEVEL=INFO
+ '[' INFO = SILENT ']'
+ for level in '$alllevels'
+ '[' INFO = DEBUG ']'
+ for level in '$alllevels'
+ '[' INFO = VERBOSE ']'
+ for level in '$alllevels'
+ '[' INFO = INFO ']'
+ found=true
+ for level in '$alllevels'
+ '[' INFO = ERROR ']'
+ '[' -z true ']'
+ priority=DEBUG
+ shift
+ for level in '$alllevels'
+ '[' INFO = DEBUG ']'
+ '[' DEBUG = DEBUG -a '' = true ']'
+ for level in '$alllevels'
+ '[' INFO = VERBOSE ']'
+ '[' DEBUG = VERBOSE -a '' = true ']'
+ for level in '$alllevels'
+ '[' INFO = INFO ']'
+ output=true
+ '[' DEBUG = INFO -a true = true ']'
+ for level in '$alllevels'
+ '[' INFO = ERROR ']'
+ '[' DEBUG = ERROR -a true = true ']'
+ gpg_core --export
+ GNUPGHOME=/var/lib/monkeysphere/authentication/core
+ export GNUPGHOME
+ gpg --fixed-list-mode --no-greeting --quiet --no-tty --export
+ gpg_sphere --import
+ GNUPGHOME=/var/lib/monkeysphere/authentication/sphere
+ export GNUPGHOME
+ su_monkeysphere_user gpg --fixed-list-mode --no-greeting --quiet --no-tty
--import
+ case $(id -un) in
++ id -un
++ printf '%q ' gpg --fixed-list-mode --no-greeting --quiet --no-tty --import
+ su monkeysphere -c 'gpg --fixed-list-mode --no-greeting --quiet --no-tty
--import '
+ log debug 'setting ultimate owner trust on core key in gpg_sphere...'
+ local priority
+ local level
+ local output
+ local alllevels
+ local found=
+ alllevels='DEBUG
VERBOSE
INFO
ERROR'
+ LOG_LEVEL=INFO
+ '[' INFO = SILENT ']'
+ for level in '$alllevels'
+ '[' INFO = DEBUG ']'
+ for level in '$alllevels'
+ '[' INFO = VERBOSE ']'
+ for level in '$alllevels'
+ '[' INFO = INFO ']'
+ found=true
+ for level in '$alllevels'
+ '[' INFO = ERROR ']'
+ '[' -z true ']'
+ priority=DEBUG
+ shift
+ for level in '$alllevels'
+ '[' INFO = DEBUG ']'
+ '[' DEBUG = DEBUG -a '' = true ']'
+ for level in '$alllevels'
+ '[' INFO = VERBOSE ']'
+ '[' DEBUG = VERBOSE -a '' = true ']'
+ for level in '$alllevels'
+ '[' INFO = INFO ']'
+ output=true
+ '[' DEBUG = INFO -a true = true ']'
+ for level in '$alllevels'
+ '[' INFO = ERROR ']'
+ '[' DEBUG = ERROR -a true = true ']'
+ log verbose
+ local priority
+ local level
+ local output
+ local alllevels
+ local found=
+ alllevels='DEBUG
VERBOSE
INFO
ERROR'
+ LOG_LEVEL=INFO
+ '[' INFO = SILENT ']'
+ for level in '$alllevels'
+ '[' INFO = DEBUG ']'
+ for level in '$alllevels'
+ '[' INFO = VERBOSE ']'
+ for level in '$alllevels'
+ '[' INFO = INFO ']'
+ found=true
+ for level in '$alllevels'
+ '[' INFO = ERROR ']'
+ '[' -z true ']'
+ priority=VERBOSE
+ shift
+ for level in '$alllevels'
+ '[' INFO = DEBUG ']'
+ '[' VERBOSE = DEBUG -a '' = true ']'
+ for level in '$alllevels'
+ '[' INFO = VERBOSE ']'
+ '[' VERBOSE = VERBOSE -a '' = true ']'
+ for level in '$alllevels'
+ '[' INFO = INFO ']'
+ output=true
+ '[' VERBOSE = INFO -a true = true ']'
+ for level in '$alllevels'
+ '[' INFO = ERROR ']'
+ '[' VERBOSE = ERROR -a true = true ']'
+ printf '%s:6:\n' 473F86D46E0B3CA0611450A8C9A7E0FFD1CD8FDC
+ gpg_sphere --import-ownertrust
+ RET=141
+ echo Failed running transition script
/usr/share/monkeysphere/transitions/0.23
Failed running transition script /usr/share/monkeysphere/transitions/0.23
+ exit 141
dpkg: error processing package monkeysphere (--configure):
subprocess installed post-installation script returned error exit status 141
Errors were encountered while processing:
monkeysphere
E: Sub-process /usr/bin/dpkg returned an error code (1)
Andreas
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]