WSL: do-release-upgrade fails (trusty->xenial)

I completely understand that this is most likely unsupported. Perhaps there should be an lxss upgrade command instead?

  • A brief description do-release-upgrade fails - screen instance exits
  • Expected results Ubuntu version inside WSL is upgraded
  • Actual results (with terminal output if applicable) [screen is terminating]
  • Your Windows build number 10.0.14393
  • Steps / commands required to reproduce the error sudo do-release-upgrade
  • Strace of the failing command do-release-upgrade.strace.gz
  • Required packages and commands to install None

About this issue

  • Original URL
  • State: closed
  • Created 10 years ago
  • Reactions: 12
  • Comments: 21 (2 by maintainers)

Most upvoted comments

So, essentially, to perform the upgrade on 14393, the easiest steps would be to

  1. sudo apt-get remove screen
  2. sudo do-release-upgrade
  3. (post-upgrade) sudo apt-get install screen

Would that be a fair summary? Outside of the then slightly redundant question of “at what point will we have a fixed up version of lxss that supports screen fully?”?

Sounds like an FAQ item to me - can this be added somewhere?

Trying that out now 😃

@danbuche There is environment variable which disable using screen without uninstalling it.

# RELEASE_UPGRADER_NO_SCREEN=1 do-release-upgrade
$ sudo -S RELEASE_UPGRADER_NO_SCREEN=1 do-release-upgrade

screen will be supported in Creators Update (https://github.com/microsoft/bashonwindows/issues/774#issuecomment-272507155)

I have the same issue with screen program. When I launch the screen command the shell is auto-terminated. If I have installed screenand I run do-release-upgrade the shell is terminated. If I uninstall screen I don’t have any problem of auto-terminated shell.

apt uninstall screen

Yeah that worked for me for now. Hate being on the slow ring but can’t get out from underneath the heavy group policies on this computer unless I detach it from the company’s domain first. Tempting but probably not a good idea. After I upgrade I’ll reinstall screen again.

@SRGOM Nope, he said explicitly in another thread that we will not be seeing additional features released to the stable win10 stream. New features (syscalls, more socket support, fixing of bugs related to unimplemented of partially implemented syscalls) will only be available with Windows Insider updates (partly because these updates to the lxss and lxcore drivers can often require corresponding changes to the kernel, which does not generally receive updates from Windows update except during yearly upgrades like the anniversary build).

He did say that bugfixes relating to security and system stability (in many ways related to security) will be pushed with Windows updates to the stable stream.

We’ve added support for screen which should be coming in a Insider build soon.

@disoardi comment did it for me… I did apt-get purge screen and then could do sudo do-release-upgrade

So, essentially, to perform the upgrade on 14393, the easiest steps would be to

  1. sudo apt-get remove screen
  2. sudo do-release-upgrade
  3. (post-upgrade) sudo apt-get install screen

Would that be a fair summary? Outside of the then slightly redundant question of “at what point will we have a fixed up version of lxss that supports screen fully?”?

Sounds like an FAQ item to me - can this be added somewhere?

Trying that out now 😃

sudo apt-get purge snapd