4 ms·
Does anybody know why this happens when I try to do-release-upgrade 18.04 in WSL? I didn't have trouble going from 16.04 to 18.04... $ do-release-upgrade C
by mehrdadn 8y ago
Does anybody know why this happens when I try to do-release-upgrade 18.04 in WSL? I didn't have trouble going from 16.04 to 18.04...
$ do-release-upgrade
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [819 B]
Get:2 Upgrade tool [1,243 kB]
Fetched 1,244 kB in 0s (0 B/s)
authenticate 'cosmic.tar.gz' against 'cosmic.tar.gz.gpg'
extracting 'cosmic.tar.gz'
[sudo] password for $USER:
$
- trogdor3000 8y agoYou have to add a flag to get off of the LTS brach, Maybe '-d"? Both 16.04 and 180.04 are LTS. the next LTS will be 20.04
- mehrdadn 8y agoThanks, but nope that's not the issue, I've already done both. It's just failing to do anything for some reason. $ do-release-upgrade -p -c Checking for a new Ubuntu release New release '18.10' available. Run 'do-release-upgrade' to upgrade to it.
- e12e 8y agoI'm not sure if do-release-upgrade supports skipping releases, except for going from lts to lts? In other words, it might either: 16.04 -> 18.04 -> 20.04, or 18.04 -> 18.10 -> 19.04. But not 18.04 (lts) -> 19.04?
- mehrdadn 8y agoI think it should: https://askubuntu.com/a/240189 https://askubuntu.com/a/240189
- anowlcalledjosh 8y agoIIRC, do-release-upgrade won't upgrade between LTS releases until the .2 release.
- mehrdadn 8y agoYup but I've already turned off the LTS setting.
- anowlcalledjosh 8y agoSorry, brain fart – you have to upgrade between non-LTS releases sequentially, as far as I know there's no supported way to upgrade to 19.04 from anything but 18.10. (in general, to get to release n, you must either be on release n-1, or n must be an LTS and you must be on the previous LTS.)
- mehrdadn 8y agoYeah but that's what it's trying to do too, and that's exactly what's failing: https://news.ycombinator.com/item?id=19693284 https://news.ycombinator.com/item?id=19693284
- anowlcalledjosh 8y agoSorry, totally missed that. Looks like some other people have had similar issues with upgrading to previous versions: https://github.com/Microsoft/WSL/issues/3489 https://github.com/Microsoft/WSL/issues/3489 (though the issue is for (I think) 16.04->18.04, someone mentions that it also affects 18.04->18.10) it's strange that that's all the output you get, though. Apparently it puts logs in /var/log/dist-upgrade/, is there more there?
- mehrdadn 8y agoAHH, thank you! /var/log/dist-upgrade/main.log explains why! It's indeed another instance of a bug I already saw when upgrading another system [1] and couldn't figure out -- there's a missing dependency in some Ubuntu package: sudo apt-get install python-distro-info python3-distro-info EDIT: Do yourself a favor and don't upgrade to 19.04 on WSL. VSCode and google-chrome-stable can't start on it. I had to roll back. [1] https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1824866 https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upg...