You are not logged in.
As per https://bbs.archlinux.org/viewtopic.php?id=293937, I fixed a failed pacman update to the point that I can boot into the system.
At the console, things seem to work okay. I can run pacman, vim, sbcl, and all the usual Posix suspects.
But when I try something fancier, I get "file too short" errors on shared libraries:
$ emacs
emacs: error while loading shared libaries: /usr/lib/libtree-sitter.so.0: file too short
It's not just emacs, it's most of the things in my .xinitrc file.
As far as I can tell, my pacman database is okay: I can install and uninstall packages.
Everything in the wiki leads to reinstalling all my packages, and then pages of "[file] exists in filesystem" errors prevent "pacman -Qqn | pacman -S -" from success. (The first time I tried, I got a short list of packages that were corrupt, and it definitely resembled the list of files I was upgrading when pacman failed. I deleted them, trusting that pacman would do the Right Thing because it always has before.)
And there are warnings all over pacman's "overwrite=*" option.
So here I am. What is my next step?
Last edited by segment289 (2024-03-17 16:09:28)
Offline
pacman is ok, your pacman database is not.
Offline
After adding the --overwrite=* parameter to "pacman -Qqn | pacman -S -" and "pacman -Qqm | [the [unsupported] AUR equivalent]," and waiting nervously through 700-ish packages being reinstalled, my system is happy again.
Thank you for your excellent and fast help.
Offline