package linux-image-4.15.0-44-generic (not installed) failed to install/upgrade: run-parts: /etc/kernel/postrm.d/x-grub-legacy-ec2 exited with return code 128
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
debconf (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
grub-legacy-ec2 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I applied an system update and was presented with this error after the next login.
ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: linux-image-
ProcVersionSign
Uname: Linux 4.15.0-45-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
Date: Thu Feb 14 00:00:24 2019
ErrorMessage: run-parts: /etc/kernel/
IwConfig:
eth0 no wireless extensions.
lo no wireless extensions.
Lspci:
Lsusb: Error: command ['lsusb'] failed with exit code 1:
MachineType: Microsoft Corporation Virtual Machine
ProcFB: 0 hyperv_fb
ProcKernelCmdLine: BOOT_IMAGE=
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.7, python3-minimal, 3.6.7-1~18.04
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageV
dpkg 1.19.0.5ubuntu2.1
apt 1.6.8
RfKill:
SourcePackage: grub-legacy-ec2
Title: package linux-image-
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/26/2012
dmi.bios.vendor: Microsoft Corporation
dmi.bios.version: Hyper-V UEFI Release v1.0
dmi.board.
dmi.board.name: Virtual Machine
dmi.board.vendor: Microsoft Corporation
dmi.board.version: Hyper-V UEFI Release v1.0
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Microsoft Corporation
dmi.chassis.
dmi.modalias: dmi:bvnMicrosof
dmi.product.family: Virtual Machine
dmi.product.name: Virtual Machine
dmi.product.
dmi.sys.vendor: Microsoft Corporation
tags: | removed: need-duplicate-check |
Changed in grub-legacy-ec2 (Ubuntu): | |
status: | Incomplete → In Progress |
status: | In Progress → Confirmed |
Hi John,
the report has a lot of red herrings (all the error device is in use), but IMHO in the log the error that you hit was.
Use of uninitialized value $reply in scalar chomp at /usr/share/ perl5/Debconf/ FrontEnd/ Passthrough. pm line 66
That is a known and unfortunate issue, as it occurs every now and then and sometimes is fixed but seems to come back - often with hard to analyze (and thereby hard to identify and fix) root causes.
It all seems like bug 1646739 to me, but since that was fixed in bug 1679435 it must be a new trigger for the same symptom.
In any case it is in debconf, so I add a bug task - but I also set it to incomplete as we'd need more information why/how it was triggered for you.
The only good side for now, usually it is a one off error that does work fine when retrying.