Hi all,
I have that issue on my distro:
snap list
snap: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory
That error appears with every snap command and every app I’ll try to run.
I use Snap on a ParrotOS.
I already:
Rebbot my laptop
Uninstall Snap and reinstall it
Uninstall libX11-6 and reinstall it
Thaks all
lio00lio:
libX11.so.6
Try installing this package if you’re on Debian based distros,
sudo apt install libx11-6
There is some issue with the X11 libraries in your host.
Is LD_PRELOAD
set by any chance in your environment? Or maybe LD_LIBRARY_PATH
?
1 Like
just do, but i can see “is already installed with the latest version”
And what’s this?
ldd /lib/x86_64-linux-gnu/libX11.so.6
Can’t find any issue in the linkages. Try this may be
sudo apt remove --purge snapd
sudo apt install snapd
EDIT: The above solution might get all your snaps deleted. In that case, try this first
sudo apt install --reinstall snapd
ty, but all application was delated
1 Like
All the snaps were deleted?
yes all snaps.
reinstalling the snap the issue come back
1 Like
You said that it was fixed?
Yes, it was fixed, but the error returned on the second snap command.
after running the remove and the install the problem was fixed again. but all application installed with snap was removed
1 Like
Instead of using --purge
try using --reinstall
next time and see what happens. I am sorry that your applications were deleted. That was not really my intention.
1 Like
Np, i reinstalled them one by one, was not a big deal, luckily the PC was freshly reinstalled we delete just 2 or 3 app
1 Like