Package: dictionaries-common
Version: 1.5.11
Severity: wishlist

From aspell-autobuildhash(8):

| Dictionaries-common scripts will call internally this script and 
| create a single hash file at /var/lib/ispell/$lang.rws, or hash files 
| at /var/lib/ispell/$subdict.rws. You must set a symlink to that files 
| from /usr/lib/aspell/$lang.rws or /usr/lib/aspell/$subdict.rws as 
| appropriate.  You are also suggested to create empty files at 
| /var/lib/aspell/$lang.rws or for all of the 
| /var/lib/aspell/$subdict.rws in the install target of your package 
| build process. This empty file will be overwritten when the real hash 
| is created, but will make the hash be removed at package removal 
| without any magic being done in the postrm and will also help to keep 
| track about which package owns that file.

The man page recommends shipping of an (empty) file with the package, which is 
then overwritten/regenerated when the real hash is created, which means during 
the maintainers scripts work-time of that very package. This leads to hashsums 
mismatches for these regenerated files -- this is the hashsum of the empty file 
when the package is built versus the hashsum of the already regenerated file by 
preinst or postinst. These mismatches could also be easily seen by debsums(1).

It would be better if all (re)generations and deletions of these files is done 
via maintainer scripts, though it is still not quite clear to me whether 
aspell-autobuildhash would work reliably then.

-- 
pub 4096R/0E4BD0AB <people.fccf.net/danchev/key pgp.mit.edu>



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

Reply via email to