Skip to content

Unable to use electerm's snapcraft package in Ubuntu Preview WSL #452

Description

@linghengqian

cmd /c ver

Microsoft Windows [版本 10.0.22631.3374]

wsl --status

默认分发: Ubuntu-22.04
默认版本: 2

Did the problem occur during installation?

  • Yes

What happened?

sudo apt update && sudo apt upgrade -y
sudo snap install electerm --classic
sudo apt install libnss3 -y
snap run electerm
  • The program cannot be started and no Log is printed.
  • image
  • Some seemingly unrelated logs appeared when executing snap run electerm for the first time.
lingh@DESKTOP-LK088AH:~$ snap run electerm
/home/lingh/Desktop was removed, reassigning DESKTOP to homedir
/home/lingh/Downloads was removed, reassigning DOWNLOAD to homedir
/home/lingh/Templates was removed, reassigning TEMPLATES to homedir
/home/lingh/Public was removed, reassigning PUBLICSHARE to homedir
/home/lingh/Documents was removed, reassigning DOCUMENTS to homedir
/home/lingh/Music was removed, reassigning MUSIC to homedir
/home/lingh/Pictures was removed, reassigning PICTURES to homedir
/home/lingh/Videos was removed, reassigning VIDEOS to homedir
$ snap run electerm
/snap/electerm/417/electerm: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory

What was expected?

  • Can use electerm's snapcraft package normally in Ubuntu Preview WSL.

Steps to reproduce

  • Just execute the following command on a new Ubuntu Preview WSL instance. Currently on Ubuntu 24.04.
sudo apt update && sudo apt upgrade -y
sudo snap install electerm --classic
sudo apt install libnss3 -y
snap run electerm
  • The program cannot be started and no Log is printed.

Additional information

  • Null.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions