This looks like the dpkg database got corrupted, could you please try: sudo dpkg --purge snapd and see if that helps?
This looks like the dpkg database got corrupted, could you please try:
sudo dpkg --purge snapd
and see if that helps?