Upgraded server using release upgrade 12.04 to 14.04 failed 127

Bug #1363082 reported by Matt.V
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
console-setup (Ubuntu)
New
Undecided
Unassigned

Bug Description

Upgraded server 10.04 to 12.04 using release upgrade, and then 12.04 to 14.04 which gave this error part way through.

field.title=package+keyboard-configuration+1.70ubuntu5+failed+to+install%2Fupgrade%3A+ErrorMessage%3A+subprocess+installed+post-installation+script+returned+error+exit+status+127

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: keyboard-configuration 1.70ubuntu5
ProcVersionSignature: Ubuntu 2.6.32-316.31-ec2 2.6.32.38+drm33.16
Uname: Linux 2.6.32-316-ec2 x86_64
ApportVersion: 2.14.1-0ubuntu3.3
Architecture: amd64
Date: Fri Aug 29 13:01:51 2014
DuplicateSignature: package:keyboard-configuration:1.70ubuntu5:ErrorMessage: subprocess installed post-installation script returned error exit status 127
Ec2AMI: ami-b6fe27c1
Ec2AMIManifest: (unknown)
Ec2AvailabilityZone: eu-west-1b
Ec2InstanceType: c3.large
Ec2Kernel: aki-4feec43b
Ec2Ramdisk: unavailable
ErrorMessage: ErrorMessage: subprocess installed post-installation script returned error exit status 127
PackageArchitecture: all
SourcePackage: console-setup
Title: package keyboard-configuration 1.70ubuntu5 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 127
UpgradeStatus: Upgraded to trusty on 2014-08-29 (0 days ago)

Revision history for this message
Matt.V (mvording) wrote :
Revision history for this message
Matt.V (mvording) wrote :
Download full text (3.3 KiB)

Re-ran after error, here is the log:

bitnami@ip-10-89-145-42:~/curr_running_new/cardprocessor$ sudo do-release-upgrade -q
bitnami@ip-10-89-145-42:~/curr_running_new/cardprocessor$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  consolekit cvs g++-4.4 hal hal-info lib32bz2-1.0 lib32gcc1 lib32ncurses5
  lib32stdc++6 lib32z1 libeggdbus-1-0 libffi5 libfile-copy-recursive-perl
  libhal-storage1 libhal1 libjpeg62 libkadm5clnt-mit7 libkadm5srv-mit7
  libkdb5-4 liblzma1 libpam-ck-connector libstdc++6-4.4-dev libtasn1-3-dev
  libv4l-0 python-gnupginterface python-gobject python-pexpect python-smartpm
  python-support smartdimmer ssl-cert update-inetd
Use 'apt-get autoremove' to remove them.
The following packages will be upgraded:
  console-setup kbd keyboard-configuration ubuntu-minimal
4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
Need to get 0 B/1,925 kB of archives.
After this operation, 182 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Preconfiguring packages ...
iconv: error while loading shared libraries: libiconv.so.2: cannot open shared object file: No such file or directory
keyboard-configuration failed to preconfigure, with exit status 127
(Reading database ... 96829 files and directories currently installed.)
Preparing to unpack .../keyboard-configuration_1.70ubuntu8_all.deb ...
Unpacking keyboard-configuration (1.70ubuntu8) over (1.70ubuntu5) ...
Preparing to unpack .../console-setup_1.70ubuntu8_all.deb ...
Unpacking console-setup (1.70ubuntu8) over (1.70ubuntu5) ...
Preparing to unpack .../kbd_1.15.5-1ubuntu1_amd64.deb ...
Unpacking kbd (1.15.5-1ubuntu1) over (1.15.2-3ubuntu4) ...
Preparing to unpack .../ubuntu-minimal_1.325_amd64.deb ...
Unpacking ubuntu-minimal (1.325) over (1.267.1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for man-db (2.6.7.1-1) ...
Setting up keyboard-configuration (1.70ubuntu8) ...
iconv: error while loading shared libraries: libiconv.so.2: cannot open shared object file: No such file or directory
dpkg: error processing package keyboard-configuration (--configure):
 subprocess installed post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of console-setup:
 console-setup depends on keyboard-configuration; however:
  Package keyboard-configuration is not configured yet.

dpkg: error processing package console-setup (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of kbd:
 kbd depends on console-setup; however:
  Package console-setup is not configured yet.

dpkg: error processing package kbd (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ubuntu-minimal:
 ubuntu-minimal depends on console-setup; however:
  Package console-setup is not configured yet.
 ubuntu-minimal depends on kbd; however:
  Package kbd is not configured yet.

dpkg: error processing package ubuntu-m...

Read more...

Martin Pitt (pitti)
tags: removed: need-duplicate-check
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.