reassign 781068 dictionaries-common-dev 1.23.17 thanks 積丹尼 Dan Jacobson wrote: > Package: iamerican > Version: 3.4.00-1 > > Unpacking iamerican (3.4.00-1) over (3.3.02-6) ... > dpkg: warning: unable to delete old directory '/var/lib/ispell': Directory > not empty > > $ ls -Al /var/lib/ispell > -rw-r--r-- 1 root root 7 03-24 10:07 american.compat > -rw-r--r-- 1 root root 1245028 03-24 10:07 american.hash
Oh, I didn't notice this, as I have some other ispell dictionary installed that keeps /var/lib/ispell known for dpkg. However you are right: previous versions of iamerican and ibritish packages used to have the directory in *.deb, and updated version creates the directory in the postinst script, so dpkg shows the warnings. I can work-around the issue by adding the dir into ispell package, but actually ispell does not needed by itself. The directory is maintained by ispell dictionaries via dictionary-common, that's why I am reassiging the bug. In my opinion it should be fixed by dictionary-common-dev by: 1. Ensuring that install-deb-ispell creates an empty debian/$package/var/lib/ispell directory during the build process. 2. Moving to prerm the stuff currently added into postrm - otherwise when only the first point is implemented, dpkg will still show the warnings during removal of the last installed ispell dictionary. Most probably the prerm script could remove the files from /var/lib/ispell not only when "$1" = "remove", but also when "$1" = "upgrade" - this would ensure some flexibility, for example if at some point in the future somebody for some reason would like to switch from /var/lib/ispell to another directory. Regards, robert -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

