> Testing didiwiki with piuparts, I get the following error: > > 0m6.1s ERROR: Package purging left files on system: > /var/lib/didiwiki > /var/lib/didiwiki/styles.css > > styles.css seems to be a symlink created in postinst; you'll probably > need a prerm to remove it (postrm may be too late).
styles.css is initially a symlink into /etc, but it could be replaced by the user, so I'm not sure it makes sense to deal with it specially compared to other files in /var/lib/didiwiki -- or at least not unless the package removal script first checks that it is still a symlink to the initial target. This change: --- /home/moray/Projects/debian/hanna/didiwiki/didiwiki-0.5/debian/didiwiki.postrm 2005-03-31 21:45:14.000000000 +0100 +++ debian/didiwiki.postrm 2006-01-21 19:47:23.000000000 +0000 @@ -4,7 +4,7 @@ case "$1" in purge) - userdel didiwiki || true + userdel -r didiwiki || true rm -f /var/run/didiwiki.pid ;; would remove /var/lib/didiwiki entirely when the package is purged. -- Moray http://www.morayallan.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]