Ubuntu – Le fichier de liste de fichiers pour le paquet «libvo-aacenc0: amd64» est manquant final newline

J’ai un problème avec dpkg lorsque j’essaie d’installer un paquet.

Voici la sortie du journal:

 ➜  LC_MESSAGES=C sudo apt install tree
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/40,6 kB of archives.
After this operation, 138 kB of additional disk space will be used.
Selecting previously unselected package tree.
dpkg: unrecoverable fatal error, aborting:
 files list file for package 'libvo-aacenc0:amd64' is missing final newline
E: Sub-process /usr/bin/dpkg returned an error code (2)

Meilleure réponse

  • Essayez avec:

     sudo rm /var/lib/dpkg/info/libvo-aacenc0*
    sudo apt-get install libvo-aacenc0 --reinstall