Cannot upgrade kernel because of linux-base  [Solved]

Help for Current Versions of MX
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
dr-kart
Posts: 157
Joined: Sun Oct 22, 2017 8:12 pm

Re: Cannot upgrade kernel because of linux-base

#11 Post 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?

User avatar
mepislover
Posts: 31
Joined: Tue Jul 07, 2020 11:46 am

Re: Cannot upgrade kernel because of linux-base

#12 Post 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.
SphinxOS > (Simply)MEPIS > MX Linux

User avatar
Stevo
Developer
Posts: 14712
Joined: Fri Dec 15, 2006 7:07 pm

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

#13 Post 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/
MXPI = MX Package Installer
QSI = Quick System Info from menu
The MX Test repository is mostly backports; not the same as Debian testing

User avatar
Magister
Posts: 178
Joined: Thu Apr 25, 2019 4:39 pm

Re: Cannot upgrade kernel because of linux-base

#14 Post by Magister »

It is working now, dependencies have been fixed, thanks :)
HP Mini311 - N270@2GHz - 3/120 - Geforce 9400M - MX21.3
Dell Latitude E5470 - i5-6200U - 8/256 - MX23
Bee-link SER5 - Ryzen 5 5600H - 32/1500 - MX23

Post Reply

Return to “MX Help”