LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   dpkg: error processing dictionaries-common (https://www.linuxquestions.org/questions/debian-26/dpkg-error-processing-dictionaries-common-4175451951/)

cccc 02-27-2013 01:28 PM

dpkg: error processing dictionaries-common
 
Hi

I try to update my wheezy and get this error:
Code:

# apt-get update
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)


Randicus Draco Albus 02-27-2013 02:26 PM

According to the /usr/share/doc/dictionaries-common/README.problems for Squeeze,
Quote:

If everytime you upgrade any wordlist or ispell dictionary are asked
about preferred language (and not only at most the first time you
installed it) there is a problem, because that is not what current
code should do.

This has been noticed to happen due to debconf database corruption,

http://bugs.debian.org/335612

usually caused by nearly full /var partitions.
* Emphasis mine.
May or may not be applicable for Wheezy.

cccc 03-05-2013 06:03 PM

Thx, but it still doesn't work!

cccc 03-16-2013 06:53 AM

running as root:
Code:

# /usr/share/debconf/fix_db.pl
# dpkg-reconfigure dictionaries-common

solved this problem!


All times are GMT -5. The time now is 07:37 PM.