On my system I have un SSD with two partitions, with Eos and Fedora.
On EndeavourOS Gnome I got the following error after an update involving the lts kernel I’ve installed:
Chargement de Linux linux-lts...
erreur : fichier « /boot/vmlinuz-linux-lts » non disponible.
Chargement du disque mémoire initial...
erreur : le noyau doit d'abord être chargé.
Appuyez une touche pour continuer…
That is
Loading linux linux-llts
error: file «/boot/vmlinuz-linux-lts» not found
Loading initial ramdisk…
Error: you need to load the kernel first.
By my live iso I chrooted trying to solve the problem but I got errors.
[liveuser@eos-2025.02.08 ~]$ sudo lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
loop0 squashfs 4.0 0 100% /run/archiso/airootfs
sda
├─sda1 ext4 1.0 e7821ebb-d627-45ab-9593-f575b340cbf9
└─sda2 ext4 1.0 fedora f4114bfc-134e-4376-83f2-5f0986c6d091
sdb
├─sdb1 ext4 1.0 Dati e7bf7c94-336d-4f4a-a4c8-901dac2cc977
├─sdb2 ext4 1.0 Documenti b1b5a152-0101-4449-ad60-2198b3ac766b
├─sdb3 ext4 1.0 Multimedia 7b9b0044-13b0-492c-b59d-dbe5195687b4
└─sdb4 ext4 1.0 Backups 531afa06-7c77-42e8-8b26-d8603efbbacd
sdc iso9660 Joliet Extension EOS_202502 2025-02-08-08-06-14-00
├─sdc1 iso9660 Joliet Extension EOS_202502 2025-02-08-08-06-14-00 0 100% /run/archiso/bootmnt
└─sdc2 vfat FAT32 ARCHISO_EFI 67A7-1076
Then
[liveuser@eos-2025.02.08 ~]$ sudo mount /dev/sda1 /mnt
[liveuser@eos-2025.02.08 ~]$ sudo arch-chroot /mnt
[root@EndeavourOS /]# ls /home
ply
All is perfect.
But
[root@EndeavourOS /]# pacman -Syu linux
:: Synchronizing package databases...
error: failed to synchronize all databases (unable to lock database)
[root@EndeavourOS /]# pacman -Syu linux
:: Synchronizing package databases...
endeavouros 15.8 KiB 58.2 KiB/s 00:00 [------------------------------------] 100%
core 122.2 KiB 295 KiB/s 00:00 [------------------------------------] 100%
extra 7.8 MiB 2.99 MiB/s 00:03 [------------------------------------] 100%
multilib 133.5 KiB 297 KiB/s 00:00 [------------------------------------] 100%
:: Starting full system upgrade...
error: could not open file /var/lib/pacman/local/linux-headers-6.16.arch2-1/desc: No such file or directory
resolving dependencies...
looking for conflicting packages...
warning: could not fully load metadata for package linux-headers-6.16.arch2-1
error: failed to prepare transaction (invalid or corrupted package)
[root@EndeavourOS /]# yay -Syyuu
-> Avoid running yay as root/sudo.
:: Synchronizing package databases...
endeavouros 15.8 KiB 36.9 KiB/s 00:00 [---------------------------------------] 100%
core 122.2 KiB 212 KiB/s 00:01 [---------------------------------------] 100%
extra 7.8 MiB 1581 KiB/s 00:05 [---------------------------------------] 100%
multilib 133.5 KiB 215 KiB/s 00:01 [---------------------------------------] 100%
:: Searching AUR for updates...
-> could not open file /var/lib/pacman/local/linux-headers-6.16.arch2-1/desc: No such file or directory
:: Searching databases for updates...
:: 23 packages to upgrade/install.
23 endeavouros/dracut 106-1 -> 108_eos-1
22 core/btrfs-progs 6.15-1 -> 6.16-1
21 core/ca-certificates-mozilla 3.114-1 -> 3.115-1
20 core/glib2 2.84.3-1 -> 2.84.4-2
19 core/glib2-devel 2.84.3-1 -> 2.84.4-2
18 core/libgcrypt 1.11.1-1 -> 1.11.2-1
17 core/linux 6.16.arch2-1 -> 6.16.1.arch1-1
16 core/linux-headers 6.16.arch2-1 -> 6.16.1.arch1-1
15 core/linux-lts 6.12.41-1 -> 6.12.42-1
14 core/linux-lts-headers 6.12.41-1 -> 6.12.42-1
13 core/nss 3.114-1 -> 3.115-1
12 core/python 3.13.5-1 -> 3.13.7-1
11 core/rpcbind 1.2.7-2 -> 1.2.8-1
10 extra/ell 0.78-1 -> 0.79-1
9 extra/hwdetect 2025.03.06.1935-1 -> 2025.08.16.1333-1
8 extra/libinput 1.28.1-1 -> 1.29.0-1
7 extra/librsvg 2:2.60.0-2 -> 2:2.61.0-1
6 extra/networkmanager-openvpn 1.12.0-1 -> 1.12.2-1
5 extra/python-termcolor 2.5.0-1 -> 3.1.0-1
4 extra/vapoursynth R70-2 -> 72-1
3 extra/whois 5.6.1-1 -> 5.6.4-1
2 extra/xorg-xdpyinfo 1.3.4-2 -> 1.4.0-1
1 aur/freetube-bin 0.23.6-1 -> 0.23.7-1
==> Packages to exclude: (eg: "1 2 3", "1-3", "^4" or repo name)
-> Excluding packages may cause partial upgrades and break systems
==>
Sync Dependency (12): ell-0.79-1, vapoursynth-72-1, glib2-2.84.4-2, libgcrypt-1.11.2-1, librsvg-2:2.61.0-1, ca-certificates-mozilla-3.115-1, libinput-1.29.0-1, whois-5.6.4-1, rpcbind-1.2.8-1, glib2-devel-2.84.4-2, nss-3.115-1, python-termcolor-3.1.0-1
Sync Explicit (10): linux-headers-6.16.1.arch1-1, xorg-xdpyinfo-1.4.0-1, linux-6.16.1.arch1-1, python-3.13.7-1, networkmanager-openvpn-1.12.2-1, linux-lts-headers-6.12.42-1, dracut-108_eos-1, linux-lts-6.12.42-1, hwdetect-2025.08.16.1333-1, btrfs-progs-6.16-1
AUR Explicit (1): freetube-bin-0.23.7-1
:: (0/1) Failed to download PKGBUILD: freetube-bin
-> error fetching freetube-bin: fatal: cannot change to '/tmp/yay': No such file or directory
context: exit status 128
[root@EndeavourOS /]# pacman -Syyuu
:: Synchronizing package databases...
endeavouros 15.8 KiB 122 KiB/s 00:00 [---------------------------------------] 100%
core 122.2 KiB 424 KiB/s 00:00 [---------------------------------------] 100%
extra 7.8 MiB 2.76 MiB/s 00:03 [---------------------------------------] 100%
multilib 133.5 KiB 415 KiB/s 00:00 [---------------------------------------] 100%
:: Starting full system upgrade...
error: could not open file /var/lib/pacman/local/linux-headers-6.16.arch2-1/desc: No such file or directory
resolving dependencies...
looking for conflicting packages...
warning: could not fully load metadata for package linux-headers-6.16.arch2-1
error: failed to prepare transaction (invalid or corrupted package)
[root@EndeavourOS /]#
Please I need help because I’m not good to solve.