![依赖项错误。Sudo apt update](https://linux22.com/image/1182923/%E4%BE%9D%E8%B5%96%E9%A1%B9%E9%94%99%E8%AF%AF%E3%80%82Sudo%20apt%20update%20.png)
每当我跑步时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
创建旧列表目录的备份并再次更新 apt:
sudo mv /var/lib/apt/lists /var/lib/apt/oldlists
sudo apt clean
sudo apt update