ubuntu更新时,突然断网。于是出现了这样的错误:
E: Problem parsing dependency 21 of linux-modules-nvidia-418-server-5.11.0-1020-gcp:amd64=5.11.0-1020.22~20.04.1 E: Error occurred while processing linux-modules-nvidia-418-server-5.11.0-1020-gcp (NewVersion2) E: Problem with MergeList /var/lib/apt/lists/mirrors.aliyun.com_ubuntu_dists_focal-updates_restricted_binary-amd64_Packages E: The package lists or status file could not be parsed or opened.
可以这样处理:
sudo rm -r /var/lib/apt/lists/* sudo apt-get clean && sudo apt-get update
如果是下载仓库错误可以这样:
sudo rm -rf /var/lib/apt/lists/* sudo apt-get update
原创文章,作者:Maggie-Hunter,如若转载,请注明出处:https://blog.ytso.com/278006.html