When I upgraded from 18.10 to 19.04, and again when I upgraded from 19.04 to 19.10, I had to manually reinstall all of the packages I installed through dpkg
, apt
, etc. (I do not recall the precise details of how I went about either upgrade.) Is there a less painful route to upgrade Ubuntu 19.10 to 20.04?
Closely related: When I was a macOS user and upgraded my system software, I could export a list of installed Mac Ports, and then reinstall after the system upgrade using that exported list. Is there a similar kind of functionality for dpkg
or apt
? I would find this kind of solution to be "less painful" in case there is not a simple and direct way to accomplish an upgrade to 20.04 without losing installed packages. :)
Before proceeding you can save the list of installed packages by using
As usual the ordinary GUI method would be
or use terminal based method
The PPAs and third-party repositories will be disabled as usual, other stuff will remain.
I don't know if such functionality exists in ubuntu.
Provided your terminal history span across a sufficient (read: long enough) periode of time, You could always browse your terminal history and spot all the packages you installed using apt:
This might work: open the update center in Ubuntu and then check for updates. If it asks you if you want to update to 20.04 select yes and you shouldn't (I'm not sure) lose any packages (although some packages might become obsolete). I highly recommend backing up your data to an external drive regardless. Déjà Dup is a fantastic tool.