You are not logged in.

#1 2015-06-09 15:54:48

Snoop05
Member
Registered: 2014-10-29
Posts: 15

Recovery after system upgrade

Yesterday, i tried to do system upgrade using "pacman -Syyu" but there were some problems with keychain because releated package was outdated. I did temporary fix by disabling key verification and run again "pacman -Syyu". System freezed in middle of upgrade so i had to manually reboot it. On next boot, i just got kernel panic and thats all. I made bootable archlinux usb and tried to chroot and fix it. But i'm getting "chroot: failed to run command '/bin/bash': Exec format error". All info that i've found about this problem points me to different architecture of booted media and installation i want to chroot in. But i did uefi x86_64 install and also booted the installation media in uefi mode so i really don't know what cause this problem. Here is also terminal output.
http://i.imgur.com/NC0bb17.jpg

Sorry for formatting, i'm on phone.

-- mod edit: converted img to url tag.  Please see guidelines on image sizes.  Trilby --

Last edited by Trilby (2015-06-09 17:56:42)

Offline

#2 2015-06-09 17:44:04

mauritiusdadd
Member
From: Benevento, Italy
Registered: 2013-10-27
Posts: 776

Re: Recovery after system upgrade

Snoop05 wrote:

System freezed in middle of upgrade so i had to manually reboot it.

It seems that the bash executable (and potentially other files) is corrupted.  You should boot using the Arch install media and mount your root filesystem (for example under /mnt) but instead of chroot into the system, do

pacman -Syyu

and then reinstall bash

pacman -r /mnt -S bash

Last edited by mauritiusdadd (2015-06-09 17:56:56)


About me - github

-- When you have eliminated the impossible, whatever remains, however improbable, must be the truth -- Spock | Sherlock Holmes

Offline

#3 2015-06-09 18:26:00

Snoop05
Member
Registered: 2014-10-29
Posts: 15

Re: Recovery after system upgrade

I think that's no way. You fix one thing and find that something else is broken too. I will reinstall it from scratch. Just wanted to save time since i have ~1.5Mbps (2Mbps peak) connection.

Offline

Board footer

Powered by FluxBB