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

ubuntu 22_04 系统下载ubuntu desktop 下载报错,重启到期systemctl以及其他服务都不起来 #11594

Closed
1 of 2 tasks
txbxxx opened this issue May 17, 2024 · 2 comments

Comments

@txbxxx
Copy link

txbxxx commented May 17, 2024

Windows Version

Microsoft Windows [版本 10.0.22000.2538]

WSL Version

WSL 版本: 2.1.5.0 内核版本: 5.15.146.1-2 WSLg 版本: 1.0.60 MSRDC 版本: 1.2.5105 Direct3D 版本: 1.611.1-81528511 DXCore 版本: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp Windows 版本: 10.0.22000.2538

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

默认分发: UbServer 默认版本: 2

Distro Version

ubuntu22_04

Other Software

apt install ubuntu-desktop -y

Repro Steps

Failed to reload daemon.service: Transport endpoint is not connected

Expected Behavior

ubuntu 在执行任何apt操作都会报错类似Failed to get properties: Transport endpoint is not connected的错误

Actual Behavior

root@Tc-Server:~# systemctl
Failed to list units: Transport endpoint is not connected

root@Tc-Server:~# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 99.7 0.1 18316 10956 ? Rs 10:10 10:50 /sbin/init
root 2 0.0 0.0 2280 1300 hvc0 Sl+ 10:10 0:00 /init
root 8 0.0 0.0 2280 4 hvc0 Sl+ 10:10 0:00 plan9 --control-socket 6 --log-level 4 --server-fd 7 --pipe-fd 9 --log-truncate
root 40 16.5 3.3 428768 275928 ? S<s 10:10 1:47 /lib/systemd/systemd-journald
root 70 0.0 0.0 23228 6484 ? Ss 10:10 0:00 /lib/systemd/systemd-udevd
root 81 0.0 0.0 4496 184 ? Ss 10:10 0:00 snapfuse /var/lib/snapd/snaps/bare_5.snap /snap/bare/5 -o ro,nodev,allow_other,suid
root 84 0.0 0.0 4496 196 ? Ss 10:10 0:00 snapfuse /var/lib/snapd/snaps/core22_1380.snap /snap/core22/1380 -o ro,nodev,allow_other,suid
root 85 0.0 0.0 4496 200 ? Ss 10:10 0:00 snapfuse /var/lib/snapd/snaps/core22_864.snap /snap/core22/864 -o ro,nodev,allow_other,suid
root 90 0.0 0.0 4496 160 ? Ss 10:10 0:00 snapfuse /var/lib/snapd/snaps/firefox_4259.snap /snap/firefox/4259 -o ro,nodev,allow_other,suid
root 92 0.0 0.0 4496 168 ? Ss 10:10 0:00 snapfuse /var/lib/snapd/snaps/gnome-42-2204_176.snap /snap/gnome-42-2204/176 -o ro,nodev,allow_other,suid
root 95 0.0 0.0 4496 184 ? Ss 10:10 0:00 snapfuse /var/lib/snapd/snaps/gtk-common-themes_1535.snap /snap/gtk-common-themes/1535 -o ro,nodev,allow_other,suid
root 102 0.0 0.0 4496 180 ? Ss 10:10 0:00 snapfuse /var/lib/snapd/snaps/snapd_20290.snap /snap/snapd/20290 -o ro,nodev,allow_other,suid
root 105 0.1 0.0 4756 1820 ? Ss 10:10 0:00 snapfuse /var/lib/snapd/snaps/snapd_21465.snap /snap/snapd/21465 -o ro,nodev,allow_other,suid
root 108 0.0 0.0 4496 156 ? Ss 10:10 0:00 snapfuse /var/lib/snapd/snaps/ubuntu-desktop-installer_1276.snap /snap/ubuntu-desktop-installer/1276 -o ro,nodev,allow_other,suid
root 110 0.0 0.0 4496 192 ? Ss 10:10 0:00 snapfuse /var/lib/snapd/snaps/ubuntu-desktop-installer_1286.snap /snap/ubuntu-desktop-installer/1286 -o ro,nodev,allow_other,suid
systemd+ 117 0.0 0.1 25540 12484 ? Ss 10:10 0:00 /lib/systemd/systemd-resolved
root 141 0.0 0.0 160884 6116 ? Ssl 10:10 0:00 /usr/libexec/accounts-daemon
root 210 0.0 0.0 2288 112 ? Ss 10:12 0:00 /init
root 212 0.0 0.0 2304 120 ? S 10:12 0:00 /init
root 216 0.0 0.0 6352 5380 pts/0 Ss 10:12 0:00 -bash
root 393 0.0 0.0 2288 116 ? Ss 10:18 0:00 /init
root 395 0.0 0.0 2304 124 ? R 10:18 0:00 /init
root 398 0.0 0.0 6352 5312 pts/2 Ss 10:18 0:00 -bash
root 424 0.0 0.0 7884 3836 pts/0 S+ 10:21 0:00 systemctl
root 425 0.0 0.0 3600 2292 pts/0 S+ 10:21 0:00 less
root 428 0.0 0.0 7488 3212 pts/2 R+ 10:21 0:00 ps aux

Diagnostic Logs

No response

Copy link

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 [email protected] 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'.

View similar issues

Please 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:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

Copy link
Contributor

This issue has been automatically closed since it has not had any author activity for the past 7 days. If you're still experiencing this issue please re-file it as a new issue.

Thank you!

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

1 participant