News for hackers. Stuff that matters.
Re:What's new in Ubuntu 19.04 by mehrdadn on Thursday April 18, 2019 @01:43PM (#19693064)
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:
  $
Re:What's new in Ubuntu 19.04 by trogdor3000 on Thursday April 18, 2019 @02:00PM (#19693221)
You 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
Re:What's new in Ubuntu 19.04 by mehrdadn on Thursday April 18, 2019 @02:07PM (#19693284)
Thanks, 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.
Re:What's new in Ubuntu 19.04 by e12e on Thursday April 18, 2019 @03:18PM (#19693952)
I'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?
Re:What's new in Ubuntu 19.04 by mehrdadn on Thursday April 18, 2019 @03:22PM (#19693990)
Re:What's new in Ubuntu 19.04 by e12e on Thursday April 18, 2019 @03:48PM (#19694186)
Actually, that answer seems to imply that "skipping" is just for lts>lts?
Re:What's new in Ubuntu 19.04 by mehrdadn on Thursday April 18, 2019 @04:10PM (#19694354)
I guess so. In my case I'm not skipping anything. It's set to normal and clearly trying to get 18.10.
Re:What's new in Ubuntu 19.04 by e12e on Thursday April 18, 2019 @06:32PM (#19695378)
Ah, I missed your original comment. I see you hit a bug with missing depencies.
Re:What's new in Ubuntu 19.04 by anowlcalledjosh on Thursday April 18, 2019 @03:06PM (#19693852)
IIRC, do-release-upgrade won't upgrade between LTS releases until the .2 release.
Re:What's new in Ubuntu 19.04 by mehrdadn on Thursday April 18, 2019 @03:10PM (#19693882)
Yup but I've already turned off the LTS setting.
Re:What's new in Ubuntu 19.04 by anowlcalledjosh on Thursday April 18, 2019 @03:18PM (#19693953)
Sorry, 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.)
Re:What's new in Ubuntu 19.04 by mehrdadn on Thursday April 18, 2019 @03:20PM (#19693977)
Yeah but that's what it's trying to do too, and that's exactly what's failing: https://news.ycombinator.com/item?id=19693284
Re:What's new in Ubuntu 19.04 by anowlcalledjosh on Thursday April 18, 2019 @04:41PM (#19694596)
Sorry, totally missed that. Looks like some other people have had similar issues with upgrading to previous versions: 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?

Re:What's new in Ubuntu 19.04 by mehrdadn on Thursday April 18, 2019 @04:50PM (#19694648)
AHH, 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-upg...