红联Linux门户
Linux帮助

ubuntu安装中断后出错file '/var/lib/dpkg/updates/0001'的解决

发布时间:2016-12-17 11:11:12来源:linux网站作者:swimming_in_IT_
-----安装中断后,出现如下问题:
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
 
本文永久更新地址:http://www.linuxdiyf.com/linux/26979.html