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

Bug #1287946 reported by rojanu on 2014-03-04
62
This bug affects 8 people
Affects Status Importance Assigned to Milestone
dictionaries-common (Ubuntu)
High
Unassigned

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)

rojanu (rojanu) wrote :
tags: removed: need-duplicate-check
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in dictionaries-common (Ubuntu):
status: New → Confirmed
skurfur (dvd-regal) wrote :
Download full text (6.7 KiB)

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.

dp...

Read more...

skurfur (dvd-regal) wrote :

In case standard info is needed for comments or cross-checking:

1.) $ lsb_release -rd
Description: Ubuntu 14.04.1 LTS
Release: 14.04

2.) $ apt-cache policy dictionaries-common
dictionaries-common:
  Installed: 1.20.5
  Candidate: 1.20.5
  Version table:
 *** 1.20.5 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status

skurfur (dvd-regal) wrote :

In Comment #3, please disregard remark on desktop seeming a "little janky". Applications Chrome and Komodo are now fine. My guess is the "jankiness" was from the Error Report dialogue being active. Error Report dialogue was running under a more privileged user than what I run my desktop (for extra-extra security, my desktop user does not belong to 'sudo' group).

I'm still going to approach LTS 14 with caution and keep my LTS 12 snapshot in case I need to revert.

Changed in dictionaries-common (Ubuntu):
importance: Undecided → High
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers