ubuntu solve the "E: Problem with MergeList / var / lib / apt / lists /" Error

This error means: unresolved or open the package lists or status file.
The reason: unresolved or open the list of packages in most cases is the software installed with the system itself has some problems like conflict, or had to update software or download software source when the unexpected interruption caused.

Solution :

method one

$ sudo rm /var/lib/apt/lists/* -vfR #删除apt-get install 的所有软件状态包,也可以直接删除lists文件夹
$ sudo apt-get update

Method Two

$ sudo apt-get clean #清除已加载或本来该加载但是没有加载的已安装软件的包或状态
$ sudo apt-get update 重新更新并覆盖所有以apt-get 方式安装的软件源或包

Reproduced in: https: //www.cnblogs.com/taceywong/p/5860263.html

Guess you like

Origin blog.csdn.net/weixin_33682790/article/details/94197945