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

来源:互联网 发布:htc m8数据连接已断开 编辑:程序博客网 时间:2024/06/13 02:44

参考    http://blog.csdn.net/forlong401/article/details/6327442


一直显示这个:





然后安装一个新的软件包:   

zhangbin@ubuntu:~$ sudo su
[sudo] password for zhangbin: 
root@ubuntu:/home/zhangbin# sudo apt-get install dos2unix
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/mirrors.163.com_ubuntu_dists_precise_main_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.
root@ubuntu:/home/zhangbin# 




解决方法:


sudo mv /var/lib/apt/lists /var/lib/apt/lists.bad


sudo apt-get update





原创粉丝点击