1. 程式人生 > >apt-get install E: Encountered a section with no Package: header

apt-get install E: Encountered a section with no Package: header

今天新裝 Ubuntu GNOMEN 13.10 

進入系統  #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下還是搞定了。

記錄下解決方法。

1 sudo rm /var/lib/apt/lists/* -vf
2 sudo apt-get update

然後就可以

# sudo apt-get upgrade