re: How To: Upgrade WSL Ubuntu 18.04 to 18.10 VIEW POST

FULL DISCUSSION
 

I think dist-upgrade won't upgrade the Linux distribution to a higher version. It is same as upgrade with some additional features.

To upgrade the Linux distribution, you have to run sudo do-release-upgrade afterwards. I wrote on this topic few days ago.

 

Exactly. 18.04 wasn't upgraded to 18.10. And on a side note: 19.04 hasn't been released, yet. It will be released in 4 weeks.

 

Sure. That's nice, but it's not so special as you might think. It's open source after all.

@david_j_eddy : So... now that you know that "sudo do-release-upgrade" is necessary for the upgrade from 18.04 to 18.10, would you mind trying this out in WSL and adding the result to your article?

I found with going from 16-18 with do-release-upgrade it was actually faster to start over that it was to wait for the upgrade on WSL.

I have been working with WSL long enough to know that it's important to document your dev setup for that time when you need to start over. 😅

For anyone else interested I had a look to see if I could update my version of Ubuntu from 18.04 and it seems there's no release available yet.

do release image on ubuntu 18.04

Ok, let's see where this goes, currently 14:15 here in the UK and I've kicked this off after setting the Prompt=normal in release-upgrades.

do upgrade confirmation

I have a 2 core i5 @ 2.7 GHz, once complete I'll check with lsb_release -a

14:30 so it looks like this failed, I got this prompt:

promt

Not sure what it's for but retrying didn't work so I aborted out and got this mesasage:

error

Not going anywhere now 😬

So after a lot of Ctrl+c's I got an option to resurrect the window, it's now moving again.

So, it looks like it was a botched upgrade, I'm presuming because I didn't use sudo 🤦‍♀️

part update image

code of conduct - report abuse