package linux-image-6.2.0-36-generic 6.2.0-36.37~22.04.1 failed to install/upgrade: installed linux-image-6.2.0-36-generic package pre-removal script subprocess returned error exit status 1

Bug #2044165 reported by MrSurly
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-signed-hwe-6.2 (Ubuntu)
New
Undecided
Unassigned

Bug Description

While updating my system, had a window pop up stating it was a bug, and sent me to this page.

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: linux-image-6.2.0-36-generic 6.2.0-36.37~22.04.1
ProcVersionSignature: Ubuntu 6.2.0-37.38~22.04.1-generic 6.2.16
Uname: Linux 6.2.0-37-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Tue Nov 21 09:05:42 2023
ErrorMessage: installed linux-image-6.2.0-36-generic package pre-removal script subprocess returned error exit status 1
InstallationDate: Installed on 2020-08-25 (1182 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
Python3Details: /usr/bin/python3.10, Python 3.10.12, python3-minimal, 3.10.6-1~22.04
PythonDetails: /usr/bin/python3.10, Python 3.10.12, unpackaged
RelatedPackageVersions:
 dpkg 1.21.1ubuntu2.2
 apt 2.4.11
SourcePackage: linux-signed-hwe-6.2
Title: package linux-image-6.2.0-36-generic 6.2.0-36.37~22.04.1 failed to install/upgrade: installed linux-image-6.2.0-36-generic package pre-removal script subprocess returned error exit status 1
UpgradeStatus: Upgraded to jammy on 2022-12-15 (341 days ago)

Revision history for this message
MrSurly (y-ubuntu-com) wrote :
Revision history for this message
Juerg Haefliger (juergh) wrote :

Hm. It wanted to remove the running kernel. Were you asked if you want to do that?

Revision history for this message
Juerg Haefliger (juergh) wrote :

Aborting removal of the running kernel
error processing package linux-image-6.2.0-36-generic (--remove):
installed linux-image-6.2.0-36-generic package pre-removal script subprocess returned error exit status 1
too many errors, stopping

Revision history for this message
MrSurly (y-ubuntu-com) wrote :

Actually, I was removing "old" kernels before rebooting, via CLI. I aborted that after it warned me. Later, the "problem occured" GUI popup appeared, which resulted in this report; I didn't connect the dots until now.

It's probably safe to simply close this as "operator error".

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.