问题描述
忽然之间发现apt-get命令不能用了,出现了下面的错误,搜索一通已解决。
E; Encountered a section with no package: header
E: Problem with MergeList /var/lib/apt/lists/archive.canonical.com_dists_lucid_partner_binary-amd64_Packages
E: The package lists or status file could not be parsed or opened.
E: Problem with MergeList /var/lib/apt/lists/archive.canonical.com_dists_lucid_partner_binary-amd64_Packages
E: The package lists or status file could not be parsed or opened.
解决方法
删除lists目录即可:
$sudo rm /var/lib/apt/lists -vfR