Fehler Die Paketlisten oder die Statusdatei konnten während der Aktualisierung nicht analysiert oder geöffnet werden

Fehler Die Paketlisten oder die Statusdatei konnten während der Aktualisierung nicht analysiert oder geöffnet werden

Ich versuchte zu :

sudo apt-get update

Hat nicht funktioniert mit Fehler:

Hit:1 http://security.debian.org buster/updates InRelease
Hit:2 http://deb.debian.org/debian buster-backports InRelease
Hit:3 http://ftp.hu.debian.org/debian buster-updates InRelease
Hit:4 http://ftp.hu.debian.org/debian buster InRelease
Hit:5 https://quantum-mirror.hu/mirrors/pub/mx-linux/packages/antix/buster buster InRelease
Unknown Multi-Arch type 'fore+gn' for package 'nxproxy'
Problem parsing dependency 21
Error occurred while processing nxproxy (NewVersion2)
Problem with MergeList /var/lib/apt/lists         /ftp.hu.debian.org_debian_dists_buster_main_binary-amd64_Packages
The package lists or status file could not be parsed or opened.
Can't call method "policy" on an undefined value at /usr/bin/apt-show-versions line 53.
Reading package lists... Error!
E: Problem executing scripts APT::Update::Post-Invoke-Success 'test -x /usr/bin/apt-show-  versions || exit 0 ; apt-show-versions -i'
E: Sub-process returned an error code
W: Unknown Multi-Arch type 'fore+gn' for package 'nxproxy'
E: Problem parsing dependency 21
E: Error occurred while processing nxproxy (NewVersion2)
E: Problem with MergeList /var/lib/apt/lists/ftp.hu.debian.org_debian_dists_buster_main_binary-amd64_Packages
E: The package lists or status file could not be parsed or opened.

Antwort1

So beheben Sie das MergeList-Problem:

sudo rm -r /var/lib/apt/lists/*

Dann:

sudo apt clean
sudo apt update

verwandte Informationen