[Bug 1509769] Re: package initramfs-tools 0.120ubuntu6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Lepe
1509769 at bugs.launchpad.net
Thu Jun 16 08:38:50 UTC 2016
It happened to me when updating 2 x Raspberry Pi 2B from 14.04 to 15.10.
The solution is to add:
Machine: Raspberry pi 2 Model B
Machine: BCM2709
Kernel-Flavors: rpi2
Boot-Kernel-Path: /boot/firmware/kernel7.img
(source: https://gist.github.com/shawnbon206/b38138874f1d32feb653)
Into: /usr/share/flash-kernel/db/all.db b/rpi2/usr/share/flash-kernel/db/all.db
(requires root permissions)
Then issue:
# flash-kernel
Will print:
> flash-kernel: installing version 3.18.0-25-rpi2
After rebooting, its working fine:
$ uname -a
> Linux ubuntu 3.18.0-25-rpi2 #26-Ubuntu SMP PREEMPT Sun Jul 5 06:46:34 UTC 2015 armv7l armv7l armv7l GNU/Linux
$ cat /etc/lsb-release
> DISTRIB_ID=Ubuntu
> DISTRIB_RELEASE=15.10
> DISTRIB_CODENAME=wily
> DISTRIB_DESCRIPTION="Ubuntu 15.10"
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1509769
Title:
package initramfs-tools 0.120ubuntu6 failed to install/upgrade:
subprocess installed post-installation script returned error exit
status 1
Status in ubuntu-mate:
Invalid
Status in initramfs-tools package in Ubuntu:
Invalid
Bug description:
Error occured during UBUNTU Mate upgrade to 15.10 on Raspberry PI2 and
once trying perform manual update getting:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up initramfs-tools (0.120ubuntu6) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.120ubuntu6) ...
update-initramfs: Generating /boot/initrd.img-3.18.0-25-rpi2
Unsupported platform.
run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 1
dpkg: error processing package initramfs-tools (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 15.10
Package: initramfs-tools 0.120ubuntu6
ProcVersionSignature: Ubuntu 3.18.0-25.26-rpi2 3.18.17
Uname: Linux 3.18.0-25-rpi2 armv7l
ApportVersion: 2.19.1-0ubuntu3
Architecture: armhf
Date: Sun Oct 25 08:19:08 2015
DuplicateSignature: package:initramfs-tools:0.120ubuntu6:subprocess installed post-installation script returned error exit status 1
ErrorMessage: subprocess installed post-installation script returned error exit status 1
PackageArchitecture: all
RelatedPackageVersions:
dpkg 1.18.2ubuntu5
apt 1.0.10.2ubuntu1
SourcePackage: initramfs-tools
Title: package initramfs-tools 0.120ubuntu6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to wily on 2015-10-25 (0 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-mate/+bug/1509769/+subscriptions
More information about the foundations-bugs
mailing list