WSL icon indicating copy to clipboard operation
WSL copied to clipboard

Upgrade Trusty to Xenial

Open fenris opened this issue 10 years ago • 133 comments

I've tried to upgrade from Trusty to Xenial , result ? crash due to missing path and error writing files installations.

Is there inside the milestone to place xenial based bash in future Windows Insiders Fast Ring update?

fenris avatar Jun 07 '16 22:06 fenris

fenris, Canonical's new image for WSL should be up on the Windows store I think with the next insider update. I don't think it's possible to directly update with any other tool?

fpqc avatar Jun 08 '16 17:06 fpqc

WSL currently does not support Xenial officially and that's not on plan for the anniversary update. But, that is definitely something we will be looking to support in (during) the next release.

sunilmut avatar Jun 08 '16 17:06 sunilmut

@fpqc Hi the next insider release has been released is the image on the windows store yet.

paladox avatar Jun 08 '16 17:06 paladox

@fqpc - That is correct, Windows build 14361 has been released to insider preview. But just FYI that the Windows build and the Ubuntu image that comes from the Windows store and not tied together. The are and can be updated independently.

sunilmut avatar Jun 08 '16 20:06 sunilmut

@sunilmut hi is @fpqc correct about the image being updated on the windows store please.

paladox avatar Jun 08 '16 22:06 paladox

@paladox - This is on our radar, but we don't have any ETA on when the Xenial image will be uploaded on the Windows store.

sunilmut avatar Jun 08 '16 22:06 sunilmut

Ok thanks for replying.

paladox avatar Jun 09 '16 00:06 paladox

I have Xenial (16.04) working in WSL.

Bash on Ubuntu 16.04 on Windows

Manouchehri avatar Jun 23 '16 15:06 Manouchehri

@Manouchehri Very nice! Any special workarounds you needed to get this working? I'd be very interested in hearing the process. I'm sure my friend @dustinkirkland from Canonical would be interested too :)

benhillis avatar Jun 23 '16 15:06 benhillis

@Manouchehri how did you get it installed please. And did you have to clean install or did you manage to get your files upgraded without loosing any data.

paladox avatar Jun 23 '16 15:06 paladox

Worked on my first try, nothing too special.

sudo do-release-upgrade -f DistUpgradeViewNonInteractive -d # Screen is broken.

It still gets stuck at a yes/no type prompt, so I ctrl+c'd out. To fix the remaining packages, just run dpkg.

 sudo dpkg --configure -a

After that I ran apt-get update, apt-get upgrade, apt-get dist-upgrade and apt-get autoremove.

Manouchehri avatar Jun 23 '16 15:06 Manouchehri

@Manouchehri thanks, yay it works.

paladox avatar Jun 23 '16 18:06 paladox

No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 16.04 LTS Release: 16.04 Codename: xenial

:)

paladox avatar Jun 23 '16 19:06 paladox

+100 xp :-)

:-Dustin

On Thu, Jun 23, 2016 at 2:11 PM, paladox [email protected] wrote:

No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 16.04 LTS Release: 16.04 Codename: xenial

:)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Microsoft/BashOnWindows/issues/482#issuecomment-228153818, or mute the thread https://github.com/notifications/unsubscribe/AAzMhlG_YVUvC4DMHzvEe3higVeFAJgqks5qOtpHgaJpZM4IwaTF .

dustinkirkland avatar Jun 23 '16 19:06 dustinkirkland

@dustinkirkland and @benhillis I get this error

snap find 2016/06/23 20:30:05.121452 main.go:156: WARNING: can not create syslog logger error: cannot list snaps: cannot communicate with server: Get http://localhost/v2/find?q=: dial unix /run/snapd.socket: setsockopt: invalid argument

when trying to run snap.

paladox avatar Jun 23 '16 19:06 paladox

That's snapd trying to use systemd's logger. Previously there was separate logging daemon, so init (Uptrack) didn't cause an issue. (There's no systemd or Uptrack support in Ubuntu on Windows from what I understand.)

To fix it, we could probably bring back syslog-ng until systemd works. This is probably @dustinkirkland's job. ;)

Manouchehri avatar Jun 23 '16 19:06 Manouchehri

@paladox This particular issue looks like missing SO_BROADCAST flag support for Unix sockets. #568 is tracking the same issue. I suspect snap will hit other unimplemented things as well as it's a binary that we haven't tried much.

benhillis avatar Jun 23 '16 19:06 benhillis

Oops, I stopped reading after the logging warning line.. What @benhillis said sounds correct as for the socket error. =)

Manouchehri avatar Jun 23 '16 19:06 Manouchehri

Oh, thanks for replying.

paladox avatar Jun 23 '16 19:06 paladox

@paladox Does it actually work on 14.04 either?

Manouchehri avatar Jun 23 '16 19:06 Manouchehri