block 670506 by 511034
tags 670506 +wontfix
thanks

On Thu, Apr 26, 2012 at 10:58:06AM +0200, Andreas Beckmann wrote:
> during a test with piuparts I noticed your package left unowned files on
> the system after purge, which is a violation of policy 6.8 (or 10.8):
> 
> http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#s-removedetails
> 
> Filing this as important as having a piuparts clean archive is a release
> goal since lenny.
> 
> >From the attached log (scroll to the bottom...):
> 
> 0m45.9s ERROR: FAIL: Package purging left files on system:
>   /var/lib/dbconfig-common/    not owned
>   /var/lib/dbconfig-common/sqlite/     not owned
>   /var/lib/dbconfig-common/sqlite/movabletype-opensource/      not owned
>   
> /var/lib/dbconfig-common/sqlite/movabletype-opensource/movabletypeopensource  
>        not owned
> 
> 
> dbconfig-common was still installed during purge. As this is state
> information from dbconfig-common, either the postinst does not call the
> dbc actions properly or this is actually a bug in dbconfig-common.

The postrm includes:

if [ -f /usr/share/dbconfig-common/dpkg/postrm ]; then
        . /usr/share/dbconfig-common/dpkg/postrm 
        dbc_go movabletype-opensource $@
fi

My understanding is that this should take care of the dbconfig
purge actions.

dbconfig-common has a debconf question on package purge about removing
the database. I assume that piuparts, run non-interactively, accepts the
default 'no', resulting in the behaviour discussed in #511034. Since that
bug is tagged wontfix, I'm doing the same here, since I don't think there
is anything I can do short of going behind dbconfig-common's back to remove
the database which it's managing.

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to