Should I uninstall snaps before upgrading Ubuntu 18.04 to Ubuntu 20.04?

I am planing to upgrade Ubuntu 18.04 to Ubuntu 20.04 on my laptop. I have read How to Upgrade to a New Ubuntu Version article and suggestion: “Any third party packages may create dependency conflicts during upgrade process so you should remove them”.

Third party software are:

  • packages installed from PPA
  • packages installed from “dpkg -i package” command

But does it also relates to snap packages? Do I need to uninstall all of the snap packages before Ubuntu upgrade?

You do not need to uninstall any snap packages before upgrading, as snap packages are by design, distro agnostic, so a native 20.04 install will install the same snap as a native 18.04 install and work the same way.

The only caveat I would mention is that some applications which were once debs are now snaps in 20.04, for example chromium. For more information, see https://snapcraft.io/blog/chromium-in-ubuntu-deb-to-snap-transition

1 Like