package linux-image-5.15.0-50-generic (not installed) failed to install/upgrade: installed linux-image-5.15.0-50-generic package pre-removal script subprocess returned error exit status 1

Bug #1993004 reported by Sachin Borkar
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

The latest kernel linux-image-5.15.0-50 had broken my nvidia display driver. (Display simply stopped giving any HDMI signals a few seconds after the grub stage.)
I confirmed this by trying to freshly install nvidia drivers on kernel 5.15.0-50 and failed to rectify the problem.
However, kernel 5.15.0-48 booted just fine.
So first I removed all nvidia packages from the system.
Then I removed the troubling kernel (linux-image-5.15.0-50).
Then rebooted the system (it rebooted to black screen and blinking cursor)
Then I logged in on console VT-3.
Then I installed nvidia drivers using ubuntu-drivers install command.
Then I rebooted the system (Booted fine)
Then I was updating the system with sudo apt -y update; sudo apt upgrade.
I was reported that update was available for various nvidia packages.
I typed 'y' to go ahead with the upgrade.
Then I received this error.

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: linux-image-5.15.0-50-generic (not installed)
ProcVersionSignature: Ubuntu 5.15.0-48.54-generic 5.15.53
Uname: Linux 5.15.0-48-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: sachin 1917 F.... pulseaudio
 /dev/snd/controlC2: sachin 1917 F.... pulseaudio
 /dev/snd/controlC0: sachin 1917 F.... pulseaudio
CRDA: N/A
CasperMD5CheckResult: pass
Date: Sat Oct 15 01:09:15 2022
ErrorMessage: installed linux-image-5.15.0-50-generic package pre-removal script subprocess returned error exit status 1
InstallationDate: Installed on 2022-07-30 (76 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
MachineType: Gigabyte Technology Co., Ltd. H81M-S
ProcFB: 0 EFI VGA
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-48-generic root=UUID=cf936706-3ecf-42c2-a4f0-164fbcb7600e ro quiet splash vt.handoff=7
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
Python3Details: /usr/bin/python3.10, Python 3.10.6, python3-minimal, 3.10.6-1~22.04
PythonDetails: N/A
RelatedPackageVersions: grub-pc 2.06-2ubuntu7
SourcePackage: linux
Title: package linux-image-5.15.0-50-generic (not installed) failed to install/upgrade: installed linux-image-5.15.0-50-generic package pre-removal script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/05/2021
dmi.bios.release: 4.6
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: FA
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: H81M-S
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrFA:bd03/05/2021:br4.6:svnGigabyteTechnologyCo.,Ltd.:pnH81M-S:pvrTobefilledbyO.E.M.:rvnGigabyteTechnologyCo.,Ltd.:rnH81M-S:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvrToBeFilledByO.E.M.:skuTobefilledbyO.E.M.:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: H81M-S
dmi.product.sku: To be filled by O.E.M.
dmi.product.version: To be filled by O.E.M.
dmi.sys.vendor: Gigabyte Technology Co., Ltd.

Revision history for this message
Sachin Borkar (sirsachinborkar) wrote :
affects: ubuntu → linux (Ubuntu)
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
tags: removed: need-duplicate-check
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.