Unable to mount /boot

I installed arch linux. And after running sudo pacman -Syu and upgrading my system I get this error after rebooting. I know to fix it I need to run sudo pacman -S linux linux-firmware. But why does this happen and how to prevent it

I can’t understand anything from that picture, besides the top one which says failed to mount /boot. I think it says something about dependency failed for something?

Have you tried to boot into an arch install usb, mount root, then boot, then arch-chroot and then run pacman -Syu linux linux-firmware, in the chroot?