With t-o-t packages on LinuxMint (so debian -> ubuntu genealogy), I see
this ...
dpkg: warning: unable to delete old directory '/var/lib/pcp/tmp/mmv':
Directory not empty
dpkg: warning: unable to delete old directory '/var/lib/pcp/tmp':
Directory not empty
This is a variant of something Frank mentioned earlier in the context of
the proposed relocation of the configuration files (e.g. pmcd.conf).
I think we need uber preinst and postinst scripts to handle these sort
of migrations.
In the case above, the preinst script needs to cleanout the contents
of /var/lib/pcp/tmp and /var/lib/pcp/tmp/mmv so the rmdir from the
package upgrade will work.
|