#linux-image generic depedency issues

24 messages · Page 1 of 1 (latest)

torpid cipher
#

Description :
I tried to use "sudo apt full-upgrade" to update Linux Mint 22.1 that has been installed alongside a Windows 10 pre install (the laptop components are a AMD Rysen 5 2500U Radeaon V CPU and ATI Radeon Vega Series / Ra).
However, I faced an error related to linux-image-6.8.0-60-generic that was included after the Linux installation.

Steps to reproduce :
1- I updated the system under the terminal with sudo apt update ;
2- I attempted an upgrade with "sudo apt full-upgrade".

Actual behaviour :

Processing triggers for linux-image-6.8.0-60-generic (6.8.0-60.63) ...
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 6.8.0-60-generic
 * dkms: autoinstall for kernel 6.8.0-60-generic
   ...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.8.0-60-generic
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
/usr/sbin/grub-mkconfig: 1: /etc/default/grub: r: not found
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 127
dpkg: error processing package linux-image-6.8.0-60-generic (--configure):
 installed linux-image-6.8.0-60-generic package post-installation script subproc
ess returned error exit status 127
Errors were encountered while processing:
 linux-image-6.8.0-60-generic
E: Sub-process /usr/bin/dpkg returned an error code (1) ```
tough bay
#

reboot and then do uname -r

#

should be fine

torpid cipher
tough bay
#

what's the result from uname -r?

torpid cipher
#

6.8.0-51 generic

tough bay
#

so leave it on that.

#

that's the stock one that comes with fresh install

torpid cipher
#

The system tries to enforce the latest version of linux-image generic when I try to install a software with Shell script.
How can I work around that ?

tough bay
#

check in the update manager.. open it up. if you don't want certain packages to be upgraded, u can uncheck them there.

#

it also has provisions for updating (or not) of Flatpak software, and also for automatic upgrades.

#

you may also go in its View Menu: kernels, and uninstall/remove -60 of 6.8 if it's being troublesome

torpid cipher
#

Seems like it was the one who prevented 6.8.0-51 generic from doing it's job.

#

Thank you for your support.

tough bay
#

and act wise.

torpid cipher
#

I'll keep that in mind for next time

plush swallow
torpid cipher
#

I switched back to the version indicated by the uname -r command

plush swallow
torpid cipher
#

I made sure that the running kernel is the only thing that runs under Linux Mint.
The 6.8.0-51

plush swallow
torpid cipher
#

For the moment, this is the best I can do without seeing the system being locked in a loop of updates that doesn't work.