Package: dictionaries-common
Version: 0.25.9
Severity: normal

Steps to reproduce:

   apt-get install dictionaries-common aspell-sv (or some other)
   apt-get install --reinstall emacs21

This likely results in dpkg failing noisily upon running the emacs-install
script for some completely unrelated Emacs package.  You won't be able to get
your Emacs back unless you first remove dictionaries-common.  Then you can
install Emacs, and finally put back dictionaries-common if you like.

This becomes a real problem when you want to install a new Emacs flavor
(something which also provokes this bug).  The worst part may be that the
error messages give no hint about what is really causing the problem.

The problem is that /etc/emacs/site-start.d/50dictionaries-common.el calls

   (load "/var/cache/dictionaries-common/emacsen-ispell-dicts.el" t)

and /var/cache/dictionaries-common/emacsen-ispell-dicts.el calls

   (debian-ispell-add-dictionary-entry ...)

which causes the autoload for `debian-ispell-add-dictionary-entry' to attempt
to load the library "debian-ispell".  Here's where things break down.

When an Emacs flavor is about to be installed, there will obviously be no
byte-compiled files in /usr/share/$flavor/site-lisp/dictionaries-common.
Yet this is the only directory that 50dictionaries-common.el adds to
`load-path' before attempting to load "debian-ispell".

As this error prevents Emacs from starting properly, all attempts to *create*
the byte-compiled files neccessary to allow Emacs to start will fail.

I don't know what would be a good solution in this case, but you may find it
helpful to know that I've filed a similar couple of bugs on the dictionary-el
and BBDB packages (Bug#308335 and Bug#308336, respectively) --- which also
cause this same problem.


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-drlion-8
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages dictionaries-common depends on:
ii  debconf                       1.4.49     Debian configuration management sy
ii  perl                          5.8.4-8    Larry Wall's Practical Extraction 

-- debconf information:
  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:
  dictionaries-common/default-wordlist:
  dictionaries-common/old_wordlist_link: true
  dictionaries-common/remove_old_usr_dict_link: false


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to