Your message dated Tue, 15 Mar 2011 17:32:08 +0000
with message-id <[email protected]>
and subject line Bug#618398: fixed in dictionaries-common 1.10.3
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.3

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.3_all.deb
  to main/d/dictionaries-common/dictionaries-common-dev_1.10.3_all.deb
dictionaries-common_1.10.3.dsc
  to main/d/dictionaries-common/dictionaries-common_1.10.3.dsc
dictionaries-common_1.10.3.tar.gz
  to main/d/dictionaries-common/dictionaries-common_1.10.3.tar.gz
dictionaries-common_1.10.3_all.deb
  to main/d/dictionaries-common/dictionaries-common_1.10.3_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: Tue, 15 Mar 2011 17:21:00 +0100
Source: dictionaries-common
Binary: dictionaries-common dictionaries-common-dev
Architecture: source all
Version: 1.10.3
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: 618397 618398 618399
Changes: 
 dictionaries-common (1.10.3) unstable; urgency=low
 .
   * Implementing some suggestions and fixing some bugs, all
     reported by Robert Luberda. Thanks Robert.
   * Fix "dsdt-policy.txt" location in installdeb-* man pages
     (Closes: #618397).
   * update-default-ispell: Make sure ispell-autobuildhash is run
     before trying to symlink (Closes: #618398).
   * installdeb-{a,i}spell: Automatically create
     /usr/lib/{a,ispell}/$hash -> /var/lib/{a,i}spell/$hash
     symlinks when using 'auto-compat' (Closes: #618399).
Checksums-Sha1: 
 ee0d995b7f7e08f05adca6a59a81050dd3ff94ae 1132 dictionaries-common_1.10.3.dsc
 62c2e333ba585a1fa537bed5d61e38a63b8f940a 321179 
dictionaries-common_1.10.3.tar.gz
 cc6e92fd26a48e44f4f37f036679a82d8311d9be 300218 
dictionaries-common_1.10.3_all.deb
 c9c3347ff07b30b81e4fa7dfd27eb8bea72bda9d 129040 
dictionaries-common-dev_1.10.3_all.deb
Checksums-Sha256: 
 4e4f6fb70f078307abd8719de4686cb764fb7c316c4db6cea56f78cba7fdb293 1132 
dictionaries-common_1.10.3.dsc
 9613594bed853c6b6a9c652bcd8ff98cd03e084f80745b6f77ac9ce17b2acd0a 321179 
dictionaries-common_1.10.3.tar.gz
 b0edd6641bcc9404ca7807806a37db4ea78bacbda507925fb7129b75cb23c8ad 300218 
dictionaries-common_1.10.3_all.deb
 70b7b77db15e48f7790026bc0b43dde8231a54d2812f3a2a38b7c83c2777ac59 129040 
dictionaries-common-dev_1.10.3_all.deb
Files: 
 4b0169ee12386a33eb2f16069a4151c4 1132 text optional 
dictionaries-common_1.10.3.dsc
 076862796ded615aa2bee6249766f04a 321179 text optional 
dictionaries-common_1.10.3.tar.gz
 d8f19d248256d80b49bf7e383c1efbb2 300218 text optional 
dictionaries-common_1.10.3_all.deb
 976fe8beb997614dbf9c0edabdd089d4 129040 devel extra 
dictionaries-common-dev_1.10.3_all.deb

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

iD8DBQFNf52QTShHqj72DpwRAq6MAJ9cuVxmq9n+Hd9TCM4ULhlQoVi3uQCghjRc
8HG+KmDhlhZHggyy7wtTd1g=
=2V35
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to