package linux-image-5.4.0-99-generic 5.4.0-99.112 failed to install/upgrade

Bug #1960565 reported by Jeff Hamric
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-signed (Ubuntu)
New
Undecided
Unassigned

Bug Description

Running sudo dpkg --configure -a returns the following

Setting up linux-image-5.4.0-99-generic (5.4.0-99.112) ...
Processing triggers for linux-image-5.4.0-99-generic (5.4.0-99.112) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.4.0-99-generic
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found background image: Methane_Rose_B_by_skamradt.jpg
Found linux image: /boot/vmlinuz-5.13.0-28-generic
Found initrd image: /boot/initrd.img-5.13.0-28-generic
Found linux image: /boot/vmlinuz-5.13.0-27-generic
Found initrd image: /boot/initrd.img-5.13.0-27-generic
Found linux image: /boot/vmlinuz-5.4.0-99-generic
Found initrd image: /boot/initrd.img-5.4.0-99-generic
/etc/grub.d/30_os-prober: 39: Syntax error: "fi" unexpected (expecting "then")
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 2
dpkg: error processing package linux-image-5.4.0-99-generic (--configure):
 installed linux-image-5.4.0-99-generic package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 linux-image-5.4.0-99-generic

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: linux-image-5.4.0-99-generic 5.4.0-99.112
ProcVersionSignature: Ubuntu 5.13.0-28.31~20.04.1-generic 5.13.19
Uname: Linux 5.13.0-28-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.21
AptOrdering:
 linux-generic-hwe-18.04:amd64: Install
 linux-libc-dev:amd64: Install
 NULL: ConfigurePending
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: jeff 12206 F.... pulseaudio
 /dev/snd/pcmC1D0p: jeff 12206 F...m pulseaudio
 /dev/snd/controlC0: jeff 12206 F.... pulseaudio
CasperMD5CheckResult: skip
Date: Mon Feb 7 14:01:26 2022
DpkgHistoryLog:
 Start-Date: 2022-02-07 14:00:51
 Requested-By: jeff (1000)
 Upgrade: linux-libc-dev:amd64 (5.4.0-97.110, 5.4.0-99.112), linux-generic-hwe-18.04:amd64 (5.4.0.97.101, 5.4.0.99.103)
ErrorMessage: installed linux-image-5.4.0-99-generic package post-installation script subprocess returned error exit status 1
MachineType: Dell Inc. Inspiron 5575
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.13.0-28-generic root=UUID=b91e31b8-e61f-4428-afa9-5ff99f9abadc ro quiet splash idle=nomwait acpi_backlight=vendor
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
Python3Details: /usr/bin/python3.8, Python 3.8.10, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: /usr/bin/python3.8, Python 3.8.10, python-is-python3, 3.8.2-4
RelatedPackageVersions: grub-pc N/A
SourcePackage: linux-signed
Title: package linux-image-5.4.0-99-generic 5.4.0-99.112 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 2
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 10/31/2019
dmi.bios.release: 5.3
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.3.3
dmi.board.asset.tag: not specified
dmi.board.name: 0M0Y6P
dmi.board.vendor: Dell Inc.
dmi.board.version: X01
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: 1.3.3
dmi.modalias: dmi:bvnDellInc.:bvr1.3.3:bd10/31/2019:br5.3:svnDellInc.:pnInspiron5575:pvr1.3.3:rvnDellInc.:rn0M0Y6P:rvrX01:cvnDellInc.:ct10:cvr1.3.3:sku0812:
dmi.product.family: Inspiron
dmi.product.name: Inspiron 5575
dmi.product.sku: 0812
dmi.product.version: 1.3.3
dmi.sys.vendor: Dell Inc.

Revision history for this message
Jeff Hamric (jhamric) wrote :
Revision history for this message
Jeff Hamric (jhamric) wrote :

I found 30_os_prober.bak in /etc/grub.d. I compared the two & deleted 30_os_prober & rennaming 30_os_prober.bak. Installation then proceeded.

Mark as solved.

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.