after running LD_DEBUG=all snap list in the previous comment:
grepping for X11, I see that it is used by something called "AppProtection",
which is apparently related to Citrix workspace WFH software (some sort of
anti-screenshot program).
I uninstall Citrix Workspace, and this problem with snap
LD_DEBUG=all snap list
** Attachment added: "ld_debug_text"
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/2098503/+attachment/5858714/+files/ld_debug_text
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchp
env | grep LD_
LD_GOLD=/home/user/anaconda3/bin/x86_64-conda-linux-gnu-ld.gold
CONDA_BUILD_SYSROOT=/home/user/anaconda3/x86_64-conda-linux-gnu/sysroot
SNAPD_debug=1 snap list
2025/02/17 17:32:28.492121 logger.go:99: DEBUG: restarting into
"/snap/snapd/current/usr/bin/snap"
snap: error while load
An update:
I tried snap install hello-world with a previous version of snap, and it works
fine:
sudo apt purge snapd
sudo apt install snapd=2.63+24.04ubuntu0.1
snap install hello-world
# Works fine.
However, the following still fails:
sudo apt purge snapd
sudo apt install snapd=2.66.1+24.04
snap
Public bug reported:
I'm getting the following when using snap (any command, including just snap):
snap: error while loading shared libraries: libX11.so.6: cannot open shared
object file: No such file or directory
I get this only after trying to install a package (hello-world) with
snap; immedia