sed: can't read /etc/update-manager/release-upgrades: No such file or directory #9495
Replies: 6 comments
-
@haroldjeshua |
Beta Was this translation helpful? Give feedback.
-
@haroldjeshua Do you have Docker installed? Try to run
It will show everything installed on your system. If you have docker you may see something like this:
In my case To fix this run:
and then try to log in to your Ubuntu. This is just a suggestion, your case maybe a little bit different. The main idea - check that your Ubuntu-22.04 is a default one. |
Beta Was this translation helpful? Give feedback.
-
I got the same error after tinkering with the wsl.conf file under /etc (don't know if its related though...). As I saw it, my user is gone and there's just a default user. I can't even sudo su because 'sudo' is not recognised as a command. Something is utterly broken. I'm reinstalling the distro now, as idk how to recover from that. |
Beta Was this translation helpful? Give feedback.
-
I fix it by restarting my pc |
Beta Was this translation helpful? Give feedback.
-
I fixed it by restarting wsl only:
|
Beta Was this translation helpful? Give feedback.
-
Restart Your Pc it will Work |
Beta Was this translation helpful? Give feedback.
-
Version
Microsoft Windows [Version 10.0.19044.2486]
WSL Version
Kernel Version
Ubuntu-22.04
Distro Version
Ubuntu-22.04
Other Software
No response
Repro Steps
sed: can't read /etc/update-manager/release-upgrades: No such file or directory
Expected Behavior
After opening the terminal or running it, it should be directed to the root directory.
Actual Behavior
At startup, sometimes it results to this. Then after a while, like an hour or so, WSL comes back normal and operational.
Diagnostic Logs
I installed first Ubuntu 22.04 on the Microsoft Store early mid last year and it was stable until Dec, it starts to reproduce the error above. Then I run
wsl --list --online
and still doesn't show 22.04Beta Was this translation helpful? Give feedback.
All reactions