[Piuparts-devel] creating config files in directories owned by dependencies leaves directories after purge
    Andreas Beckmann 
    debian at abeckmann.de
       
    Sat May 26 11:08:44 UTC 2012
    
    
  
Package: foo
ships /etc/foo.d/
Package: bar
Depends: foo
postinst creates config file (not a conffile) /etc/foo.d/bar
install foo bar
remove bar
remove foo
purge bar
purge foo
leaves /etc/foo.d/ around
What is the correct solution for this problem?
Does policy say anything about this?
bar *may not* rmdir /etc/foo.d in its postrm purge
Should bar ship empty /etc/foo.d/, too? So dpkg could have the
possibility to remove this (if the respective dpkg bug gets fixed ...)
Andreas
    
    
More information about the Piuparts-devel
mailing list