Error the Package Lists or Status File Could Not Be Parsed or Opened While Updating [Duplicate]
I Was Trying to: Sudo Apt-Get Update Didn't Work with Error: Hit:1 Buster/Updates Inrelease Hit:2 Buster-Backports Inrelease Hit:3 Buster-Updates Inrelease...
I was trying to :
sudo apt-get update
Didn't work with error:
Hit:1 buster/updates InRelease
Hit:2 buster-backports InRelease
Hit:3 buster-updates InRelease
Hit:4 buster InRelease
Hit:5 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.
To fix MergeList problem:
sudo rm -r /var/lib/apt/lists/*
then:
sudo apt clean
sudo apt update