[Solved] E: Encountered a section with no Package: header

Resolving E: Encountered a section with no Package: header error

I have the following error on my ubuntu machine.

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 orstatusfile could not be parsed or opened.

Solution:

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

sudoapt-get update

 

restart, OK

Similar Posts: