当我使用upgrade或dist-upgrade运行apt或apt-get时,
❯ sudo apt-get dist-upgrade;
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/deb.debian.org_debian_dists_bullseye_main_i18n_Translation-en
E: The package lists or status file could not be parsed or opened.我也会在apt缓存中得到这个错误。
有什么问题,我怎么解决呢?
发布于 2022-03-18 03:05:45
我首先要做的就是移动这个文件,
/var/lib/apt/lists/deb.debian.org_debian_dists_bullseye_main_i18n_Translation-en虽然问题刚刚解决了,但没起作用,
Reading package lists... Error!
E: Problem parsing dependency 55 of erlang-common-test:amd64=1:23.2.6+dfsg-1
E: Error occurred while processing erlang-common-test (NewVersion2)
E: Problem with MergeList /var/lib/apt/lists/deb.debian.org_debian_dists_bullseye_main_binary-amd64_Packages
E: The package lists or status file could not be parsed or opened.在这一点上我跑了
sudo rm -r /var/lib/apt/lists/*重新运行apt-get update。现在一切都好了。
https://unix.stackexchange.com/questions/695877
复制相似问题