package linux-image-6.2.0-32-generic 6.2.0-32.32~22.04.1 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 2

Bug #2034065 reported by Shahin Gherekhlar
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
New
Undecided
Unassigned

Bug Description

hello and thanks for developing Linux and Ubuntu.
i was updating and upgrading packages as always i do.
sudo apt update && sudo apt upgrade and after some downloads and ...
in 96% progress i got issue and progress didn't go done.

i'm new in linux ubuntu and i decided to don't change anything manually.
it's good to help me figure out.
thanks again.

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: linux-image-6.2.0-32-generic 6.2.0-32.32~22.04.1
ProcVersionSignature: Ubuntu 6.2.0-31.31~22.04.1-generic 6.2.15
Uname: Linux 6.2.0-31-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
Date: Mon Sep 4 20:33:34 2023
ErrorMessage: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 2
InstallationDate: Installed on 2023-08-18 (16 days ago)
InstallationMedia: Ubuntu 22.04.3 LTS "Jammy Jellyfish" - Release amd64 (20230807.2)
Python3Details: /usr/bin/python3.10, Python 3.10.12, python3-minimal, 3.10.6-1~22.04
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.21.1ubuntu2.2
 apt 2.4.10
SourcePackage: initramfs-tools
Title: package linux-image-6.2.0-32-generic 6.2.0-32.32~22.04.1 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 2
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Shahin Gherekhlar (crashofs) wrote :
Revision history for this message
Benjamin Drung (bdrung) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The relevant dpkg terminal log says:

update-initramfs: Generating /boot/initrd.img-6.2.0-32-generic
/usr/share/initramfs-tools/hooks/console_setup: 17: /etc/default/console-setup: Syntax error: Unterminated quoted string
E: /usr/share/initramfs-tools/hooks/console_setup failed with return 2.

Can you check the content of /etc/default/console-setup (on line 17)?

affects: initramfs-tools (Ubuntu) → console-setup (Ubuntu)
Steve Langasek (vorlon)
affects: console-setup (Ubuntu) → initramfs-tools (Ubuntu)
Revision history for this message
Benjamin Drung (bdrung) wrote :

Steve, why did you reassign the bug to initramfs-tools? The failing initramfs-tools hook /usr/share/initramfs-tools/hooks/console_setup is shipped by keyboard-configuration (source: console-setup).

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.