You are not logged in.

#1 2020-08-19 10:34:31

zynex
Member
Registered: 2019-03-20
Posts: 29

[Solved] Upgrade broke the system

Hi.

I just upgraded my system, as I usually do, and something went terrible wrong. While upgrading (thru discovery) I was on the phone and the computer locked itself as it should do, but then I couldn't log again with my password (it was the correct one). So I forced a reboot, and the system didn't start at all.

It halted with the error failed to execute /sbin/init and failed to execute fallback shell.

I went to get my Arch USB stick, went into the shell and tried to update with mkinitcpio -P, but got a bunch of errors regarding execution of systemd binary files, and some error about invalid ELF header. So something went really bonkers.

Seems like some other files are affected to, like ping. Get error executing binary there to.

I feel a bit lost, never he this errors before. Usually they relate to 32/64 bit problems. Any idea what's happened here?

https://i.postimg.cc/3rmx7CFY/IMG-20200819-112503.jpg
https://i.postimg.cc/4yk4VmZD/IMG-20200819-115801.jpg

Mod note: replaced oversized images with URLs. Please read the Code of Conduct and adhere to the image posting guidelines. -- WorMzy

Last edited by zynex (2020-08-19 13:13:49)

Offline

#2 2020-08-19 11:39:17

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,650
Website

Re: [Solved] Upgrade broke the system

You likely interrupted the upgrade mid-transaction, or the force reboot (why did you think that was a good idea if the system was otherwise responding?) caused on-disk corruption. Use 'pacman -Qkk' to identify which packages are damaged (at the very least `systemd-libs` is) and re-install them. Use a LIveCD if pacman doesn't work on the installed system.

Mod note: Not a pacman issue, moving to NC.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2020-08-19 13:13:32

zynex
Member
Registered: 2019-03-20
Posts: 29

Re: [Solved] Upgrade broke the system

Don't think it was in mid-transaction, it was running while I was on the phone for good 10+ minutes. So it should have been done by then, but it might be the case? I couldn't login to the system to check.

Although, after a couple of hours I manage to get the system running again by temporarily disable signing checks for pacman, and reinstalling all packages. I also found out why I couldn't login, apparently /usr/lib/security/pam_tally2.so was removed making logins fail.

Anyway, problem solved smile Sorry for the oversized images, didn't think of it when posting.

Offline

Board footer

Powered by FluxBB