Reading package lists... Error! 解决方案

2670阅读 0评论2013-02-28 az00000000
分类:LINUX

Reading package lists... Error!

E: Encountered a section with no Package: header

E: Problem with MergeList /var/lib/apt/lists/AZ.archive.ubuntu.com_ubuntu_dists_natty_main_i18n _Translation-en

E: The package lists or status file could not be parsed or opened.

 
解决:
run these two commands and it should get you fixed up.
Code:
sudo rm /var/lib/apt/lists/* -vf
The first command will remove the damaged list and when you run the second command it will replace it with a new list.

Code:
sudo apt-get update
上一篇:命令fuser
下一篇:ubuntu 12.04 git命令自动补全 (转)