Inicio Linux & Systems Networks & Infrastructure Cybersecurity Cloud & DevOps SIEM & Monitoring DFIR & Threat Intel Development & Other Todas las categorias Herramientas

apt-get dpkg error: files list file for package `*’ is missing final newline

apt-get dpkg error:  files list file for package `*’ is missing final newline

Tabla de contenidos

Algunas veces al tratar de actualizar  un paquete o instalarlo podemos observar el siguiente error:

bash
dpkg: serious warning: files list file for package `libcurl3′ missing, assuming package has no files currently installed.

dpkg: unrecoverable fatal error, aborting:

files list file for package `apache2.2-common’ is missing final newline

E: Sub-process /usr/bin/dpkg returned an error code (2)

Para solucionar este error, poniendo de ejemplo al paquete apache2.2-common que es el que me esta dando problemas ami. Lo único que tendríamos que hacer es eliminar el fichero o moverlo a otro directorio.

bash
rokitoh@red-orbita :# rm -r /var/lib/dpkg/info/apache2.2-common.list
rokitoh@red-orbita :# mv /var/lib/dpkg/info/apache2.2-common.list /home/rokitoh

Volvemos a instalar/actualizar el paquete.

Un saludo, rokitoh
:wq!

Comentarios