package linux-image-4.13.0-26-generic 4.13.0-26.29~16.04.2 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1

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

Bug Description

Fully encrypted system with separate encrypted /home partition.

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: linux-image-4.13.0-26-generic 4.13.0-26.29~16.04.2
ProcVersionSignature: Ubuntu 4.10.0-42.46~16.04.1-generic 4.10.17
Uname: Linux 4.10.0-42-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.15
Architecture: amd64
Date: Thu Jan 11 06:08:19 2018
ErrorMessage: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.3
 apt 1.2.24
SourcePackage: initramfs-tools
Title: package linux-image-4.13.0-26-generic 4.13.0-26.29~16.04.2 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
chrbau (christian-baumgartner-d) wrote :
Revision history for this message
chrbau (christian-baumgartner-d) wrote :

Because of that problem I could not only not upgrade the kernel but couldn't install any software at all.

In my case the problem was caused by a missing udev rule in /etc/udev/rules.d/. I created the rule when trying to run a windows installation on a second hd with Virtual Box. Because that didn't come to work, I deleted the rule again. I don't now why but the system was trying to copy this rule during the process of upgrading the kernel. Since I deleted the file, the process of upgrading failed. I tried to find out, where this rule was still linked so that I could remove the link and the system wouldn't want to copy this rule anymore, but I couldn't find out where that was. But restoring the rule did it for me and the system is upgrading fine again.

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 1605941, 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.