You are not logged in.

#1 2024-09-06 13:20:10

bensaj
Member
Registered: 2024-09-06
Posts: 1

/boot/vmlinuz-linux not found after interrupted update

I have tried to arch-chroot from usb and I get "chroot: failed to run command /bin/bash: exec format error"

I have tried to chroot but commands like 'ls' are not recognized: "zsh: exec format error: ls"

The command "pacman --root=/mnt --cachedir=/mnt/var/cache/pacman/pkg -Syu" starts the update, but it asks me to import PKG keys. After checking package integrity it returns 'error: glib2: key "some_key...' is unknown". After asking if I want to import it and if I say Yes it returns File /mnt/var/cache/pacman/pkg/glib2-2.80.5-1x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). If I dont import the unknown key I get again the error of the corrupted package, but some other package.

Could you help me reinstall the kernel and boot into arch successfully?

Offline

#2 2024-09-07 16:47:36

lrdoftheblings
Member
Registered: 2024-08-26
Posts: 10

Re: /boot/vmlinuz-linux not found after interrupted update

Use

pacman --sysroot=/mnt -Syu

instead of

pacman --root...

See https://man.archlinux.org/man/pacman.8.

Offline

Board footer

Powered by FluxBB