E: Error occurred while processing python3-purl (NewVersion2)

in whonix-gw vbox tried to update/upgrade the repos and got this:

user@host:~$ sudo apt update && sudo apt full-upgrade && sudo apt remove --purge && sudo apt autoclean 
Hit:1 tor+https://deb.debian.org/debian bullseye InRelease                     
Hit:2 tor+https://deb.debian.org/debian bullseye-updates InRelease             
Hit:3 tor+https://deb.debian.org/debian-security bullseye-security InRelease   
Hit:4 tor+https://deb.debian.org/debian bullseye-backports InRelease           
Hit:5 tor+https://deb.kicksecure.com bullseye InRelease                        
Hit:6 tor+https://deb.whonix.org bullseye InRelease                 
Hit:7 tor+https://fasttrack.debian.net/debian bullseye-fasttrack InRelease
Reading package lists... Error!
E: Problem parsing dependency 21 of python3-purl:all=1.5-2
E: Error occurred while processing python3-purl (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.
user@host:~$

I found this solution:

sudo apt-get install -f

sudo dpkg --configure -a

sudo apt update && sudo apt full-upgrade

And it worked.

1 Like