Your message dated Thu, 17 Mar 2011 12:32:08 +0000
with message-id <[email protected]>
and subject line Bug#618398: fixed in dictionaries-common 1.10.4
has caused the Debian Bug report #618398,
regarding dictionaries-common-dev: Package build with auto-hash fails to 
install if it doesn't provide /var/lib/ispell/dictionary.hash
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
618398: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=618398
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dictionaries-common-dev
Version: 1.10.2
Severity: normal


Hi,


While experimenting with using `auto-hash' entries for ibritish/iamerican 
packages, I've found that a dictionary package fails to install when 
the following conditions are met:

 - dictionary provided in the package is selected as the default one
 - /var/lib/ispell/$dict.hash file doesn't exist (e.g. this is an
   initial install, the file is not provided by the package itself, and
   ispell-autobuildhash hasn't been run yet).


The autogenerated posinst contains the following:

  # Automatically added by installdeb-ispell
  dico_class="ispell"
  dico_compat="british.compat british-huge.compat british-large.compat
british-small.compat"

  for i in $dico_compat; do
      >"/var/lib/$dico_class/$i"
  done


It seems that the existance of the default link is checked before
ispell-autobuildhash got a chance to be called, so I think sth like 
the following should be added to postinst (and I've just checed that
it actually solves the problem):

  hash_files="................"
  for  i in $hash_files; do
     touch "/var/lib/$dico_class/$i" # or >"/var/lib/$dico_class/$i", 
                                     # if it's OK to overwrite the file 
contents, It probably
                                     # should be fine, as ispell-autobuildhash 
will overwrite it anyway
  done 


Just for reference, here're output from installation:


  The following NEW packages will be installed:
    ibritish
  0 upgraded, 1 newly installed, 0 to remove and 8 not upgraded.
  Need to get 0 B/1413 kB of archives.
  After this operation, 1544 kB of additional disk space will be used.
  Preconfiguring packages ...     [ <-- here british was choosen as the default 
dict ]
  Selecting previously deselected package ibritish.
  (Reading database ... 412856 files and directories currently installed.)
  Unpacking ibritish (from .../ibritish_3.3.02-2~_all.deb) ...
  Processing triggers for man-db ...
  Setting up ibritish (3.3.02-2~) ...
  
  When trying to make the default link to a ispell dictionary
  the file to link [/usr/lib/ispell/british.hash] was not found. Please
  report this as a bug to the
  maintainer of the ispell dictionary package you tried to
  select.
  In the meantime select other default value for your ispell dictionary.
  dpkg: error processing ibritish (--configure):
   subprocess installed post-installation script returned error exit
  status 2
  configured to not write apport reports
                                        Errors were encountered while
  processing:
   ibritish
  mount: /usr is busy
  
  
  [20]/home/robert> LC_ALL=C sudo ispell-autobuildhash
  ispell-autobuildhash: Processing 'british-huge' dict 
  ispell-autobuildhash: Processing 'british-large' dict
  ispell-autobuildhash: Processing 'british-small' dict
  ispell-autobuildhash: Processing 'british' dict

  [21]/home/robert> LC_ALL=C sudo  dpkg --configure --pending
  Setting up ibritish (3.3.02-2~) ...
  Processing triggers for dictionaries-common ...
  ispell-autobuildhash: Processing 'british-huge' dict
  ispell-autobuildhash: Processing 'british-large' dict
  ispell-autobuildhash: Processing 'british-small' dict
  ispell-autobuildhash: Processing 'british' dict
  



Reegards,
robert




-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (200, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.37-1-686 (SMP w/1 CPU core)
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/dash

Versions of packages dictionaries-common-dev depends on:
ii  debhelper                     8.1.2      helper programs for debian/rules
ii  dictionaries-common           1.10.2     Common utilities for spelling dict

dictionaries-common-dev recommends no packages.

dictionaries-common-dev suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: dictionaries-common
Source-Version: 1.10.4

We believe that the bug you reported is fixed in the latest version of
dictionaries-common, which is due to be installed in the Debian FTP archive:

dictionaries-common-dev_1.10.4_all.deb
  to main/d/dictionaries-common/dictionaries-common-dev_1.10.4_all.deb
dictionaries-common_1.10.4.dsc
  to main/d/dictionaries-common/dictionaries-common_1.10.4.dsc
dictionaries-common_1.10.4.tar.gz
  to main/d/dictionaries-common/dictionaries-common_1.10.4.tar.gz
dictionaries-common_1.10.4_all.deb
  to main/d/dictionaries-common/dictionaries-common_1.10.4_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Agustin Martin Domingo <[email protected]> (supplier of updated 
dictionaries-common package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 17 Mar 2011 12:59:51 +0100
Source: dictionaries-common
Binary: dictionaries-common dictionaries-common-dev
Architecture: source all
Version: 1.10.4
Distribution: unstable
Urgency: low
Maintainer: Agustin Martin Domingo <[email protected]>
Changed-By: Agustin Martin Domingo <[email protected]>
Description: 
 dictionaries-common - Common utilities for spelling dictionary tools
 dictionaries-common-dev - Developer tools and Policy for spelling dictionary 
tools
Closes: 618398
Changes: 
 dictionaries-common (1.10.4) unstable; urgency=low
 .
   * Triggerize update-default-ispell to have default symlink
     created after ispell-autobuildhash real run (Closes: #618398).
     Do the same for update-default-wordlist.
Checksums-Sha1: 
 9e1b07b8a8c65665167a00c24eb3727feb1f62e5 1132 dictionaries-common_1.10.4.dsc
 1965f8b028d316dd9930ddc55bf0972b64129569 321719 
dictionaries-common_1.10.4.tar.gz
 ef03737b2015cc87e29619430edf08f9a18c6257 299606 
dictionaries-common_1.10.4_all.deb
 4f95b6cc3cf230f75708729779c1fe6e5ed9f71b 129076 
dictionaries-common-dev_1.10.4_all.deb
Checksums-Sha256: 
 7c1ce330388ad7cc966405491a3cdee1fec920a9c443bc97ba97781b7273cb0c 1132 
dictionaries-common_1.10.4.dsc
 fd534c0e77215c71544f58b93b7724f6511602b2294c94bbfc846d9838531c13 321719 
dictionaries-common_1.10.4.tar.gz
 71619d9d2778cd5b43e700796f654d012bcd5172fd1459a22bb07a9d7a48aa0e 299606 
dictionaries-common_1.10.4_all.deb
 b72b086a29bd31aec5d5dca72250a57a0e5d4d45ca18ecb151ffe3c1f63ffed4 129076 
dictionaries-common-dev_1.10.4_all.deb
Files: 
 c3ef5b3fd94dfcffa9ee7fe57c46f519 1132 text optional 
dictionaries-common_1.10.4.dsc
 9c129fb589e6df6325d5e6259c36118e 321719 text optional 
dictionaries-common_1.10.4.tar.gz
 ebcc1b26c5ea8f1c10598018503661d5 299606 text optional 
dictionaries-common_1.10.4_all.deb
 e142a62914a9ca85f41043e7b4de0d28 129076 devel extra 
dictionaries-common-dev_1.10.4_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iD8DBQFNgfj/TShHqj72DpwRAn5jAJ0afA/HFYrzG3jQC7UmlP8S0KVDTACgjpWG
90jGsBSavj0UNmSXg1u7Vbg=
=YAp6
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to