问题描述:
在Ubuntu 14.04 上使用apt-get update命令时,出现以下错误,导致安装软件失败。
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/cn.archive.ubuntu.com_ubuntu_dists_trusty_multiverse_i18n_Translation-en
E: The package lists or status file could not be parsed or opened.
E: The package lists or status file could not be parsed or opened.
解决办法:
将/var/lib/apt/lists目录下所有文件清空,再update即可。
sudo rm -vf /var/lib/apt/lists/*
sudo apt-get update