OVH Cloud OVH Cloud

[DEBIAN] apt-get : verrouillage sur templates.dat

1 réponse
Avatar
christophe Raverdy
'soir

je viens de procéder à l'installation d'une debian 3.0 (officielle)
Je pense que cela c'est à peu près bien passé. j'ai du m*rder, mais je
ne vois pas où.

Souhaitant ajouter un package j'ai donc tenté un apt-get, mais, le
système me retourne systématiquement :

----------------------------------------------------------------------
debconf: DbDriver "templatedb" error: /var/cache/debconf/templates.dat
is locked by another process
debconf: DbDriver "templatedb" error: /var/cache/debconf/templates.dat
is locked by another process
dpkg: error processing hotplug (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
hotplug
E: Sub-process /usr/bin/dpkg returned an error code (1)
----------------------------------------------------------------------


je n'ai rien dans /var/lock
Avant d'exécuter la commande, j'ai pensé à nettoyer
/var/cache/debconf/lock

faut-il réinitialiser la base ? (si oui, comment ?) y a-t-il un autre
répertoire contenant d'autres verrous ? Dois-je refaire une installation
?

Par avance, merci pour les pistes ou solutions.

--
christophe

1 réponse

Avatar
christophe Raverdy
christophe Raverdy :

----------------------------------------------------------------------
debconf: DbDriver "templatedb" error: /var/cache/debconf/templates.dat
is locked by another process
debconf: DbDriver "templatedb" error: /var/cache/debconf/templates.dat
is locked by another process
dpkg: error processing hotplug (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
hotplug
E: Sub-process /usr/bin/dpkg returned an error code (1)
----------------------------------------------------------------------


Bon, j'ai trouvé tout seul : apt-setup a tout remis en place.

--
christophe