-
Notifications
You must be signed in to change notification settings - Fork 822
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
[WSL1] Upgrade to Ubuntu 24.04 from 22.04 fails with missing snap. Possible to work around? #11982
Comments
Logs are required for review from WSL teamIf this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. How to collect WSL logsDownload and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
The script will output the path of the log file once done. If this is a networking issue, please use collect-networking-logs.ps1, following the instructions here Once completed please upload the output files to this Github issue. Click here for more info on logging View similar issuesPlease view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it! Closed similar issues:
|
|
I mean, is it possible to stub out (or uninstall it) Maybe even Even if I |
After the hack I described in ubuntu/WSL#493, the upgrade fails with trying to run some systemd-using postinstall scripts |
run command: then run do-release-upgrade then success, I had already upgrade from 22.04->24.04->24.10 root@FUJITSU: |
JFYI, this method still works in Nov/24:
Thank you all for the knowledge!! WSL1 is a very impressive tech. I'm really sad that it's been being discontinued by MS. |
Windows Version
Microsoft Windows [Version 10.0.22631.4037]
WSL Version
2.2.4.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.153.1-2
Distro Version
Ubuntu 22.04
Other Software
WSL version: 2.2.4.0
Kernel version: 5.15.153.1-2
WSLg version: 1.0.61
MSRDC version: 1.2.5326
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26091.1-240325-1447.ge-release
Windows version: 10.0.22631.4037
Repro Steps
Expected Behavior
Ubuntu 24.04 installs in one way or another
Actual Behavior
Complete breakage as it seems to depend on
snap list
which prints this:I would propose at least
snap list
prints an empty list or something else reasonable.Is it possible to upgrade to Ubuntu 24.04 in some other way to bypass
snap
problems?I like WSLv1 on my Laptop because it's fast, lightweight and doesn't require Hyper-V or a full VM and uses the regular processes without a separate memory allocated for the VM.
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: