[Bug 873551] Re: dictionaries-common: debconf corruption

Jonathan Reed jdreed at mit.edu
Tue Apr 2 17:20:45 UTC 2013


I ran into this and believe I have found the root cause.  In update-
default-ispell, this logic is wrong:

  # Question is empty, but $class elements are installed. Two possibilities.
  if ( -x "/usr/bin/apt-extracttemplates" ){
    # apt-utils is installed. Other possibility is debconf database corruption.


Just because apt-utils is _installed_ doesn't mean the templates were parsed correctly.  For example, if dpkg-preconfigure doesn't like the shell that d-i gives your late_command:

 Preconfiguring packages ...
 Unknown terminal: bterm
 Check the TERM environment variable.
 Also make sure that the terminal is defined in the terminfo database.
 Alternatively, set the TERMCAP environment variable to the desired termcap entry.
 debconf: whiptail output the above errors, giving up!

So update-default-ispell should not conditionalize on the existence of
apt-extracttemplates to decide whether the database is corrupted or not.
Regardless, update-default-ispell failing in the postinst should not be
a fatal error.

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

Title:
  dictionaries-common: debconf corruption

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

Bug description:
  During do-release-upgrade to Oneiric from Natty.

  ProblemType: Package
  DistroRelease: Ubuntu 11.10
  Package: dictionaries-common 1.11.5ubuntu1
  ProcVersionSignature: Ubuntu 2.6.38-11.50-generic 2.6.38.8
  Uname: Linux 2.6.38-11-generic x86_64
  ApportVersion: 1.23-0ubuntu3
  Architecture: amd64
  Date: Thu Oct 13 13:47:43 2011
  ErrorMessage: ErrorMessage: subprocess installed post-installation script returned error exit status 255
  PackageArchitecture: all
  SourcePackage: dictionaries-common
  Title: package dictionaries-common 1.11.5ubuntu1 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 255
  UpgradeStatus: Upgraded to oneiric on 2011-10-13 (0 days ago)

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




More information about the foundations-bugs mailing list