[Dict-common-dev] [Guillaume.Allegre@imag.fr: paquet dictionaries-common]

Agustín Martín Domingo agmartin@aq.upm.es
Thu, 11 Jul 2002 17:12:28 +0200


Rafael Laboissiere wrote:
> I am forwarding below a bug report sent by someone who just tried to "apt-get
> install dictionaries-common".  The message was sent privately to me in
> French, but the installation log is included.

Hmm, that should not happen since the new ispell package is also in the 
sf repository with a higher version number, so when saying "apt-get 
install dictionaries-common" the new ispell should also be downloaded 
and installed replacing the previous one, but not removed in any 
intermediate step. At least that is what seems to happen here. This is 
part of my 'apt-get install dictionaries-common' log from a woody 
machine with the old system:

Building Dependency Tree... Done
The following extra packages will be installed:
   abiword-doc ispell libgdk-pixbuf-gnome2 libgdk-pixbuf2
The following packages will be REMOVED:
   abiword abiword-common abiword-gtk abiword-plugins iamerican ibritish 
iesperanto irussian ispanish
   libpspell-ispell1 wenglish wspanish
The following NEW packages will be installed:
   dictionaries-common
4 packages upgraded, 1 newly installed, 12 to remove and 19  not upgraded.
Need to get 1384kB of archives. After unpacking 23.4MB will be freed.
Do you want to continue? [Y/n]
Get:1 ftp://ftp.rediris.es woody/main abiword-doc 1.0.2+cvs.2002.06.05-1 
[950kB]
Get:2 http://dict-common.sourceforge.net ./ ispell 3.1.20-30.2 [154kB]

...

(Reading database ... 78234 files and directories currently installed.)
Preparing to replace ispell 3.1.20-21.1 (using 
.../ispell_3.1.20-30.2_i386.deb) ...
Unpacking replacement ispell ...
Selecting previously deselected package dictionaries-common.
Unpacking dictionaries-common (from 
.../dictionaries-common_0.6.5_all.deb) ...
Adding `diversion of /usr/share/pspell/region-to-spelling.map to 
/usr/share/pspell/region-to-spelling.map.orig by dictionaries-common'

So, seems that everything works here as expected. Guillaume, can you 
give us more details? I see in your log

 >  The following packages will be REMOVED:
 >   iamerican ibritish ifrench-gut ispell libpspell-ispell1 wenglish
 >  The following NEW packages will be installed:
 >     dictionaries-common

and I cannot understand why in your system ispell is due to be removed 
instead of simply upgraded with that one at sourceforge. Had your ispell 
something special?

> 
> As expected, the old ispell package has been removed, due to the Conflicts
> relationship.  

This should happen only if there is no higher version ispell available, 
otherwise would have been upgraded.

> However, when the package is installed, the byte-compilation
> of file flyspell.el fails because, apparently, the ispell command is not
> found.  I cannot replicate the problem with XEmacs (and do not have
> time/energy to install Emacs to do the test).  Any help is appreciated here.
> 

This however is a problem if somebody wants to have only wordlists (It 
is hard to me to think of somebody wanting to have a huge emacs and not 
an ispell dict, but who knows) or only aspell dicts. In that case, after 
removing ispell and dictionaries-common and reinstalling 
dictionaries-common I reproduce the problem:

Setting up dictionaries-common (0.6.5) ...
...
Wrote /usr/share/emacs19/site-lisp/dictionaries-common/ispell.elc
While compiling toplevel forms in file 
/usr/share/emacs19/site-lisp/dictionaries-common/flyspell.el:
   !! File error (("Searching for program" "no such file or directory" 
"ispell"))
Done

> This is a serious problem and has to be fixed (although I doubt that very
> few people will try to launch "apt-get install dictionaries-common").  An
> easy solution to the problem is just to do "apt-get upgrade" or even running
> "apt-get install ispell" (but then one has to reinstall each dictionary
> package hat was removed).
> 
I think it has nothing to do with apt-get but with flyspell itself. Why 
it searches for ispell when byte compiling? I am trying to look for some 
clue in flyspell.el itself, but until now I had no sucess at all. 
Anybody with a better knowledge of flyspell can look at that?




-- 
=====================================================================
Agustin Martin Domingo, Dpto. de Fisica, ETS Arquitectura Madrid,
(U. Politecnica de Madrid)  tel: +34 91-336-6536, Fax: +34 91-336-6554,
email:agmartin@aq.upm.es, http://corbu.aq.upm.es/~agmartin/welcome.html