Disclaimer: This is mainly for documentation purposes for now, not sure yet I’ll need any help, although, there are a few questions I had along the way. Feel free to comment.
I had another kernel panic (AGAIN) during a system update, the interesting bits are:
core/linux 6.8.7.arch1-2 6.8.8.arch1-1 -0.26 MiB
core/linux-headers 6.8.7.arch1-2 6.8.8.arch1-1 0.08 MiB
core/openssh 9.7p1-1 9.7p1-2 0.00 MiB
core/openssl 3.3.0-1 3.3.0-1 10.92 MiB
core/systemd-resolvconf 255.5-2 255.5-3 0.00 MiB
core/systemd-sysvcompat 255.5-2 255.5-3 0.00 MiB
I did another update just a day or two ago, so not much to update, except, a new Kernel version.
Kernel panic happened after (3/11) upgrading systemd
.
Having read just yesterday that there’s a brand new EOS iso, I downloaded it with confidence and some hope that I could just pacman --sysroot
this time:
cryptsetup
and mounted/
,/home
and/mnt/efi
.sudo arch-chroot /mnt
into my system. Ranyay
/pacman
but gotpacman: error while loading shared libraries: /usr/lib/libcrypto.so.3: file too short
.- Exited chroot and went for the
sudo pacman -Syu --sysroot /mnt
- Got a bunch of errors like the following and confirmed (I assume it’s due to different keyring on the live-usb?)
error: openssl: signature from "Pierre Schmitz <pierre@archlinux.org>" is invalid
:: File /mnt/var/cache/pacman/pkg/openssl-3.3.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
- Go an error
error: failed to commit transaction (conflicting files)
in the file conflict check. - Retry… this time going for the heavy method as last time (but using
--sysroot
instead of chroot’ing)sudo pacman -Syu --sysroot /mnt --overwrite "*"
and pacman was doing its job… Got a few concerning messages like
/usr/bin/dkms: line 2512: /dev/fd/63: No such file or directory
Warning: dkms will not function properly if /proc is not mounted.
grep: /proc/cpuinfo: No such file or directory
Error! Bad return status for module build on kernel: 6.8.8-arch1-1 (x86_64)
Consult /var/lib/dkms/nvidia/550.76/build/make.log for more information.
==> WARNING: `dkms install --no-depmod nvidia/550.76 -k 6.8.8-arch1-1' exited 10
Which doesn’t exactly raise my confidence.
At least find /usr/lib -size 0
returns 12 files less than at the beginning, but 605 files more than on the live-usb (which gives me confidence considering it’s a long running system with lots of packages installed)
Going for the reboot, let’s see how it goes…
Wondering why the --sysroot
didn’t work last time - my suspicion as a noob was always because the EOS live-CD at the time was pretty outdated, and I probably should’ve done an update first, but that’s just my speculation. Would appreciate enlightenment on the viability of --sysroot
in these cases, when it works, when it won’t work.