apt-get no package header 错误

来源:互联网 发布:ae for mac中文破解版 编辑:程序博客网 时间:2024/04/30 04:34
使用 apt-get 命令时出现下面错误。而且导致ubuntu软件中心打不开
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/ftp.sjtu.edu.cn_ubuntu_dists_precise-security_restricted_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.

解决方式:
sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update
原创粉丝点击