You are not logged in.

#1 2023-08-02 21:01:10

Leytox
Member
Registered: 2023-01-22
Posts: 5

Broken system after update

When I updated my system i saw a lot of messages like blablabla invalid elf header.

After rebooting my system refused to start, so i downloaded live-iso and tried to check what happened to my system. I used arch-chroot to get inside it, and tried to check updates by yay, when i did that i've got this message:

error while loading shared libraries: /usr/share/libarchive.so.13: invalid ELF header

When i tried to create new linux kernel image using mkinitcpio -P it's complained that libmpft.so.6 has invalid ELF header and all modules of nvidia driver are failed to be found


Please help me with this problem, i don't want to reinstall my system totally

Offline

#2 2023-08-02 21:38:21

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,119

Re: Broken system after update

/usr/share/libarchive.so.13 isn't a thing, was it maybe /usr/lib/libarchive.so.13 ?

messages like blablabla

https://bbs.archlinux.org/viewtopic.php?id=57855

Don't chroot, check

file -L /usr/lib/libarchive.so.13
pacman --root /mnt -Qikk libarchive

i don't want to reinstall my system totally

If you turned random libraries into mush you'll likely have to re-install all packages at least.
https://wiki.archlinux.org/title/Pacman … nal_pacman

You'll liekly have to use --root and specify --cachedir as well (as there's unliekly enough free space on the iso)
https://man.archlinux.org/man/core/pacm … en#OPTIONS

Offline

Board footer

Powered by FluxBB