系统相关
首页 > 系统相关> > ubuntu20.4更新时,突然断网Problem parsing dependency,Error occurred while processing,Problem with MergeList

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

  

标签:sudo,lib,processing,lists,apt,Error,var,Problem
来源: https://www.cnblogs.com/codeaaa/p/16536336.html