You are not logged in.

#1 2021-11-19 11:22:18

fasl
Member
Registered: 2020-10-17
Posts: 2

Lost power during update, multiple problems

Hi! So I did a -Syu and got a poweroff during the update.

First at reboot it would seem that the kernel doesn't load, can't boot...
So I boot from usb. Can't arch-chroot, get error while loading shared libraries, libcursesw.so.6 is too short... libcursesw.so.6 points to libcursesw.so.6.3, which is 0 bytes...

pacman --sysroot /mnt -Syu says that there's a problem with the databases (core.db, etc.), so I cat it and it looks like a cached html... deleted the sync folder and try again.
Ok, time to sync tha databases, except that now I get timeouts for all mirrors. No problem with my connection and can ping the mirrors that timeout.

The pacman log stops halfway through an entry of updating a Haskell package.

So, any suggestions on where to start in unbricking my system?
Cheers!

Offline

#2 2021-11-19 11:26:47

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,300

Re: Lost power during update, multiple problems

Try different mirrors, and post the actual output you get: https://wiki.archlinux.org/title/List_o … n_services

Offline

#3 2021-11-19 23:20:13

fasl
Member
Registered: 2020-10-17
Posts: 2

Re: Lost power during update, multiple problems

Actually, I changed the DNS server in /etc/resolv.conf, which took care of the time-out.
Copied in the libncursesw.so.6.3, so now I can arch-chroot...

However, when I proceed with installation I get the following

(1/1) checking keys in keyring
error: GPGME error: Invalid crypto engine
(1/1) checking package integrity
error: GPGME error: Invalid crypto engine
error: [packagename]: missing required signature
:: File /var/cache/pacman/pkg/[file] is corrupted (invalid or corrupted pacakge (PGP signature)).
Do you want to delete it? [Y/n]n
error: failed to commit transaction (invalid or corrupted pacakge (PGP signature))
Errors occured, no packages were upgraded.

or I get:

error: could not open file: /etc/mtab: No such file or directory
error: could not determine filesystem mount points
error: failed to commit transaction (unexpected error)
Errors occured, no packages were upgraded.

/mnt/etc/mtab just points to ../proc/self/mounts, which doesn't exist...because /mnt/proc is empty...so I made the dir self and copied /proc/self/mount there...but then I'm just back to the GPGME error...


   pacman-key --init && pacman--key --refresh-key
results in
  ==> ERROR: You do not have sufficient permissions to read the pacman keyring.
  ==> Use 'pacman-key --init' to correct the keyring permissions.

which is what I already did...

So that's where I'm at right now :-p

Offline

#4 2021-11-19 23:34:14

loqs
Member
Registered: 2014-03-06
Posts: 18,991

Re: Lost power during update, multiple problems

Please post the output of the following to a pastebin

# pacman -Qkk 2>&1 | grep -Fv '0 altered files'

Offline

Board footer

Powered by FluxBB