errors processing kernel update to 5.15.0-60...SOLVED
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-
kernel update to 5.15.0-60 did not install properly on a fresh install
errors above
cat /proc/version_
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/
CasperMD5CheckR
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=
|__ 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.
NonfreeKernelMo
Package: linux (not installed)
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 20220329.
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.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
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.
dmi.sys.vendor: To Be Filled By O.E.M.
te@te-desktop:~$ sudo apt install apport archive. ubuntu. com/ubuntu jammy-updates/main amd64 apport all 2.20.11-0ubuntu82.3 [133 kB] archive. ubuntu. com/ubuntu jammy/main amd64 apport-symptoms all 0.24 [13.5 kB] 2.20.11- 0ubuntu82. 3_all.deb ... 0ubuntu82. 3) ... symptoms_ 0.24_all. deb ... 0ubuntu82. 3) ... system/ paths.target. wants/apport- autoreport. path → system/ apport- autoreport. path. system/ timers. target. wants/apport- autoreport. timer system/ apport- autoreport. timer. system/ sockets. target. wants/apport- forward. socket → system/ apport- forward. socket. autoreport. service is a disabled or a static unit, not starting it. grub.d/ 50_linuxmint. cfg' grub-mkconfig: 22: /etc/default/ grub.d/ 50_linuxmint. cfg: GRUB: not fou 5.15.0- 60-generic (5.15.0-60.66) ... 5.15.0- 60-generic (5.15.0-60.66) ... postinst. d/dkms: postinst. d/initramfs- tools: img-5.15. 0-60-generic postinst. d/zz-update- grub: grub.d/ 50_linuxmint. cfg' grub-mkconfig: 22: /etc/default/ grub.d/ 50_linuxmint. cfg: GRUB: not fou postinst. d/zz-update- grub exited with return code 127 5.15.0- 60-generic (--configure): 5.15.0- 60-generic package post-installation script subpro
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://
Get:2 http://
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_
Unpacking apport (2.20.11-
Selecting previously unselected package apport-symptoms.
Preparing to unpack .../apport-
Unpacking apport-symptoms (0.24) ...
Setting up apport-symptoms (0.24) ...
Setting up apport (2.20.11-
Created symlink /etc/systemd/
/lib/systemd/
Created symlink /etc/systemd/
→ /lib/systemd/
Created symlink /etc/systemd/
/lib/systemd/
apport-
Setting up grub-pc (2.06-2ubuntu7.1) ...
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/
/usr/sbin/
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-
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for linux-image-
/etc/kernel/
* dkms: running auto installation service for kernel 5.15.0-60-generic
...done.
/etc/kernel/
update-initramfs: Generating /boot/initrd.
/etc/kernel/
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/
/usr/sbin/
nd
run-parts: /etc/kernel/
dpkg: error processing package linux-image-
installed linux-image-
cess returned error exit status 1
Errors were en...