依赖项错误。Sudo apt update

依赖项错误。Sudo apt update

每当我跑步时sudo apt update 我都会得到这个结果

Reading package lists... Error!
E: Problem parsing dependency 21 of libx32gcc-10-dev:i386=10-20200411-0ubuntu1
E: Error occurred while processing libx32gcc-10-dev (NewVersion2)
E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_focal_main_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.

答案1

创建旧列表目录的备份并再次更新 a​​pt:

sudo mv /var/lib/apt/lists /var/lib/apt/oldlists
sudo apt clean
sudo apt update

相关内容