package linux-image-5.11.0-25-generic 5.11.0-25.27~20.04.1 failed to install/upgrade: installed linux-image-5.11.0-25-generic package post-installation script subprocess returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-signed-hwe-5.11 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
This issue appeared while VirtualBox kernel modules were being compiled for installation of the newest Guest Additions
ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: linux-image-
ProcVersionSign
Uname: Linux 5.8.0-63-generic x86_64
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
Date: Mon Aug 9 13:57:45 2021
ErrorMessage: installed linux-image-
InstallationDate: Installed on 2021-02-13 (177 days ago)
InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
Python3Details: /usr/bin/python3.8, Python 3.8.10, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageV
dpkg 1.19.7ubuntu3
apt 2.0.6
SourcePackage: linux-signed-
Title: package linux-image-
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
Hello Evgueni,
The HWE kernel in Focal Fossa 20.04 has recently been updated from 5.8 to 5.11. Reading the logs attached, it seems your system is trying to install the new 5.11 kernel packages and is failing at this stage:
Processing triggers for linux-image- 5.11.0- 25-generic (5.11.0- 25.27~20. 04.1) ... postinst. d/initramfs- tools: img-5.11. 0-25-generic postinst. d/vboxadd: No such file or directory
/etc/kernel/
update-initramfs: Generating /boot/initrd.
run-parts: failed to stat component /etc/kernel/
The file '/etc/kernel/ postinst. d/vboxadd' was likely supposed to be installed by Virtualbox Guest Additions but it's either empty or not present. You mentioned that you are trying to install the newest Virtualbox Guest Additions. Was a previous version already installed before? If yes, could you try removing it and installing again?