#Cant use apt because of an issue with linux-image-6.2.0-36-generic

1 messages · Page 1 of 1 (latest)

night beacon
#

I tried to do apt update and apt upgrade and it said it has unmet dependencies and i should run apt --fix-broken install. I did that and it prompts me with: Errors were encountered while processing: linux-image-6.2.0-36-generic uname -r says 6.5.0-10-generic And it doesnt say anything how to fix it. Thank you in advance!

shell lantern
#

exact messages are useful.

night beacon
#

elias@Elias-PC:~/Desktop$ sudo apt upgrade -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
synaptic : Depends: libept1.6.0 (>= 1.2.1) but it is not installed
Depends: libxapian30 (>= 1.4.19~) but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

#

elias@Elias-PC:~/Desktop$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
libept1.6.0 libxapian30
Suggested packages:
xapian-tools
The following packages will be REMOVED:
linux-image-6.2.0-36-generic
The following NEW packages will be installed:
libept1.6.0 libxapian30
0 upgraded, 2 newly installed, 1 to remove and 50 not upgraded.
3 not fully installed or removed.
Need to get 0 B/778 kB of archives.
After this operation, 11.5 MB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 311980 files and directories currently installed.)
Removing linux-image-6.2.0-36-generic (6.2.0-36.37) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-6.2.0-36-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'

#

Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.5.0-13-generic
Found initrd image: /boot/initrd.img-6.5.0-13-generic
Found linux image: /boot/vmlinuz-6.5.0-10-generic
Found initrd image: /boot/initrd.img-6.5.0-10-generic
Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Windows Boot Manager on /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings ...
Adding boot menu entry for UEFI Firmware Settings ...
/etc/grub.d/proxifiedScripts/linux: 1: version_find_latest: not found
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 127
dpkg: error processing package linux-image-6.2.0-36-generic (--remove):
installed linux-image-6.2.0-36-generic package post-removal script subprocess returned error exit status 1
dpkg: too many errors, stopping
Errors were encountered while processing:
linux-image-6.2.0-36-generic
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)

#

elias@Elias-PC:~/Desktop$ uname -a
Linux Elias-PC 6.5.0-10-generic #10-Ubuntu SMP PREEMPT_DYNAMIC Fri Oct 13 13:49:38 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

#

On Ubuntu 23.10

shell lantern
#

have you used grub-customizer

night beacon
#

yes but not recently

shell lantern
#
night beacon
#

Thank you that fixed it i wont use grub customizer anymore is there any alternative to grub customizer?