← Back to team overview

touch-packages team mailing list archive

[Bug 1287946] Re: package dictionaries-common 1.20.5 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 255

 

Please forgive me or gently redirect me if I'm not observing proper
Ubuntu 1 etiquette. Anyways, instead of reporting another bug, I
searched and found this one. My feeling is my comment is not a worthless
"me too" and could help root cause the issue.


Summary:

1. My issue differs in that I upgraded from LTS 12.

2. Also adding additional error messages.  Other packages failed but I
my approach was to focus on the dictionaries-common since that seem
cause the most headache when logging into my desktop.


Ubuntu is a VM inside VMware Fusion 5.0.5. I took a VM snapshot before upgrading to LTS 14 so I can rollback if I did something wrong. Desktop graphics seems a "little janky" compared to LTS 12 (don't know how to describe without huge paragraphs) in Komodo and Chrome so I am going to approach LTS 14 with caution, not make many system changes and rollback if I have further problems.

Thank you Ubuntu for your work you've done to make Linux easier to use.


Details:

Upgraded from LTS 12 to 14 via command line:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

sudo do-release-upgrade


On the upgrade, everything seemed good until the end when packages for
dictionaries and spelling failed to install.

Error message from install dialog is below.

// Begin error message

Errors were encountered while processing:
 dictionaries-common
 aspell
 aspell-en
 myspell-en-za
 myspell-en-gb
 myspell-en-au
 hyphen-en-us
 mythes-en-us
 openoffice.org-hyphenation
Error in function: 


A fatal error occurred 

Please report this as a bug and include the files 
/var/log/dist-upgrade/main.log and /var/log/dist-upgrade/apt.log in 
your report. The upgrade has aborted. 
Your original sources.list was saved in 
/etc/apt/sources.list.distUpgrade. 

SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1)


Could not install the upgrades

The upgrade has aborted. Your system could be in an unusable state. A 
recovery will run now (dpkg --configure -a). 

Setting up dictionaries-common (1.20.5) ...
update-default-wordlist: Question empty but elements installed for class "wordlist"
  dictionaries-common/default-wordlist: return code: "0", value: ""
  Choices: , Manual symlink setting
  shared/packages-wordlist: return code: "10" owners/error: "shared/packages-wordlist doesn't exist"
  Installed elements: american (American English), british (British English)

  Please see "/usr/share/doc/dictionaries-common/README.problems", section
  "Debconf database corruption" for recovery info.

update-default-wordlist: Selected wordlist "" 
does not correspond to any installed package in the system
and no alternative wordlist could be selected.
dpkg: error processing package dictionaries-common (--configure):
 subprocess installed post-installation script returned error exit status 255
dpkg: dependency problems prevent configuration of myspell-en-za:
 myspell-en-za depends on dictionaries-common (>= 0.10) | openoffice.org-updatedicts; however:
  Package dictionaries-common is not configured yet.
  Package openoffice.org-updatedicts is not installed.
  Package dictionaries-common which provides openoffice.org-updatedicts is not configured yet.

dpkg: error processing package myspell-en-za (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of openoffice.org-hyphenation:
 openoffice.org-hyphenation depends on dictionaries-common (>= 0.10) | openoffice.org-updatedicts; however:
  Package dictionaries-common is not configured yet.
  Package openoffice.org-updatedicts is not installed.
  Package dictionaries-common which provides openoffice.org-updatedicts is not configured yet.

dpkg: error processing package openoffice.org-hyphenation (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of aspell:
 aspell depends on dictionaries-common (>> 0.40); however:
  Package dictionaries-common is not configured yet.

dpkg: error processing package aspell (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of myspell-en-au:
 myspell-en-au depends on dictionaries-common (>= 1.0); however:
  Package dictionaries-common is not configured yet.

dpkg: error processing package myspell-en-au (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of hyphen-en-us:
 hyphen-en-us depends on dictionaries-common (>= 0.10) | openoffice.org-updatedicts; however:
  Package dictionaries-common is not configured yet.
  Package openoffice.org-updatedicts is not installed.
  Package dictionaries-common which provides openoffice.org-updatedicts is not configured yet.

dpkg: error processing package hyphen-en-us (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of myspell-en-gb:
 myspell-en-gb depends on dictionaries-common (>= 0.10) | openoffice.org-updatedicts; however:
  Package dictionaries-common is not configured yet.
  Package openoffice.org-updatedicts is not installed.
  Package dictionaries-common which provides openoffice.org-updatedicts is not configured yet.

dpkg: error processing package myspell-en-gb (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of aspell-en:
 aspell-en depends on aspell (>= 0.60.3-2); however:
  Package aspell is not configured yet.
 aspell-en depends on dictionaries-common (>= 0.49.2); however:
  Package dictionaries-common is not configured yet.

dpkg: error processing package aspell-en (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of mythes-en-us:
 mythes-en-us depends on dictionaries-common (>= 0.10) | openoffice.org-updatedicts; however:
  Package dictionaries-common is not configured yet.
  Package openoffice.org-updatedicts is not installed.
  Package dictionaries-common which provides openoffice.org-updatedicts is not configured yet.

dpkg: error processing package mythes-en-us (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 dictionaries-common
 myspell-en-za
 openoffice.org-hyphenation
 aspell
 myspell-en-au
 hyphen-en-us
 myspell-en-gb
 aspell-en
 mythes-en-us

Upgrade complete

The upgrade has completed but there were errors during the upgrade 
process. 

To continue please press [ENTER]


// End error message


After recommended restart and logging into Desktop, I was greeted with 3
error messages. 2 system errors and one about not being able to install
package dictionaries-common.

Error: "upgrades package dictionaries-common 1.20.5 failed to
install/upgrade: ErrorMessage: subprocess installed post-installation
script returned error exit status 255"

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to dictionaries-common in
Ubuntu.
https://bugs.launchpad.net/bugs/1287946

Title:
  package dictionaries-common 1.20.5 failed to install/upgrade:
  ErrorMessage: subprocess installed post-installation script returned
  error exit status 255

Status in “dictionaries-common” package in Ubuntu:
  Confirmed

Bug description:
  ~# lsb_release -rd
  Description:	Ubuntu Trusty Tahr (development branch)
  Release:	14.04
  ~# apt-cache policy dictionaries-common
  dictionaries-common:
    Installed: 1.20.5
    Candidate: 1.20.5
    Version table:
   *** 1.20.5 0
          500 http://gb.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
          100 /var/lib/dpkg/status

  upgrade from 13.10 to 14.04

  ProblemType: Package
  DistroRelease: Ubuntu 14.04
  Package: dictionaries-common 1.20.5
  ProcVersionSignature: Ubuntu 3.11.0-18.32-generic 3.11.10.4
  Uname: Linux 3.11.0-18-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.13.2-0ubuntu5
  Architecture: amd64
  Date: Tue Mar  4 21:39:12 2014
  DuplicateSignature: package:dictionaries-common:1.20.5:ErrorMessage: subprocess installed post-installation script returned error exit status 255
  ErrorMessage: ErrorMessage: subprocess installed post-installation script returned error exit status 255
  InstallationDate: Installed on 2012-09-04 (546 days ago)
  InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120823.1)
  PackageArchitecture: all
  SourcePackage: dictionaries-common
  Title: package dictionaries-common 1.20.5 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 255
  UpgradeStatus: Upgraded to trusty on 2014-03-04 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dictionaries-common/+bug/1287946/+subscriptions