I started up my laptop after months of not using it, and tried running an update on it.
I ran up against many errors, such as packages that needed to be uninstalled such as libcanberra. But now, I can’t even upgrade my system let alone run many apps. Everytime I run a selection of apps like cmake or gpg, I am met with an error message gpg: /usr/lib/libc.so.6: version 'GLIBC_2.33' not found (required by gpg). My keyring is bugged, I tried following this Pacman troubleshooting - Manjaro to no avail. it worked up to 5. the first time, except I couldn’t do 2. because I apparently can’t install packages with a broken keyring…
Now sudo pacman-key --init doesn’t even work, since it uses gpg and gpg throws gpg: /usr/lib/libc.so.6: version 'GLIBC_2.33' not found (required by gpg) errors at me, resulting in a pacman-key error ==> ERROR: Trust database could not be updated.
If only I could update my glibc, maybe that would fix it? But how am I supposed to fix it if I can’t download stuff from pacman? Interestingly, sudo pacman -Sy works…
Can I even reboot my system safely?
Edit: I managed to reboot safely , the problem remains though
You think I didn’t try that? I’ve done that multiple times and it didn’t work.
It looks like you stopped reading after my second sentence. I already removed that dependency issue but faced another problem; pamac didn’t help and in an effort of trying to update it, I had to remove pamac-common-dev which ended up breaking it. Which isn’t relevant anyways since I couldn’t get things working with it.
Sorry about my previous comment, it was a bit rude, I didn’t have any sleep and was a bit stressed out.
I went to a mirror, found the glibc package and used sudo pacman -U pkg-location, it ended up fixing that erorr, but gpg was still throwing errors, so I ended up disabling pacman’s signature checking by setting SigLevel = Never in /etc/pacman.conf, doing a sudo pacman -Scc, installing pamac again and doing a sudo pamac update. It ended up working