天天看點

dpkg: 無法恢複的緻命錯誤,中止: 軟體包 python-urllib3 的檔案名清單檔案缺

問題描述:

debconf: Perl may be unconfigured (List/Util.pm did not return a true value at /usr/lib/x86_64-linux-gnu/perl/5.22/Scalar/Util.pm line 11.

Compilation failed in require at /usr/lib/x86_64-linux-gnu/perl/5.22/Hash/Util.pm line 9.

BEGIN failed--compilation aborted at /usr/lib/x86_64-linux-gnu/perl/5.22/Hash/Util.pm line 9.

Compilation failed in require at /usr/share/perl/5.22/fields.pm line 122.

Compilation failed in require at /usr/share/perl5/Debconf/Log.pm line 10.

Compilation failed in require at (eval 1) line 4.

BEGIN failed--compilation aborted at (eval 1) line 4.

) -- aborting dpkg: 無法恢複的緻命錯誤,中止:

軟體包 python-urllib3 的檔案名清單檔案缺少最後結尾的換行符

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