errors processing kernel update to 5.15.0-60...SOLVED

Bug #2006774 reported by Te Hand
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

E: grub-pc: installed grub-pc package post-installation script subprocess returned error exit status 127
E: linux-image-5.15.0-60-generic: installed linux-image-5.15.0-60-generic package post-installation script subprocess returned error exit status 1

kernel update to 5.15.0-60 did not install properly on a fresh install

errors above

cat /proc/version_signature > version.log ....no output

 sudo lspci -vnvn > lspci-vnvn.log .....
te@te-desktop:~$ sudo lspci -vnvn > lspci-vnvn.log
[sudo] password for te:
pcilib: sysfs_read_vpd: read failed: No such device
te@te-desktop:~$

LM21.1 (Cinnamon)

I expected a smooth install of the updated kernel
I got errors
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu82.3
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: te 877 F.... pulseaudio
CasperMD5CheckResult: unknown
CurrentDesktop: X-Cinnamon
DistroRelease: Linux Mint 21.1
InstallationDate: Installed on 2023-02-04 (5 days ago)
InstallationMedia: Linux Mint 21.1 "Vera" - Release amd64 20221217
IwConfig:
 lo no wireless extensions.

 enp2s0 no wireless extensions.
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 006: ID 05d5:0624 Super Gate Technology Co., Ltd Multimedia keyboard
 Bus 001 Device 007: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Lsusb-t:
 /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
 /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/10p, 480M
     |__ Port 9: Dev 6, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
     |__ Port 9: Dev 6, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
     |__ Port 10: Dev 7, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
Package: linux (not installed)
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-58-generic root=UUID=b2221151-c528-47d4-984a-56c507a6d0d9 ro quiet splash
ProcVersionSignature: Ubuntu 5.15.0-58.64-generic 5.15.74
RelatedPackageVersions:
 linux-restricted-modules-5.15.0-58-generic N/A
 linux-backports-modules-5.15.0-58-generic N/A
 linux-firmware 20220329.git681281e4-0ubuntu3.9
RfKill:

Tags: vera
Uname: Linux 5.15.0-58-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 01/25/2016
dmi.bios.release: 5.11
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: P1.40
dmi.board.name: H110M-DGS
dmi.board.vendor: ASRock
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP1.40:bd01/25/2016:br5.11:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnH110M-DGS:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:skuToBeFilledByO.E.M.:
dmi.product.family: To Be Filled By O.E.M.
dmi.product.name: To Be Filled By O.E.M.
dmi.product.sku: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.

Revision history for this message
Te Hand (condogirl) wrote :
Download full text (3.2 KiB)

te@te-desktop:~$ sudo apt install apport
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  apport-symptoms
Suggested packages:
  apport-gtk | apport-kde
The following packages will be REMOVED:
  systemd-coredump
The following NEW packages will be installed:
  apport apport-symptoms
0 to upgrade, 2 to newly install, 1 to remove and 1 not to upgrade.
2 not fully installed or removed.
Need to get 146 kB of archives.
After this operation, 549 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 apport all 2.20.11-0ubuntu82.3 [133 kB]
Get:2 http://archive.ubuntu.com/ubuntu jammy/main amd64 apport-symptoms all 0.24 [13.5 kB]
Fetched 146 kB in 2s (69.5 kB/s)
(Reading database ... 612579 files and directories currently installed.)
Removing systemd-coredump (249.11-0ubuntu3.6) ...
Selecting previously unselected package apport.
(Reading database ... 612561 files and directories currently installed.)
Preparing to unpack .../apport_2.20.11-0ubuntu82.3_all.deb ...
Unpacking apport (2.20.11-0ubuntu82.3) ...
Selecting previously unselected package apport-symptoms.
Preparing to unpack .../apport-symptoms_0.24_all.deb ...
Unpacking apport-symptoms (0.24) ...
Setting up apport-symptoms (0.24) ...
Setting up apport (2.20.11-0ubuntu82.3) ...
Created symlink /etc/systemd/system/paths.target.wants/apport-autoreport.path →
/lib/systemd/system/apport-autoreport.path.
Created symlink /etc/systemd/system/timers.target.wants/apport-autoreport.timer
→ /lib/systemd/system/apport-autoreport.timer.
Created symlink /etc/systemd/system/sockets.target.wants/apport-forward.socket →
 /lib/systemd/system/apport-forward.socket.
apport-autoreport.service is a disabled or a static unit, not starting it.
Setting up grub-pc (2.06-2ubuntu7.1) ...
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
/usr/sbin/grub-mkconfig: 22: /etc/default/grub.d/50_linuxmint.cfg: GRUB: not fou
nd
dpkg: error processing package grub-pc (--configure):
 installed grub-pc package post-installation script subprocess returned error ex
it status 127
Setting up linux-image-5.15.0-60-generic (5.15.0-60.66) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for linux-image-5.15.0-60-generic (5.15.0-60.66) ...
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 5.15.0-60-generic
   ...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.15.0-60-generic
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
/usr/sbin/grub-mkconfig: 22: /etc/default/grub.d/50_linuxmint.cfg: GRUB: not fou
nd
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 127
dpkg: error processing package linux-image-5.15.0-60-generic (--configure):
 installed linux-image-5.15.0-60-generic package post-installation script subpro
cess returned error exit status 1
Errors were en...

Read more...

Revision history for this message
Te Hand (condogirl) wrote :
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 2006774

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Te Hand (condogirl) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected vera
description: updated
Revision history for this message
Te Hand (condogirl) wrote : CRDA.txt

apport information

Revision history for this message
Te Hand (condogirl) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Te Hand (condogirl) wrote : Lspci.txt

apport information

Revision history for this message
Te Hand (condogirl) wrote : Lspci-vt.txt

apport information

Revision history for this message
Te Hand (condogirl) wrote : Lsusb-v.txt

apport information

Revision history for this message
Te Hand (condogirl) wrote : PaInfo.txt

apport information

Revision history for this message
Te Hand (condogirl) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Te Hand (condogirl) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Te Hand (condogirl) wrote : ProcEnviron.txt

apport information

Revision history for this message
Te Hand (condogirl) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Te Hand (condogirl) wrote : ProcModules.txt

apport information

Revision history for this message
Te Hand (condogirl) wrote : PulseList.txt

apport information

Revision history for this message
Te Hand (condogirl) wrote : UdevDb.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Te Hand (condogirl) wrote : Re: errors processing kernel update to 5.15.0-60

Solved.

I noted that in my various ... sudo update-grub attempts, there was continous mention of grub not being able to be found etc

So, i copied and pasted the grub conditions from a known good pc with the same OS and version to this pc with the problem,,,,,,and low and behold, all is good again !!!!!

Theb resultof running update-grub now looks like:

te@te-desktop:~$ sudo update-grub
[sudo] password for te:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.15.0-60-generic
Found initrd image: /boot/initrd.img-5.15.0-60-generic
Found linux image: /boot/vmlinuz-5.15.0-58-generic
Found initrd image: /boot/initrd.img-5.15.0-58-generic
Found linux image: /boot/vmlinuz-5.15.0-56-generic
Found initrd image: /boot/initrd.img-5.15.0-56-generic
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Adding boot menu entry for UEFI Firmware Settings ...
done
te@te-desktop:~$

It survives reboots and complete shutdowns.

summary: - errors processing kernel update to 5.15.0-60
+ errors processing kernel update to 5.15.0-60...SOLVED
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.