Re: directory not empty message
On Sun, Jan 09, 2000 at 04:04:39PM +0100, Christian Hammers wrote:
> Hello list
>
> When purging my mysql-server package I always get the following message:
> Purging configuration files for mysql-server ...
> dpkg - warning: while removing mysql-server, directory `/var/lib/mysql'
> not empty so not removed.
>
> How can I get rid of it ? I tried to do a
> if [ "$1" = "purge" ]; then rm -rf /var/lib/mysql; fi
> in the prerm script but it seems that it always gets called with
> "remove" as argument and postrm is the only script that gets called
> with "purge".
>
> Any ideas ?
dpkg bug. Don't worry about it.
One thought, though: has the directory actually disappeared at the end
of the dpkg run?
Julian
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Julian Gilbey, Dept of Maths, QMW, Univ. of London. J.D.Gilbey@qmw.ac.uk
Debian GNU/Linux Developer, see http://www.debian.org/~jdg
Donate free food to the world's hungry: see http://www.thehungersite.com/
Reply to: