User avatar
_emanuel_
Posts: 17
Joined: Wed Apr 01, 2015 9:47 pm
Location: bavaria
Contact: Website

[Workaround] Ubuntu mate distri upgrade to wily failed

Fri Oct 30, 2015 2:23 pm

As my mate, alert me system upgrade, I could not resist.
It brings me to:
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)
"/etc/initramfs/post-update.d//flash-kernel"
Someone want's to flash my rasp, there is no nand...? :D
but new "wily" source lists has been added... :roll:

ugly solution to fix that:

Code: Select all

sudo nano /etc/initramfs/post-update.d/flash-kernel
>> add a "exit 0" as second line
Ctrl o, Ctrl x

Code: Select all

sudo apt-get update && sudo apt-get upgrade
shows up all the holded back packages
install all by hand:

Code: Select all

sudo apt-get install <list of shown packages>

Code: Select all

sudo passwd root
enter 2 times and get in memory
reboot
now I had to setup sudo for my user login new! and reboot. thank's god I added root passwd!

Code: Select all

su
enter root passwd

Code: Select all

adduser <username> sudo
reboot
go to: setting->Ibus-settings and choos your language
confirm install of missing packages
set "keyboard" to "ibus", set system default
reboot
enjoy mate sending all the bugreports :mrgreen:

(mate + LX desktop)

same issues as show in this https://bugs.launchpad.net/ubuntu/+sour ... ug/1509769

Return to “Other”