How to install Ubuntu 18.04 over top of a broken 16.04 to 18.04 upgrade?

bd flag

While in the middle of an upgrade from a 16.04 server to 18.04, I inadvertently control-c'd the do-release-upgrade. This then seemed to cascade into oblivion as I attempted to apt-get dist-upgrade to fix the situation.

What is the proper way to reinstall 18.04 overtop of a broken installation such as this in order to maintain existing files (and data directories) of existing services?

I'm thinking it should be roughly as simple as running the 18.04 installer and NOT formatting the volume, bur rather simply mapping it appropriately... but I'd like to get some experienced input before I go down this road.

user535733 avatar
cn flag
You are exactly right: Run the installer without formatting. It's one of the installer options.

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.