Me pasó lo siguiente. Debian se quedó literalmente congelado en la mitad de un dist-upgrade y no me quedó otra que reiniciar a la fuerza. Ahora, cuando intento hacer dist-upgrade me tira los siguientes errores:
After unpacking 0B of additional disk space will be used. (Reading database ... 106117 files and directories currently installed.) Preparing to replace diff 2.8.1-4 (using .../archives/diff_2.8.1-5_i386.deb) ... install-info(/usr/share/info/diff.info): failed to lock dir for editing! File exists try deleting /usr/share/info/dir.lock ? This shouldn't happen at /usr/share/perl/5.8.1/Text/Wrap.pm line 64. dpkg: warning - old pre-removal script returned error exit status 9 dpkg - trying script from the new package instead ... install-info(/usr/share/info/diff.info): failed to lock dir for editing! File exists try deleting /usr/share/info/dir.lock ? This shouldn't happen at /usr/share/perl/5.8.1/Text/Wrap.pm line 64. dpkg: error processing /var/cache/apt/archives/diff_2.8.1-5_i386.deb (--unpack): subprocess new pre-removal script returned error exit status 9 install-info(/usr/share/info/diff.info): failed to lock dir for editing! File exists try deleting /usr/share/info/dir.lock ? This shouldn't happen at /usr/share/perl/5.8.1/Text/Wrap.pm line 64. dpkg: error while cleaning up: subprocess post-installation script returned error exit status 9 Errors were encountered while processing: /var/cache/apt/archives/diff_2.8.1-5_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) Por supuesto ya trate de borrar el archive dir.lock, pero todo sigue igual... Sugerencias?