本文最后更新于:2024年10月10日 晚上

Ubuntu 报错 Problem parsing dependency … 本文记录解决方案。

问题复现

1
apt update

执行任何 apt 命令时都会报错

1
2
3
4
5
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
2
3
sudo mv /var/lib/apt/lists /var/lib/apt/oldlists
sudo apt clean
sudo apt update

参考资料



文章链接:
https://www.zywvvd.com/notes/system/linux/apt/apt-error/apt-error/


“觉得不错的话,给点打赏吧 ୧(๑•̀⌄•́๑)૭”

微信二维码

微信支付

支付宝二维码

支付宝支付

apt dependency 错误解决
https://www.zywvvd.com/notes/system/linux/apt/apt-error/apt-error/
作者
Yiwei Zhang
发布于
2024年10月10日
许可协议