Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade support to wsl distros #11646

Closed
felipefigueiredo1 opened this issue Jun 2, 2024 · 6 comments
Closed

upgrade support to wsl distros #11646

felipefigueiredo1 opened this issue Jun 2, 2024 · 6 comments

Comments

@felipefigueiredo1
Copy link

i want upgrade my ubuntu 22.04 to 24.04, but after some searchs it's look like impossible. I know i can reinstall everything, but i dont wanna lost my files.

Copy link

github-actions bot commented Jun 2, 2024

Logs are required for review from WSL team

If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'.
Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.

How to collect WSL logs

Download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:

Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\collect-wsl-logs.ps1

The scipt will output the path of the log file once done.

Once completed please upload the output files to this Github issue.

Click here for more info on logging
If you choose to email these logs instead of attaching to the bug, please send them to wsl-gh-logs@microsoft.com with the number of the github issue in the subject, and in the message a link to your comment in the github issue and reply with '/emailed-logs'.

@felipefigueiredo1
Copy link
Author

/question

Copy link

github-actions bot commented Jun 2, 2024

Diagnostic information
Found '/question', adding tag 'question'

@tinlittle
Copy link

Distro upgrade is controlled by the vendor, and in your case by Ubuntu. MSFT will never meddle with the upgrade process of 3rd party distro vendors.

@felipefigueiredo1 looks like you have the "Ubuntu 22.04.3 LTS" app installed. Ubuntu LTS versions are blocked by Ubuntu from release upgrade to the next LTS. It looks like you are indeed stuck and need to resort to file backup/restore.

The "Ubuntu" app gives you the latest LTS release (24.04) and allows upgrade to future LTS versions like 26.04, 28.04 and beyond.

The "Ubuntu (Preview)" app gives you the latest release (also 24.04) and allows upgrade to all future versions like 24.10, 25.04 and beyond.

@craigloewen-msft
Copy link
Member

Echoing what @tinlittle said, this is controlled in your actual Linux environment, and you solve this the same way you would on Linux proper. For Ubuntu you can run sudo do-release-upgrade -d to perform an upgrade.

@felipefigueiredo1
Copy link
Author

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants