Code: Select all
install-upgrade-kernel upgrade huge
The problem is not new, actually. It happened last time I tried to upgrade the kernel in 32-bit, but I thought I mistyped something. I did not. It happened again today when I upgraded the kernel.
Code: Select all
install-upgrade-kernel upgrade huge
what is the file ?Grub saying it cannot overwrite a file
I can't remember the name of the file that could not be overwritten. After fixing the problem with chroot and rebooting, everything works, including sudo update-grub which works as expected, and without issuing any problem.djemos wrote: ↑19 Sep 2023 17:12what is the file ?Grub saying it cannot overwrite a file
After chroot and upgrade system from usb and boot in the installed system when run sudo update-grub you get the same message about the file?
After running the script run manually sudo update-grub. Do you get the same message about the file?
The only kernel mentioned by ls -l /boot is 6.1.53, both huge and huge-smp.
It is indeed strange. When the problem appeared, install-upgrade-kernel upgrade huge did try to update grub in the and. It's not like update-grub was not executed. It did, but failed. After fixing the problem and rebooting, (with the latest kernel installed and working) running install-upgrade-kernel upgrade huge again works and successfully updates grub in the end. So I cannot recreate the problem right now. It only appears when there is a new kernel to be installed, and it's not the same with the kernel the system runs. And it only appears in 32-bit. I did the exact same thing in 64-bit and it never had a problem.djemos wrote: ↑19 Sep 2023 17:12It is strange. Looking inside the script /usr/bin/install-upgrade-kernel it just run sudo /usr/sbin/update-grub in the end.
typing ls -l /boot are there other kernels installed ? Do you have installed both huge and huge-smp kernels ? If both are installed did you still get the message about grub?
I installed install-upgrade-kernel-gtk and of course it did the same thing as the CLI version. It re-downloaded the kernel, and skipped installing anything, since the system already had the latest kernel. It did update grub in the end without issues.