SOLVED! Errors: dictionaries-common

If none of the more specific forums is the right place to ask

SOLVED! Errors: dictionaries-common

Postby cc » 2013-03-15 23:21

Hi

I try to update my Wheezy and get this error:
Code: Select all
# apt-get update
# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up dictionaries-common (1.12.11) ...
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)

  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 dictionaries-common (--configure):
 subprocess installed post-installation script returned error exit status 255
Errors were encountered while processing:
 dictionaries-common
E: Sub-process /usr/bin/dpkg returned an error code (1)
Last edited by cc on 2013-03-16 12:52, edited 1 time in total.
Squeeze / Wheezy / Gnome
cc
 
Posts: 820
Joined: 2005-06-08 19:14

Re: Errors: dictionaries-common

Postby llivv » 2013-03-16 06:28

file:///usr/share/doc/dictionaries-common/README.problems
Debconf database corruption wrote:Some of the problems listed above are caused by some sort of debconf
database corruption.

In most old cases (See #198297, #224400, #247849, #255193,
#282587, #284287, #297534 and #335612) that corruption has been
related to a nearly full /var partition. This most frequent cause
for this should have been fixed in debconf 1.5.0 (See #198297). From
its changelog,

* Notice and error out on write errors (such as ENOSPC) when saving
databases. Should help with a lot of database corruption bugs.

but seems that other still unknown reasons may be flying around.

Please take a look at those bug reports to check whether your problem is
actually the same, and see if you can provide more information about
the problem before proceeding further.

If your problem seems related to debconf database corruption, be it of
above kind or not, the suggested fix is, quoting Joey Hess message in
#198297 bug page

> By purging and reinstalling the package, you only fixed the entries for
> that package. I suggest you run /usr/share/debconf/fix_db.pl as root,
> which will delete all the orphaned questions. You may end up having to
> repeat your answers to some debconf questions during future upgrades,
> but that's a small price to pay for a consistent debconf database.

After running /usr/share/debconf/fix_db.pl as root, please look which
templates were affected,

$ diff -u /var/cache/debconf/config.dat{-old,} | grep ^[+-]Name
$ diff -u /var/cache/debconf/templates.dat{-old,} | grep ^[+-]Name

Your debconf database should be now in a consistent state and packages
configuration should succeed.

Regarding ispell dictionaries and wordlists, you may still need to run
'dpkg-reconfigure dictionaries-common' as root to make sure defaults
are correct.
in the kitchen with Julia ....
The Past, Christmas Present and Future
Get it on the Dbus to Bcan
User avatar
llivv
 
Posts: 5599
Joined: 2007-02-14 18:10
Location: willo the tree

Re: Errors: dictionaries-common

Postby cc » 2013-03-16 12:12

Thx a lot it works well now.
Squeeze / Wheezy / Gnome
cc
 
Posts: 820
Joined: 2005-06-08 19:14

Re: SOLVED! Errors: dictionaries-common

Postby Pinkilla » 2013-12-05 08:27

Thx !
Work fine for me too …
Pinkilla
 
Posts: 2
Joined: 2011-02-24 11:09

Re: SOLVED! Errors: dictionaries-common

Postby cc » 2013-12-23 12:18

You're welcome!
Squeeze / Wheezy / Gnome
cc
 
Posts: 820
Joined: 2005-06-08 19:14

Re: SOLVED! Errors: dictionaries-common

Postby llivv » 2013-12-23 19:02

cc and Pinkilla I'm glad it helped.
cc looks like I missed your post in march :(
Joey's instructions have always been spot on for me too.
in the kitchen with Julia ....
The Past, Christmas Present and Future
Get it on the Dbus to Bcan
User avatar
llivv
 
Posts: 5599
Joined: 2007-02-14 18:10
Location: willo the tree


Return to General Questions

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable