Reading package lists... Error! 解决方案 分类: ubuntu database 问题总结 2014-01-23 09:45 1546人阅读 评论(0) 收藏
ubuntu 下安装python开发包,执行命令 sudo apt-get install python-dev,报错;
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.
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/* -vfCode:
sudo apt-get update