I used this command to restore the previous state:
sudo snap revert thunderbird
But how can I update this snap to the new version? The old version has an annoying bug.
I’m new with snap, so hopefully, this is not a stupid mistake by myself. Today, I’ve updated Thunderbird from version 78.xxx to version 91.xxx. Apparently, I lost all my user data in this process.
I used this command to update the snap:
sudo snap refresh thunderbird --candidate
From the documentation I understand that this is just an update and not a fresh installation. Why did snap purge my user data? Is it possible to get it back?
The refresh command updates the specified snaps, or all snaps in the system if none are specified.
With no further options, the snaps are refreshed to the current revision of the channel they’re tracking, preserving their confinement options.