首页 > 代码库 > ubuntu sudo-update出错Encountered a section with no Package: header

ubuntu sudo-update出错Encountered a section with no Package: header

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

 

ubuntu sudo-update出错Encountered a section with no Package: header