** Changed in: snapd (Ubuntu)
Status: Incomplete => Invalid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2098503
Title:
snap broken even after purging and reinstalling
To manage notificatio
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
Thanks. It's clear something happens during reexec into the snap binary
from the snapd snap. However, I'm puzzled what could it be,
/snap/snapd/current/usr/bin/snap has no dependency on x11 at all:
$ ldd /snap/snapd/current/usr/bin/snap
linux-vdso.so.1 (0x7260cb2b6000)
libc.so.
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
Can you run `env |grep LD_` and paste the output? Next, please run
`SNAPD_DEBUG=1 snap list` and paste the output as well.
** Changed in: snapd (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
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
I just spun up a clean noble VM, followed the steps you listed
precisely, and was not able to reproduce the problem (hello-world
happily installed).
If there are no snaps installed, installing a snap like hello-world will
first install the snapd snap, which restarts snapd to run with the new
versi