Should I update Ubuntu on WSL?
I have Bash on Ubuntu on Windows.
The output of lsb_release -a
is the following.
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty
Should I upgrade? Do I risk to break it?
bash windows-subsystem-for-linux
add a comment |
I have Bash on Ubuntu on Windows.
The output of lsb_release -a
is the following.
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty
Should I upgrade? Do I risk to break it?
bash windows-subsystem-for-linux
add a comment |
I have Bash on Ubuntu on Windows.
The output of lsb_release -a
is the following.
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty
Should I upgrade? Do I risk to break it?
bash windows-subsystem-for-linux
I have Bash on Ubuntu on Windows.
The output of lsb_release -a
is the following.
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty
Should I upgrade? Do I risk to break it?
bash windows-subsystem-for-linux
bash windows-subsystem-for-linux
edited Mar 25 '18 at 19:21
kiamlaluno
18611
18611
asked Feb 21 '17 at 20:27
KangaroooKangarooo
2,87942134
2,87942134
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
Yes its possible and there are two options:
Use
lxrun
to install and uninstallbash
:
lxrun /uninstall
lxrun /install
Upgrade with
do-release-upgrade
:
sudo do-release-upgrade
Information:
The second method might work according to the link given below, but that article is
2016
so this method might work.
Here is clip from Microsoft
Note: WSL will install Ubuntu version 16.04 (Xenial) instead of Ubuntu 14.04 (Trusty)
in an upcoming release. This change will apply to Insiders installing new instances (lxrun.exe /install or first run of bash.exe).
Existing instances with Trusty will not be upgraded automatically.
Users can upgrade their Trusty image to Xenial using the do-release-upgrade command.
Source:
https://www.howtogeek.com/278152/how-to-update-the-windows-bash-shell/
https://msdn.microsoft.com/en-us/commandline/wsl/release_notes#build-14936
I would like to upgrade my Ubuntu 16.04 LTS release. I can edit/etc/update-manager/release-upgrades
by changingPrompt=lts
toPrompt=normal
and thendo-release-upgrade
duly informs me that Artful 17.10 can be installed. I haven't see this documented by Microsoft though. Has anyone tried it?
– user643722
Mar 14 '18 at 10:16
Fordo-release-upgrade
you might need to setRELEASE_UPGRADER_NO_SCREEN=1
:sudo -S env RELEASE_UPGRADER_NO_SCREEN=1 do-release-upgrade
(source: wsl-guide.org/en/latest/update.html)
– amaslenn
Sep 27 '18 at 12:41
add a comment |
You should backup and reinstall WSL. This time you should install a newer version from the Windows Store choosing your favorite distro.
add a comment |
sudo -S apt-mark hold procps strace sudo
sudo -S env RELEASE_UPGRADER_NO_SCREEN=1 do-release-upgrade
These should update the Ubuntu on Windows to the latest version.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f885888%2fshould-i-update-ubuntu-on-wsl%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
Yes its possible and there are two options:
Use
lxrun
to install and uninstallbash
:
lxrun /uninstall
lxrun /install
Upgrade with
do-release-upgrade
:
sudo do-release-upgrade
Information:
The second method might work according to the link given below, but that article is
2016
so this method might work.
Here is clip from Microsoft
Note: WSL will install Ubuntu version 16.04 (Xenial) instead of Ubuntu 14.04 (Trusty)
in an upcoming release. This change will apply to Insiders installing new instances (lxrun.exe /install or first run of bash.exe).
Existing instances with Trusty will not be upgraded automatically.
Users can upgrade their Trusty image to Xenial using the do-release-upgrade command.
Source:
https://www.howtogeek.com/278152/how-to-update-the-windows-bash-shell/
https://msdn.microsoft.com/en-us/commandline/wsl/release_notes#build-14936
I would like to upgrade my Ubuntu 16.04 LTS release. I can edit/etc/update-manager/release-upgrades
by changingPrompt=lts
toPrompt=normal
and thendo-release-upgrade
duly informs me that Artful 17.10 can be installed. I haven't see this documented by Microsoft though. Has anyone tried it?
– user643722
Mar 14 '18 at 10:16
Fordo-release-upgrade
you might need to setRELEASE_UPGRADER_NO_SCREEN=1
:sudo -S env RELEASE_UPGRADER_NO_SCREEN=1 do-release-upgrade
(source: wsl-guide.org/en/latest/update.html)
– amaslenn
Sep 27 '18 at 12:41
add a comment |
Yes its possible and there are two options:
Use
lxrun
to install and uninstallbash
:
lxrun /uninstall
lxrun /install
Upgrade with
do-release-upgrade
:
sudo do-release-upgrade
Information:
The second method might work according to the link given below, but that article is
2016
so this method might work.
Here is clip from Microsoft
Note: WSL will install Ubuntu version 16.04 (Xenial) instead of Ubuntu 14.04 (Trusty)
in an upcoming release. This change will apply to Insiders installing new instances (lxrun.exe /install or first run of bash.exe).
Existing instances with Trusty will not be upgraded automatically.
Users can upgrade their Trusty image to Xenial using the do-release-upgrade command.
Source:
https://www.howtogeek.com/278152/how-to-update-the-windows-bash-shell/
https://msdn.microsoft.com/en-us/commandline/wsl/release_notes#build-14936
I would like to upgrade my Ubuntu 16.04 LTS release. I can edit/etc/update-manager/release-upgrades
by changingPrompt=lts
toPrompt=normal
and thendo-release-upgrade
duly informs me that Artful 17.10 can be installed. I haven't see this documented by Microsoft though. Has anyone tried it?
– user643722
Mar 14 '18 at 10:16
Fordo-release-upgrade
you might need to setRELEASE_UPGRADER_NO_SCREEN=1
:sudo -S env RELEASE_UPGRADER_NO_SCREEN=1 do-release-upgrade
(source: wsl-guide.org/en/latest/update.html)
– amaslenn
Sep 27 '18 at 12:41
add a comment |
Yes its possible and there are two options:
Use
lxrun
to install and uninstallbash
:
lxrun /uninstall
lxrun /install
Upgrade with
do-release-upgrade
:
sudo do-release-upgrade
Information:
The second method might work according to the link given below, but that article is
2016
so this method might work.
Here is clip from Microsoft
Note: WSL will install Ubuntu version 16.04 (Xenial) instead of Ubuntu 14.04 (Trusty)
in an upcoming release. This change will apply to Insiders installing new instances (lxrun.exe /install or first run of bash.exe).
Existing instances with Trusty will not be upgraded automatically.
Users can upgrade their Trusty image to Xenial using the do-release-upgrade command.
Source:
https://www.howtogeek.com/278152/how-to-update-the-windows-bash-shell/
https://msdn.microsoft.com/en-us/commandline/wsl/release_notes#build-14936
Yes its possible and there are two options:
Use
lxrun
to install and uninstallbash
:
lxrun /uninstall
lxrun /install
Upgrade with
do-release-upgrade
:
sudo do-release-upgrade
Information:
The second method might work according to the link given below, but that article is
2016
so this method might work.
Here is clip from Microsoft
Note: WSL will install Ubuntu version 16.04 (Xenial) instead of Ubuntu 14.04 (Trusty)
in an upcoming release. This change will apply to Insiders installing new instances (lxrun.exe /install or first run of bash.exe).
Existing instances with Trusty will not be upgraded automatically.
Users can upgrade their Trusty image to Xenial using the do-release-upgrade command.
Source:
https://www.howtogeek.com/278152/how-to-update-the-windows-bash-shell/
https://msdn.microsoft.com/en-us/commandline/wsl/release_notes#build-14936
edited Feb 21 '17 at 21:04
answered Feb 21 '17 at 20:55
George UdosenGeorge Udosen
20.5k94467
20.5k94467
I would like to upgrade my Ubuntu 16.04 LTS release. I can edit/etc/update-manager/release-upgrades
by changingPrompt=lts
toPrompt=normal
and thendo-release-upgrade
duly informs me that Artful 17.10 can be installed. I haven't see this documented by Microsoft though. Has anyone tried it?
– user643722
Mar 14 '18 at 10:16
Fordo-release-upgrade
you might need to setRELEASE_UPGRADER_NO_SCREEN=1
:sudo -S env RELEASE_UPGRADER_NO_SCREEN=1 do-release-upgrade
(source: wsl-guide.org/en/latest/update.html)
– amaslenn
Sep 27 '18 at 12:41
add a comment |
I would like to upgrade my Ubuntu 16.04 LTS release. I can edit/etc/update-manager/release-upgrades
by changingPrompt=lts
toPrompt=normal
and thendo-release-upgrade
duly informs me that Artful 17.10 can be installed. I haven't see this documented by Microsoft though. Has anyone tried it?
– user643722
Mar 14 '18 at 10:16
Fordo-release-upgrade
you might need to setRELEASE_UPGRADER_NO_SCREEN=1
:sudo -S env RELEASE_UPGRADER_NO_SCREEN=1 do-release-upgrade
(source: wsl-guide.org/en/latest/update.html)
– amaslenn
Sep 27 '18 at 12:41
I would like to upgrade my Ubuntu 16.04 LTS release. I can edit
/etc/update-manager/release-upgrades
by changing Prompt=lts
to Prompt=normal
and then do-release-upgrade
duly informs me that Artful 17.10 can be installed. I haven't see this documented by Microsoft though. Has anyone tried it?– user643722
Mar 14 '18 at 10:16
I would like to upgrade my Ubuntu 16.04 LTS release. I can edit
/etc/update-manager/release-upgrades
by changing Prompt=lts
to Prompt=normal
and then do-release-upgrade
duly informs me that Artful 17.10 can be installed. I haven't see this documented by Microsoft though. Has anyone tried it?– user643722
Mar 14 '18 at 10:16
For
do-release-upgrade
you might need to set RELEASE_UPGRADER_NO_SCREEN=1
: sudo -S env RELEASE_UPGRADER_NO_SCREEN=1 do-release-upgrade
(source: wsl-guide.org/en/latest/update.html)– amaslenn
Sep 27 '18 at 12:41
For
do-release-upgrade
you might need to set RELEASE_UPGRADER_NO_SCREEN=1
: sudo -S env RELEASE_UPGRADER_NO_SCREEN=1 do-release-upgrade
(source: wsl-guide.org/en/latest/update.html)– amaslenn
Sep 27 '18 at 12:41
add a comment |
You should backup and reinstall WSL. This time you should install a newer version from the Windows Store choosing your favorite distro.
add a comment |
You should backup and reinstall WSL. This time you should install a newer version from the Windows Store choosing your favorite distro.
add a comment |
You should backup and reinstall WSL. This time you should install a newer version from the Windows Store choosing your favorite distro.
You should backup and reinstall WSL. This time you should install a newer version from the Windows Store choosing your favorite distro.
answered Apr 25 '18 at 7:24
CM777CM777
1
1
add a comment |
add a comment |
sudo -S apt-mark hold procps strace sudo
sudo -S env RELEASE_UPGRADER_NO_SCREEN=1 do-release-upgrade
These should update the Ubuntu on Windows to the latest version.
add a comment |
sudo -S apt-mark hold procps strace sudo
sudo -S env RELEASE_UPGRADER_NO_SCREEN=1 do-release-upgrade
These should update the Ubuntu on Windows to the latest version.
add a comment |
sudo -S apt-mark hold procps strace sudo
sudo -S env RELEASE_UPGRADER_NO_SCREEN=1 do-release-upgrade
These should update the Ubuntu on Windows to the latest version.
sudo -S apt-mark hold procps strace sudo
sudo -S env RELEASE_UPGRADER_NO_SCREEN=1 do-release-upgrade
These should update the Ubuntu on Windows to the latest version.
edited Dec 13 '18 at 6:31
Kulfy
4,21651342
4,21651342
answered Dec 12 '18 at 21:12
Chaitanya MalhotraChaitanya Malhotra
1
1
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f885888%2fshould-i-update-ubuntu-on-wsl%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown