Package: dictionaries-common
Version: 0.65.0
Severity: normal

the 'default' entry for miscfiles/languages is:
Default: english (Webster's Second International English wordlist)

It has a "'" character in it. The "'" is not quoted when
/var/cache/dictionaries-common/wordlist.db is created, which renders
that file syntactically invalid perl:

%  perl -cw /var/cache/dictionaries-common/wordlist.db
Substitution pattern not terminated at
/var/cache/dictionaries-common/wordlist.db line 24.

This in turn means that the loaddb() in /usr/sbin/update-default-wordlist
returns an empty list and update-default-wordlist bombs out with

/usr/sbin/update-default-wordlist No wordlist elements installed.

I don't know why debconf-show failed (below). here's the output:

  dictionaries-common/invalid_debconf_value:
  dictionaries-common/ispell-autobuildhash-message:
  dictionaries-common/move_old_usr_dict: true
  dictionaries-common/selecting_ispell_wordlist_default:
* dictionaries-common/default-ispell: american (American English)
* dictionaries-common/default-wordlist: Manual forced (No wordlist elements 
installed)
  dictionaries-common/old_wordlist_link: true
  dictionaries-common/remove_old_usr_dict_link: false

attached is a 'dpkg-reconfigure dictionaries-common' log with
DEBCONF_DEBUG=developer in case that turns out to be useful

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages dictionaries-common depends on:
ii  debconf [debconf-2.0]         1.4.70     Debian configuration management sy
ii  perl                          5.8.7-10   Larry Wall's Practical Extraction 

dictionaries-common recommends no packages.

-- debconf-show failed
Script started on Tue 14 Feb 2006 01:45:23 AM EST
starfury:~>  env DEBCONF_DEBUG=developer sudo dpkg-reconfigure 
-ftext -plow dict ionaries-common

remove/dictionaries-common: Purging byte-compiled files for flavour emacs21
remove/dictionaries-common: Purging byte-compiled files for flavour xemacs21
debconf (developer): starting /var/lib/dpkg/info/dictionaries-common.config 
reconfigure 0.65.0
debconf (developer): <-- VERSION 2.0
debconf (developer): --> 0 2.0
debconf (developer): <-- SET dictionaries-common/remove_old_usr_dict_link false
debconf (developer): --> 0 value set
debconf (developer): <-- GO
debconf (developer): --> 0 ok
debconf (developer): <-- UNREGISTER dictionaries-common/languages
debconf (developer): --> 10 dictionaries-common/languages doesn't exist
debconf (developer): <-- UNREGISTER shared/packages-ispell
debconf (developer): --> 0
debconf (developer): <-- UNREGISTER shared/packages-wordlist
debconf (developer): --> 0
debconf (developer): <-- METAGET shared/packages-ispell owners
debconf (developer): --> 0 iamerican, ibritish
debconf (developer): <-- METAGET iamerican/languages default
debconf (developer): --> 0 american (American English)
debconf (developer): <-- METAGET ibritish/languages default
debconf (developer): --> 0 british (British English)
debconf (developer): <-- METAGET dictionaries-common/default-ispell choices
debconf (developer): --> 0 american (American English), british (British 
English), Manual symlinks setting
debconf (developer): <-- INPUT critical dictionaries-common/default-ispell
debconf (developer): --> 0 question will be asked
debconf (developer): <-- TITLE Dictionaries-common: Ispell dictionary
debconf (developer): --> 0
debconf (developer): <-- GO
Dictionaries-common: Ispell dictionary
--------------------------------------

Because more than one ispell dictionary will be available in your system, please
select the one you'd like applications to use by default.

You can change the default ispell dictionary at any time by running 
"select-default-ispell".

  1. american (American English)  3. Manual symlinks setting
  2. british (British English)

Which ispell dictionary should be the system's default? 1
Which ispell dictionary should be the system's default? 
Which ispell dictionary should be the system's default? 1


debconf (developer): --> 0 ok
debconf (developer): <-- METAGET shared/packages-wordlist owners
debconf (developer): --> 0 miscfiles, wamerican, wamerican-large, wbritish, 
wbritish-large, wcanadian, wcanadian-large
debconf (developer): <-- METAGET miscfiles/languages default
debconf (developer): --> 0 english (Webster's Second International English 
wordlist)
debconf (developer): <-- METAGET wamerican/languages default
debconf (developer): --> 0 american (American English)
debconf (developer): <-- METAGET wamerican-large/languages default
debconf (developer): --> 0 american-large (American English -- large)
debconf (developer): <-- METAGET wbritish/languages default
debconf (developer): --> 0 british (British English)
debconf (developer): <-- METAGET wbritish-large/languages default
debconf (developer): --> 0 british-large (British English -- large)
debconf (developer): <-- METAGET wcanadian/languages default
debconf (developer): --> 0 canadian (Canadian English)
debconf (developer): <-- METAGET wcanadian-large/languages default
debconf (developer): --> 0 canadian-large (Canadian English -- large)
debconf (developer): <-- METAGET dictionaries-common/default-wordlist choices
debconf (developer): --> 0 american (American English), american-large 
(American English -- large), british (British English), british-large (British 
English -- large), canadian (Canadian English), canadian-large (Canadian 
English -- large), english (Webster's Second International English wordlist), 
Manual symlinks setting
debconf (developer): <-- INPUT critical dictionaries-common/default-wordlist
debconf (developer): --> 0 question will be asked
debconf (developer): <-- TITLE Dictionaries-common: Wordlist dictionary
debconf (developer): --> 0
debconf (developer): <-- GO
Dictionaries-common: Wordlist dictionary
----------------------------------------

Because more than one wordlist will be available in your system, please select 
the one you'd like applications to use by default.

You can change the default wordlist at any time by running 
"select-default-wordlist".

  1. american (American English)
  2. american-large (American English -- large)
  3. british (British English)
  4. british-large (British English -- large)
  5. canadian (Canadian English)
  6. canadian-large (Canadian English -- large)
  7. english (Webster's Second International English wordlist)
  8. Manual symlinks setting

Which wordlist should be the system's default? 
Which wordlist should be the system's default? 
Which wordlist should be the system's default? 1
Which wordlist should be the system's default? 
Which wordlist should be the system's default? 1


debconf (developer): --> 0 ok
debconf (developer): starting /var/lib/dpkg/info/dictionaries-common.postinst 
configure 0.65.0
debconf (developer): <-- VERSION 2.0
debconf (developer): --> 0 2.0
debconf (developer): <-- GET dictionaries-common/default-ispell
debconf (developer): --> 0 american (American English)
debconf (developer): <-- VERSION 2.0
debconf (developer): --> 0 2.0
debconf (developer): <-- GET dictionaries-common/default-wordlist
debconf (developer): --> 0 american (American English)
/usr/sbin/update-default-wordlist No wordlist elements installed.
debconf (developer): <-- SET dictionaries-common/default-wordlist Manual forced 
(No wordlist elements installed)
debconf (developer): --> 0 value set
debconf (developer): <-- GO
debconf (developer): --> 0 ok
Updating OpenOffice.org's dictionary list... done.
install/dictionaries-common: Byte-compiling for emacsen flavour emacs21
Wrote /usr/share/emacs21/site-lisp/dictionaries-common/debian-ispell.elc
Wrote /usr/share/emacs21/site-lisp/dictionaries-common/ispell.elc
Wrote /usr/share/emacs21/site-lisp/dictionaries-common/flyspell.elc
Done
install/dictionaries-common: Byte-compiling for emacsen flavour xemacs21
Compiling /usr/share/xemacs21/site-lisp/dictionaries-common/debian-ispell.el...
Wrote /usr/share/xemacs21/site-lisp/dictionaries-common/debian-ispell.elc
Compiling /usr/share/xemacs21/site-lisp/dictionaries-common/ispell.el...
Wrote /usr/share/xemacs21/site-lisp/dictionaries-common/ispell.elc
Compiling /usr/share/xemacs21/site-lisp/dictionaries-common/flyspell.el...
Wrote /usr/share/xemacs21/site-lisp/dictionaries-common/flyspell.elc
Done
starfury:~> ^D
Script done on Tue 14 Feb 2006 01:45:42 AM EST

Reply via email to