package initramfs-tools 0.120ubuntu6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Ubuntu MATE |
Undecided
|
Unassigned | ||
| initramfs-tools (Ubuntu) |
High
|
Unassigned |
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.
Unsupported platform.
run-parts: /etc/initramfs/
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
ProcVersionSign
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:
ErrorMessage: subprocess installed post-installation script returned error exit status 1
PackageArchitec
RelatedPackageV
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)
Hipek (hipek) wrote : | #1 |
tags: | removed: need-duplicate-check |
Tom (tdavis-73) wrote : | #2 |
Tom (tdavis-73) wrote : | #3 |
david cawsey (davidcawsey) wrote : | #4 |
In case it's relevant, my installation is on a usb stick, not on sd card (ecept for the boot)
Launchpad Janitor (janitor) wrote : | #5 |
Status changed to 'Confirmed' because the bug affects multiple users.
Changed in initramfs-tools (Ubuntu): | |
status: | New → Confirmed |
KevinKK5 (kk93) wrote : | #6 |
I had the same problem yesterday when i tried to upgrade my Pi2 from 15.04 to 15.10.
My installation is quite standard on a sd-card. i have an usb-stick only for swap and /tmp.
Yannick NGHIEM-XUAN (tnxgalaxy) wrote : | #7 |
I have hit the same issue too, trying to upgrade a raspberry pi 2 from 15.04 to 15.10 (standard install).
Changed in initramfs-tools (Ubuntu): | |
importance: | Undecided → High |
hackeron (hackeron) wrote : | #8 |
Any temporary solution in the mean time?
João Loureiro (joaofl) wrote : | #9 |
Same happened to me.
RaphaëlPLE (raphael-ple) wrote : | #10 |
I have the same issue.
Michael Wray (maillists-hecomm) wrote : | #11 |
I'm on Ubuntu Gnome on an Asus Transformer TP500L. This package was included automatically when adding fs support to edit rom images. However, installer itself did not flag an error, the system did after installer finished. (Synaptic)
gearhead_42 (dwarner-b) wrote : | #12 |
Issue has occurred twice now during software update. Running Mate on a Raspberry Pi2.
redpanda.tac (redpanda-tac) wrote : | #13 |
Experiencing the same issue using the software updater to upgrade to 15.10 on my Raspberry Pi 2. The issue is reproducible after restoring a backed up image of Mate 15.04.
hackeron (hackeron) wrote : | #14 |
Any workaround?
Oscar (garciave) wrote : Re: [Bug 1509769] Re: package initramfs-tools 0.120ubuntu6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 | #15 |
Not really, I ended up reinstalling the OS.
Regards
------ Original Message ------
From: "hackeron" <email address hidden>
To: "<email address hidden>" <email address hidden>
Sent: 1/19/2016 7:44:42 AM
Subject: [Bug 1509769] Re: package initramfs-tools 0.120ubuntu6 failed
to install/upgrade: subprocess installed post-installation script
returned error exit status 1
>Any workaround?
>
>--
>You received this bug notification because you are subscribed to the
>bug
>report.
>https:/
>
>Title:
> package initramfs-tools 0.120ubuntu6 failed to install/upgrade:
> subprocess installed post-installation script returned error exit
> status 1
>
>Status in ubuntu-mate:
> New
>Status in initramfs-tools package in Ubuntu:
> Confirmed
>
>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.
> Unsupported platform.
> run-parts: /etc/initramfs/
>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
> ProcVersionSign
> 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:
>installed post-installation script returned error exit status 1
> ErrorMessage: subprocess installed post-installation script returned
>error exit status 1
> PackageArchitec
> RelatedPackageV
> 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:/
Martin Wimpress (flexiondotorg) wrote : | #16 |
The Pi 2 build of UBuntu MATE is not supported by Canonical. It is a community supported build. It currently uses the Linux kernel provided by the Raspberry Pi foundation, which is provided as a binary only.
Please raise this discussion over at the Ubuntu MATE community.
Changed in initramfs-tools (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in ubuntu-mate: | |
status: | New → Invalid |
Adam Toth (adamt) wrote : | #17 |
Seems to be caused by the custom boot loader I'm using, it unpacked the files into a subdirectory in the pen drive.
During configuration of the initramfs-tools I get the error "cp: cannot create regular file ‘/cdrom/
Karl Foley (u-karl) wrote : | #18 |
Found a work around here:
https:/
Added 'exit 0' as second line in /etc/initramfs/
Chris Nadovich (m-ubultu-o) wrote : | #19 |
I have this problem with a pretty vanilla install of 15.10 on an Intel NUC. NUC5i7RYB, BIOS RYBDWi35.
0.1011 11/30/2015
Karl Foley (u-karl) wrote : | #20 |
Forgot to mention that I also updated the vmlinuz and initrd.img links by hand in /boot to point to the 3.18.0-25 versions.
Armando (armandorojasj) wrote : | #21 |
it happened to me on ubuntu 16.04 and on ubuntu 15.10.
Lepe (alepe-com) wrote : | #22 |
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/
(source: https:/
Into: /usr/share/
(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_
> DISTRIB_
> DISTRIB_
Lepe (alepe-com) wrote : | #23 |
There was a mistake in my last post, the path should be:
/usr/share/
Also happened to me when attempting to upgrade from ubuntu mate 12.04 to 12.10 for Raspberry Pi2. Tried also to install 12.10 image to formatted micro sd (twice) but upon first booting, could not get any image on monitor. Went back to fresh image of 12.04 and tried upgrading to 12.10 again and that failed with same error as has already been report. Not clear on how to recover or whether I need to return to 12.04 until a fix is found.