Page 2 of 2

Re: Cannot upgrade kernel because of linux-base

Posted: Fri Jun 20, 2025 4:27 pm
by dr-kart
I was able to update the kernel to version 6.12.32 last week without errors using Synaptic
I couldn't. An error occurred in synaptic:

Code: Select all

E: Internal Error, No file name for linux-headers-6.12.32-amd64:amd64
Then I tried to remove all 6.12.32 leftovers. And another error in synaptic:

Code: Select all

E: /var/cache/apt/archives/linux-image-6.12.32-amd64-unsigned_6.12.32-1~mx23ahs+1_amd64.deb: new linux-image-6.12.32-amd64-unsigned package pre-installation script subprocess returned error exit status 127
Details are:

Code: Select all

(Reading database ... 529802 files and directories currently installed.)
Removing linux-headers-6.12.32-amd64 (6.12.32-1~mx23ahs+1) ...
Removing linux-headers-6.12.32-common (6.12.32-1~mx23ahs+1) ...
Removing linux-kbuild-6.12.32 (6.12.32-1~mx23ahs+1) ...
(Reading database ... 512462 files and directories currently installed.)
Preparing to unpack .../linux-image-6.12.32-amd64-unsigned_6.12.32-1~mx23ahs+1_amd64.deb ...
/var/lib/dpkg/tmp.ci/preinst: 16: linux-run-hooks: not found
dpkg: error processing archive /var/cache/apt/archives/linux-image-6.12.32-amd64-unsigned_6.12.32-1~mx23ahs+1_amd64.deb (--unpack):
 new linux-image-6.12.32-amd64-unsigned package pre-installation script subprocess returned error exit status 127
W: linux-base is not installed; cannot run postrm hooks
Errors were encountered while processing:
 /var/cache/apt/archives/linux-image-6.12.32-amd64-unsigned_6.12.32-1~mx23ahs+1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
:confused: sync related?

Re: Cannot upgrade kernel because of linux-base

Posted: Sat Jun 21, 2025 7:17 am
by mepislover
dpkg: error processing archive /var/cache/apt/archives/linux-image-6.12.32-amd64-unsigned_6.12.32-1~mx23ahs+1_amd64.deb (--unpack):
new linux-image-6.12.32-amd64-unsigned package pre-installation script subprocess returned error exit status 127
W: linux-base is not installed; cannot run postrm hooks
According to the error log, required dependencies of the packages to be installed could not be fulfilled. The required version of the linux-base package is not installed on the system.

To do this, please activate the repository for the bookworm-backports in synaptic and update the linux-base package from version 4.9 to the latest version 4.12~bpo12+1. The kernel 6.12.32-1+mx23+1 can then be installed.

Re: Cannot upgrade kernel because of linux-base  [Solved]

Posted: Sun Jun 22, 2025 1:38 am
by Stevo
Apparently, it really needs a newer linux-base to work, so we have that now in our ahs section, where the AHS kernels also live. Apparently, my telling it to use the Bookworm 4.9 wasn't enough.

https://mxrepo.com/mx/repo/pool/ahs/l/linux-base/

Re: Cannot upgrade kernel because of linux-base

Posted: Fri Jul 04, 2025 8:57 am
by Magister
It is working now, dependencies have been fixed, thanks :)