[manjaro-gnome /]# pacman -U linux510-headers-5.10.84-1-x86_64.pkg.tar.zst
loading packages...
error: 'linux510-headers-5.10.84-1-x86_64.pkg.tar.zst': could not find or read package
if you are in testing
pacman -U linux510-headers-5.10.85-1-x86_64.pkg.tar.zst
Those warnings appeared now for the first time, when I removed the server line from /etc/pacman.conf
I am not in testing but I tried, same result, cannot find package
then pacman -S linux510
[manjaro-gnome /]# pacman -S linux510
warning: linux510-5.10.84-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) linux510-5.10.84-1
Total Installed Size: 78.33 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n] Y
(1/1) checking keys in keyring [##################################] 100%
(1/1) checking package integrity [##################################] 100%
(1/1) loading package files [##################################] 100%
(1/1) checking for file conflicts [##################################] 100%
(1/1) checking available disk space [##################################] 100%
:: Running pre-transaction hooks...
(1/2) Remove upgraded DKMS modules
==> dkms remove --no-depmod vboxhost/6.1.30_OSE -k 5.10.84-1-MANJARO
(2/2) Save Linux kernel modules
:: Processing package changes...
(1/1) reinstalling linux510 [##################################] 100%
:: Running post-transaction hooks...
(1/5) Arming ConditionNeedsUpdate...
(2/5) Updating module dependencies...
(3/5) Install DKMS modules
==> dkms install --no-depmod vboxhost/6.1.30_OSE -k 5.10.84-1-MANJARO
==> dkms install --no-depmod rtl8821ce/1.0.5.r90.gdf0c98c -k 5.10.84-1-MANJARO
Error! Bad return status for module build on kernel: 5.10.84-1-MANJARO (x86_64)
Consult /var/lib/dkms/rtl8821ce/1.0.5.r90.gdf0c98c/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtl8821ce/1.0.5.r90.gdf0c98c -k 5.10.84-1-MANJARO' exited 10
==> depmod 5.10.84-1-MANJARO
(4/5) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux510.preset: 'default'
-> -k /boot/vmlinuz-5.10-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.10-x86_64.img
==> ERROR: specified kernel image does not exist: `/boot/vmlinuz-5.10-x86_64'
==> Building image from preset: /etc/mkinitcpio.d/linux510.preset: 'fallback'
-> -k /boot/vmlinuz-5.10-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.10-x86_64-fallback.img -S autodetect
==> ERROR: specified kernel image does not exist: `/boot/vmlinuz-5.10-x86_64'
error: command failed to execute correctly
(5/5) Restore Linux kernel modules
==> Warning:
-> Kernel has been updated. Modules of the current kernel
-> have been backed up so you can continue to use your
-> computer. However, the new kernel will only work
-> at next boot.
mhwd-kernel -i linux515
[manjaro-gnome /]# mhwd-kernel -i linux515
:: Synchronizing package databases...
core 168.9 KiB 1126 KiB/s 00:00 [##################################] 100%
extra 1918.4 KiB 5.93 MiB/s 00:00 [##################################] 100%
community 6.8 MiB 9.48 MiB/s 00:01 [##################################] 100%
multilib 176.5 KiB 10.1 MiB/s 00:00 [##################################] 100%
error: no targets specified (use -h for help)
pacman -S linux515 linux515-headers
Then once again?
see my reply juste before
Yes, so this was the output:
[manjaro-gnome /]# pacman -S linux515 linux515-headers
resolving dependencies...
looking for conflicting packages...
Packages (2) linux515-5.15.7-1 linux515-headers-5.15.7-1
Total Download Size: 130.66 MiB
Total Installed Size: 236.12 MiB
:: Proceed with installation? [Y/n] Y
:: Retrieving packages...
linux515-5.15.7-1-x86_64 99.6 MiB 9.34 MiB/s 00:11 [##################################] 100%
linux515-headers-5.15.7-1-x86_64 31.0 MiB 9.42 MiB/s 00:03 [##################################] 100%
Total (2/2) 130.7 MiB 9.33 MiB/s 00:14 [##################################] 100%
(2/2) checking keys in keyring [##################################] 100%
(2/2) checking package integrity [##################################] 100%
(2/2) loading package files [##################################] 100%
(2/2) checking for file conflicts [##################################] 100%
(2/2) checking available disk space [##################################] 100%
:: Processing package changes...
(1/2) installing linux515 [##################################] 100%
Optional dependencies for linux515
crda: to set the correct wireless channels of your country [installed]
(2/2) installing linux515-headers [##################################] 100%
:: Running post-transaction hooks...
(1/4) Arming ConditionNeedsUpdate...
(2/4) Updating module dependencies...
(3/4) Install DKMS modules
==> dkms install --no-depmod vboxhost/6.1.30_OSE -k 5.15.7-1-MANJARO
==> dkms install --no-depmod rtl8821ce/1.0.5.r90.gdf0c98c -k 5.15.7-1-MANJARO
Error! Bad return status for module build on kernel: 5.15.7-1-MANJARO (x86_64)
Consult /var/lib/dkms/rtl8821ce/1.0.5.r90.gdf0c98c/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtl8821ce/1.0.5.r90.gdf0c98c -k 5.15.7-1-MANJARO' exited 10
==> depmod 5.15.7-1-MANJARO
(4/4) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux515.preset: 'default'
-> -k /boot/vmlinuz-linux515 -c /etc/mkinitcpio.conf -g /boot/initramfs-linux515.img
==> Starting build: 5.15.7-1-MANJARO
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [encrypt]
==> WARNING: Possibly missing firmware for module: qat_4xxx
-> Running build hook: [openswap]
-> Running build hook: [resume]
-> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux515.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux515.preset: 'fallback'
-> -k /boot/vmlinuz-linux515 -c /etc/mkinitcpio.conf -g /boot/initramfs-linux515-fallback.img -S autodetect
==> Starting build: 5.15.7-1-MANJARO
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [encrypt]
==> WARNING: Possibly missing firmware for module: qat_4xxx
-> Running build hook: [openswap]
-> Running build hook: [resume]
-> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux515-fallback.img
==> Image generation successful
then sync , exit and try to reboot
Dumb question, what do you mean with sync?
Just as command?
Edit: Just read about the syscall, and know what it does
yes sync then exit
Still on the same error that it cannot find /boot/vmlinuz-5.10-x86_64 and I need to load the kernel.
Do I have to adapt the grub file?
press Esc on boot to see Grub
or
update your Grub menu
GRUB_TIMEOUT_STYLE=menu
sudo nano /etc/default/grub
sudo update-grub
I am in grub menu, what shall I do here
go to advanced and choose kernel
All the listed kernels there do not work. All report the same error