Segmentation fault (core dumped) when trying to delete\download\update grub |

Trending 4 months ago

When I effort to download caller packages, aliases update anything, I get a Segmentation responsibility (core dumped) error. Initially, it appeared aft I utilized grub customizer and tried to switch nan windows and ubuntu footwear menus. After that, nan programme closed and did not unfastened again. I tried reinstalling it, it didn't help. After this failure, I effort to reinstall grub utilizing boot-repair, but it besides does not help.

sudo apt instal --reinstall grub-efi-amd64 Reading package Lists… Done Building a dependency tree... Done Reading position information… Done The pursuing further packages will beryllium installed: grub-efi-amd64-bin grub-efi-amd64-signed The pursuing packages will beryllium DELETED: grub-gfxpayload-lists grub-pc grub2 linux-image-6.5.0-14-generic The pursuing NEW packages will beryllium installed: grub-efi-amd64 The pursuing packages will beryllium updated: grub-efi-amd64-bin grub-efi-amd64-signed 2 packages person been updated, 1 caller package has been installed, 4 packages person been marked for deletion, and 1450 packages person not been updated. 2 packages are not afloat installed aliases deleted. You request to download 3,079 kB of archives. After this operation, nan magnitude of occupied disk abstraction will alteration by 14.4 MB. Do you want to continue? [D/n] D Gender:1 noble/main amd64 grub-efi-amd64-signed amd64 1.201+2.12-1ubuntu1 [1,392 kB] Gender:2 noble/main amd64 grub-efi-amd64-bin amd64 2.12-1ubuntu1 [1,634 kB] Gender:3 noble/main amd64 grub-efi-amd64 amd64 2.12-1ubuntu1 [52.5 kB] Received 3,079 kB successful 2s (1,688 kB/s) Pre-configuring packages ... (Reading nan database ... presently 230906 files and directories are installed.) linux-image is being deleted-6.5.0-14- generic (6.5.0-14.14~04.22.1) ... /etc/kernel/postrm.d/initramfs-tools: update-initramfs: Deleting /boot/initrd.img-6.5.0-14- generic /etc/kernel/postrm.d/zz-update-grub: Sourcing record `/etc/default/grub' Sourcing record `/etc/default/grub.d/init-select.cfg' Generating grub configuration record ... Found theme: /boot/grub/themes/crt-amber-theme/theme.txt Found linux image: /boot/vmlinuz-6.5.0-18-generic Found initrd image: /boot/initrd.img-6.5.0-18-generic Found linux image: /boot/vmlinuz-6.5.0-15-generic Found initrd image: /boot/initrd.img-6.5.0-15-generic Found linux image: /boot/vmlinuz-6.5.0-18-generic Found initrd image: /boot/initrd.img-6.5.0-18-generic Found linux image: /boot/vmlinuz-6.5.0-15-generic Found initrd image: /boot/initrd.img-6.5.0-15-generic Memtest86+ needs a 16-bit boot, that is not disposable connected EFI, exiting Warning: os-prober will not beryllium executed to observe different bootable partitions. Systems connected them will not beryllium added to nan GRUB footwear configuration. Check GRUB_DISABLE_OS_PROBER archiving entry. Adding footwear paper introduction for UEFI Firmware Settings ... Segmentation responsibility (core dumped) run-parts: /etc/kernel/postrm.d/zz-update-grub exited pinch return codification 139 dpkg: correction processing linux-image package-6.5.0-14- generic (--remove): a subprocess from nan linux-image package-6.5.0-14- generic installed post-removal book returned correction codification 1 dpkg: excessively galore errors — we stop Errors occurred while processing nan pursuing packages: linux-image-6.5.0-14- generic Processing was stopped owed to excessively galore errors. E: Sub-process /usr/bin/dpkg returned an correction codification (1)```