Sometimes when trying to update a package or install it we may see the following 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)To solve this error, using the package as an example apache2.2-common Which is what is giving me problems. The only thing we would have to do is delete the file or move it to another directory.
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/rokitohWe install/update the package again.
Regards, rokitoh
:wq!
Comments