Error: cannot refresh: cannot prepare snap-declaration refresh for snap "{SNAP}": snap-declaration ({...}; series:16) not found

Hello every Creature, so I was trying to refresh snaps using sudo snap refresh command but it results in error: cannot refresh: cannot prepare snap-declaration refresh for snap "{SNAP}": snap-declaration ({...}; series:16) not found while it was working 4 days ago…


System Specifications

  • Operating System: Ubuntu 22.04
  • Life cycle: LTS
  • Architecture: AMD64
  • Gnome Version: 42.0
  • Windowing System: Wayland
  • snapd version: 2.55.3+22.04ubuntu1

After reinstalling snapd it worked… and my personal guess is “As my computer is breached, the f*lthy attacker did this on snapd to stop canonical-livepatchd updates just like what he did with many other security packages!!!”

are you sure your harddisk is not full or dying ? this looks more like your state file got corrupted than some type of hacker attack …

it isn’t full… but i wish that it isn’t dying

EDIT: in fact it isn’t healthy as much as 20%