Oh that's great. I guess you're quoting some source online?
-----BEGIN PGP SIGNED MESSAGE-----
Maybe i can help you with this bogus behavior of the Debian package
The error "dpkg - warning: while removing apacheds, directory `/opt' not
empty so not removed." is triggered when dpkg tries to remove a package
from a directory which is not used by any other Debian package, thus it
looks empty to dpkg, but if you've placed other software under /opt it's
not empty on the file-system layer.
After installing you can check with "dpkg -S /opt" what packages depend
on this directory. In my case, where I was able to reproduce this error,
apacheds was the only owner of /opt inside the dpkg database.
I'm not aware of any workaround to prevent this message as it's just
doing it's intended job.
Pierre-Arnaud Marcelot schrieb:
> Unfortunately, I don't think we have such a possibility.-----BEGIN PGP SIGNATURE-----
> The script should not try to remove /opt. I don't know why it tries to
> remove it on your machine.
> I'll be looking at some doco for this.
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----