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
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-
ProcVersionSign
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/
RelatedPackageV
dpkg 1.18.4ubuntu1.3
apt 1.2.24
SourcePackage: initramfs-tools
Title: package linux-image-
UpgradeStatus: No upgrade log present (probably fresh install)
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.