package linux-image-4.15.0-30-generic 4.15.0-30.32 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 2

Bug #1785791 reported by Felipe Huerta
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Triaged
Undecided
Unassigned

Bug Description

After a failed attempt to start the Ubuntu by a graphics card crash, I was able to start but get this message. The video card is an Nvidia GT 770

ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: linux-image-4.15.0-30-generic 4.15.0-30.32
ProcVersionSignature: Ubuntu 4.15.0-29.31-generic 4.15.18
Uname: Linux 4.15.0-29-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: gdm 1447 F.... pulseaudio
                      felipe 1821 F.... pulseaudio
 /dev/snd/controlC0: gdm 1447 F.... pulseaudio
                      felipe 1821 F.... pulseaudio
Date: Tue Aug 7 10:48:52 2018
Df:

Dmesg:

ErrorMessage: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 2
InstallationDate: Installed on 2018-06-19 (48 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
IwConfig:
 lo no wireless extensions.

 eno1 no wireless extensions.
MachineType: HP HP EliteDesk 800 G3 TWR
ProcFB:
 0 EFI VGA
 1 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-29-generic root=UUID=211acaa7-fa25-45f9-a3d2-5e6335bea30d ro quiet splash vt.handoff=1
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3ubuntu1
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageVersions: grub-pc N/A
RfKill:

SourcePackage: initramfs-tools
Title: package linux-image-4.15.0-30-generic 4.15.0-30.32 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)
dmi.bios.date: 06/09/2017
dmi.bios.vendor: HP
dmi.bios.version: P01 Ver. 02.06
dmi.board.name: 8298
dmi.board.vendor: HP
dmi.board.version: KBC Version 06.15
dmi.chassis.type: 3
dmi.chassis.vendor: HP
dmi.modalias: dmi:bvnHP:bvrP01Ver.02.06:bd06/09/2017:svnHP:pnHPEliteDesk800G3TWR:pvr:rvnHP:rn8298:rvrKBCVersion06.15:cvnHP:ct3:cvr:
dmi.product.family: 103C_53307F HP EliteDesk
dmi.product.name: HP EliteDesk 800 G3 TWR
dmi.sys.vendor: HP

Revision history for this message
Felipe Huerta (fah16) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Matti Koskinen (mttk) wrote :

my dpkg is stuck on the same or related problem. Sorry my clumsiness, never posted anything here before. In the attachment are infos of what I think is relevant. Hope you can get some info out of it.

-m

Revision history for this message
Matti Koskinen (mttk) wrote :

sorry, these I forgot

GS73VR-7RF:~/devel/pyserv$ cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04.1 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.1 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

-GS73VR-7RF:~/devel/pyserv$ uname -a
Linux xxxxxx-GS73VR-7RF 4.15.0-29-generic #31-Ubuntu SMP Tue Jul 17 15:39:52 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in initramfs-tools (Ubuntu):
status: New → Confirmed
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Processing triggers for linux-image-4.15.0-30-generic (4.15.0-30.32) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.15.0-30-generic
/usr/sbin/mkinitramfs: 165: /usr/sbin/mkinitramfs: Cannot fork
/usr/sbin/mkinitramfs: 65: /usr/sbin/mkinitramfs: Cannot fork
/usr/sbin/mkinitramfs: 181: /usr/sbin/mkinitramfs: Cannot fork
/usr/sbin/update-initramfs: 165: /usr/sbin/update-initramfs: Cannot fork
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 2
dpkg: error processing package linux-image-4.15.0-30-generic (--configure):
 installed linux-image-4.15.0-30-generic package post-installation script subprocess returned error exit status 1

Changed in initramfs-tools (Ubuntu):
status: Confirmed → Triaged
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. This particular bug has already been reported and is a duplicate of bug 1568071, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

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.