On Mon, Mar 18, 2013 at 22:22:03 +0100, Joachim Wiedorn wrote: > Hello Julien, > > Julien Cristau wrote on 2013-03-18 20:42: > > > The debdiff and the above is rather short on explanations (and I'd > > rather not read the whole bug log for 661482)... Care to explain why > > these directories must be created in postinst rather than shipped in the > > package? > > hylafax itself have the working directory /var/spool/hylafax with many > subdirectories. To make capi4hylafax working together with hylafax it > must use these directories, too. But there is another case: capi4hylafax > can also work without hylafax. > > The main problem is: while deinstalling hylafax the package hylafax > doesn't know something about capi4hylafax. If the package capi4hylafax > would shipping these named directories of hylafax in its package and > hylafax would be purged then this give errors because the directory > /var/spool/hylafax with some subdirectories would be owned by both > packages and hylafax want to delete these directories. > I don't understand. dpkg won't try to remove a directory owned by two packages if you remove one of them.
Cheers, Julien
signature.asc
Description: Digital signature