dpkg: unrecoverable fatal error, aborting:
files list file for package 'libbluray2:amd64' is missing final newline
E: Sub-process /usr/bin/dpkg returned an error code (2)
我已经尝试过一些常见的东西,例如:
sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get clean
sudo apt-get update && sudo apt-get upgrade
答案1
您的文件已损坏。您可以删除它并重新安装该包。
sudo rm /var/lib/dpkg/info/libbluray2:amd64.list
sudo apt update
sudo apt install --reinstall libbluray2