ubuntu-E:Encountered a section with no Package: header的解决办法

来源:互联网 发布:唐宁为什么不红 知乎 编辑:程序博客网 时间:2024/05/30 23:01
刚才打开ubuntu,我的版本是14.04.正想使用sudo apt-get update 时,出现了如下错误:


    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.


    虽然不知道是怎么回事,但是google出来的结果提示可以按如下方法解决,记录之:


    sudo rm /var/lib/apt/lists/* -vf


    sudo apt-get update
0 0