-----安装中断后,出现如下问题:
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
root@ubuntu:~# dpkg --configure -a
dpkg: error: parsing file '/var/lib/dpkg/updates/0001' near line 0:
newline in field name `#padding'
解决办法:
sudo mv /var/lib/dpkg/updates/0001 /var/lib/dpkg/updates/0001.X
sudo dpkg --configure -a
sudo apt-get install -f