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

Running 'Install RELEASE (Ubuntu)' shows no response. #1027

Open
zhl-HFUT opened this issue Apr 2, 2023 · 7 comments
Open

Running 'Install RELEASE (Ubuntu)' shows no response. #1027

zhl-HFUT opened this issue Apr 2, 2023 · 7 comments
Labels
bug Something isn't working

Comments

@zhl-HFUT
Copy link

zhl-HFUT commented Apr 2, 2023

Windows build number:

22621.1413

Your Distribution version:

22.04

Your WSL versions:

2

Steps to reproduce:

Enable WSL2.
Download Ubuntu (22.04) from the Microsoft Store.
Run "Install RELEASE (Ubuntu)" that appears in the Start menu.

WSL logs:

No response

WSL dumps:

No response

Expected behavior:

No response

Actual behavior:

Running 'Install RELEASE (Ubuntu)' shows no response.
Actually, I'm very curious about why this shortcut appeared in the Start menu and what its purpose is.

I suspect that the target path of the shortcut cannot be any longer than this, which is why it is not working properly.
C:\Users\zz\AppData\Local\Microsoft\WindowsApps\MicrosoftCorporationII.WindowsSubsystemForLinux_8wekyb3d8bbwe\wslg.exe -d Ubuntu --cd "~" -- env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/ubuntu-desktop-installer_ubuntu-desktop-installer.deskt
I found a file with the same name in '/var/lib/snapd/desktop/applications/' with a .desktop extension, and when I tried to modify the target path of this shortcut, I realized that it couldn't be any longer. So it seems that the command is incomplete and stops at '.deskt'.

Anyway, I'm very curious about what the actual command should be and what it does. Thank you very much.
image

@zhl-HFUT zhl-HFUT added the bug Something isn't working label Apr 2, 2023
@elsaco
Copy link

elsaco commented Apr 3, 2023

@zhl-HFUT it's a snap!

description: 
  This project is a modern implementation of the Ubuntu Desktop installer,
  using subiquity as a backend and Flutter for the UI.

GitHub-url: https://github.com/Canonical/ubuntu-desktop-installer
Store-url: https://snapcraft.io/ubuntu-desktop-installer

Use snap info ubuntu-desktop-installer for details.

[Desktop Entry]
X-SnapInstanceName=ubuntu-desktop-installer
Type=Application
Version=1.0
Name=Install RELEASE
Comment=Install this system permanently to your hard disk
Keywords=ubiquity;
Exec=env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/ubuntu-desktop-installer_ubuntu-desktop-installer.desktop /snap/bin/ubuntu-desktop-installer
Icon=ubiquity
Terminal=false
Categories=GTK;System;Settings;

A better option: sudo snap remove ubuntu-desktop-installer

@zhl-HFUT
Copy link
Author

zhl-HFUT commented Apr 5, 2023

@zhl-HFUT it's a snap!

description: 
  This project is a modern implementation of the Ubuntu Desktop installer,
  using subiquity as a backend and Flutter for the UI.

GitHub-url: https://github.com/Canonical/ubuntu-desktop-installer Store-url: https://snapcraft.io/ubuntu-desktop-installer

Use snap info ubuntu-desktop-installer for details.

[Desktop Entry]
X-SnapInstanceName=ubuntu-desktop-installer
Type=Application
Version=1.0
Name=Install RELEASE
Comment=Install this system permanently to your hard disk
Keywords=ubiquity;
Exec=env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/ubuntu-desktop-installer_ubuntu-desktop-installer.desktop /snap/bin/ubuntu-desktop-installer
Icon=ubiquity
Terminal=false
Categories=GTK;System;Settings;

A better option: sudo snap remove ubuntu-desktop-installer

Thank you very much!!!!!!

@francescoboc
Copy link

@zhl-HFUT it's a snap!

description: 
  This project is a modern implementation of the Ubuntu Desktop installer,
  using subiquity as a backend and Flutter for the UI.

GitHub-url: https://github.com/Canonical/ubuntu-desktop-installer Store-url: https://snapcraft.io/ubuntu-desktop-installer

Use snap info ubuntu-desktop-installer for details.

[Desktop Entry]
X-SnapInstanceName=ubuntu-desktop-installer
Type=Application
Version=1.0
Name=Install RELEASE
Comment=Install this system permanently to your hard disk
Keywords=ubiquity;
Exec=env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/ubuntu-desktop-installer_ubuntu-desktop-installer.desktop /snap/bin/ubuntu-desktop-installer
Icon=ubiquity
Terminal=false
Categories=GTK;System;Settings;

A better option: sudo snap remove ubuntu-desktop-installer

Running sudo snap remove ubuntu-desktop-installer throws an error:
error: cannot communicate with server: Post "http://localhost/v2/snaps/ubuntu-desktop-installer": dial unix /run/snapd.socket: connect: no such file or directory

@elsaco
Copy link

elsaco commented Apr 12, 2023

@zhl-HFUT is snapd running? What is the output of systemctl status snapd?

@francescoboc
Copy link

@zhl-HFUT is snapd running? What is the output of systemctl status snapd?

The output is:

System has not been booted with systemd as init system (PID 1). Can't operate.                                                                                                                                                                  
Failed to connect to bus: Host is down

Maybe I should mention that I am using WSL2 on WIndows 10.

@elsaco
Copy link

elsaco commented Apr 12, 2023

@francescoboc you need to enable systemd by editing/adding /etc/wsl.conf with the option:

[boot]
systemd=true

@21-0075-disha
Copy link

I have tried to open the installer after setting up Xfce for WSL2 (I am using Ubuntu 22.04 LTS). It opens and gets stuck at "Preparing Xubuntu..." Why is it Xubuntu? Is it because of Xfce? I have successfully removed the installer using the snapd command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants