E: Encountered a section with no Package: header
时间:2019-11-20 08:53:14 来源:igfitidea点击:
在Debian中运行apt-get update命令时,报错:
Reading package lists… Error! E: Encountered a section with no Package: header E: Problem with MergeList /var/lib/apt/lists/security.debian.org_dists_squeeze_updates_contrib_i18n_Translation-en E: The package lists or status file could not be parsed or opened.
解决方案
使用root执行以下命令:
# rm -rf /var/lib/apt/lists/* # apt-get update
重新执行升级命令:
# apt-get upgrade