debug info - i set monkeysphere debugging and enabled tracing in the postinst:

anarcat@marcos:~$ sudo env MONKEYSPHERE_LOG_LEVEL=DEBUG apt-get install
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
1 partiellement installés ou enlevés.
Après cette opération, 0 o d'espace disque supplémentaires seront utilisés.
Paramétrage de monkeysphere (0.36-1) ...
+ set -e
+ VARLIB=/var/lib/monkeysphere
+ getent passwd monkeysphere
+ /usr/share/monkeysphere/transitions/0.23
ms: checking authentication directory structure...
ms: writing core gpg.conf...
ms: writing sphere gpg.conf...
ms: fixing sphere gnupg home ownership...
ms: determining core key fingerprint...
ms: core fingerprint: 2EBD247FA05765D924178575DD58DC050E79BE1D
ms: Monkeysphere authentication trust core already exists.
ms: exporting core pub key to sphere keyring...
gpg: impossible d'ouvrir « 
/var/lib/monkeysphere/authentication/sphere/pubring.gpg »
gpg: keydb_get_keyblock failed: eof
gpg: aucun porte-clefs accessible en écriture n'a été trouvé : eof
gpg: erreur de lecture de « [stdin] » : erreur générale
gpg: import from `[stdin]' failed: erreur générale
+ RET=2
+ echo Failed running transition script /usr/share/monkeysphere/transitions/0.23
Failed running transition script /usr/share/monkeysphere/transitions/0.23
+ exit 2
dpkg: error processing package monkeysphere (--configure):
 le sous-processus script post-installation installé a retourné une erreur de 
sortie d'état 2
Des erreurs ont été rencontrées pendant l'exécution :
 monkeysphere
E: Sub-process /usr/bin/dpkg returned an error code (1)

It seems that the given file is not writable by the monkeysphere user:

-rw------- 1 root root 682 juil. 19  2012 
/var/lib/monkeysphere/authentication/sphere/pubring.gpg

I have no clue how this happened.

Changing the ownership of this back to monkeysphere:monkeysphere fixed
my bug.

A.

-- 
Le pouvoir n'est pas à conquérir, il est à détruire
                        - Jean-François Brient, de la servitude moderne

Attachment: pgpwVJAq3EqMB.pgp
Description: PGP signature

Reply via email to