J'ai eu une panne de courant sur mon ordinateur portable, donc j'ai fini par tomber en panne au milieu d'une installation de package. Comment puis-je corriger cette erreur?
jrg@atlantis:~$ Sudo apt-get upgrade --fix-missing
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? Y
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
Setting up man-db (2.6.3-1) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing man-db (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
man-db
E: Sub-process /usr/bin/dpkg returned an error code (1)
jrg@atlantis:~$
J'ai trouvé la solution!
Courir
Sudo fuser -k /var/cache/debconf/config.dat
puis essayez Sudo apt-get install -f
. Il devrait se terminer.
Le fuser -k
l'outil ira et acceptera un nom de fichier, puis tuera tout ce qui y accède.