ubuntu20.4更新时,突然断网Problem parsing dependency,Error occurred while processing,Problem with MergeList


 

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

(0)
上一篇 2022年7月31日
下一篇 2022年7月31日

相关推荐

发表回复

登录后才能评论