解决Ubuntu14.04 下 E: Encountered a section with no Package: header 问题

时间:2022-02-07 14:59:22

参考:

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

解决Ubuntu14.04 下 E: Encountered a section with no Package: header 问题

在用apt-get安装软件包的时候出现如下错误:

Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/mirrors.163.com_ubuntu_dists_trusty_main_i18n_Translation-en
E: The package lists or status file could not be parsed or opened.

解决方法:

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

$ sudo apt-get update

2017.6.11