I have suddenly an issue where I cannot open web browsers like Firefox, Brave, and Chromium. It seems the shared library libX11.so.6 is the problem. snap is unresponsive, snap list and snap refresh give the same error.
I searched and tried many solutions to no avail.
If I try to install the library again I get a message that it is already there:
sudo apt install libx11-6
Loading package lists... Done
Building dependency tree... Done
Reading status information... Done
libx11-6 is already the latest version (2:1.8.7-1build1).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
I also tried sudo apt install --reinstall snapd and even sudo apt remove --purge snapd and reinstalled it, but the problem still persists.
If I try .sudo apt install firefox. I get this error:
I am out of options. I installed Google Chrome for the time being, my Tor browser is also working. All passwords are within Firefox and Chrome seems not to be able to import them (although it says it did).
I am using Ubuntu 24.04.
screenfetch
./+o+- farzan@ZenBook-UX363EA
yyyyy- -yyyyyy+ OS: Ubuntu 24.04 noble
://+//////-yyyyyyo Kernel: x86_64 Linux 6.8.0-55-generic
.++ .:/++++++/-.+sss/` Uptime: 1h 12m
.:++o: /++++++++/:--:/- Packages: 2701
o:+o+:++.`..```.-/oo+++++/ Shell: bash
.:+o:+o/. `+sssoo+/ Resolution: 1920x1080
.++/+:+oo+o:` /sssooo. DE: GNOME 46.5
/+++//+:`oo+o /::--:. WM: Mutter
\+/+o+++`o++o ++////. WM Theme: Adwaita
.++.o+++oo+:` /dddhhh. GTK Theme: Yaru-dark [GTK2/3]
.+.o+oo:. `oddhhhh+ Icon Theme: Yaru-dark
\+.++o+o``-````.:ohdhhhhh+ Font: Ubuntu Sans 11
`:o+++ `ohhhhhhhhyo++os: Disk: 243G / 449G (58%)
.o:`.syhhhhhhh/.oo++o` CPU: 11th Gen Intel Core i7-1165G7 @ 8x 4.7GHz [48.0°C]
/osyyyyyyo++ooo+++/ GPU: Mesa Intel(R) Xe Graphics (TGL GT2)
````` +oo+++o\: RAM: 6220MiB / 15673MiB
`oo++.
