directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fladischer Michael <mich...@fladi.at>
Subject Re: Installer problem with attempt to delete opt directory
Date Mon, 14 Apr 2008 21:11:49 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

Maybe i can help you with this bogus behavior of the Debian package
management:

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.

Regards, Michael

Pierre-Arnaud Marcelot schrieb:
> Unfortunately, I don't think we have such a possibility.
> 
> 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.
> 
> P-A

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIA8iUhuoBH16pp9gRAtc7AKCZqHIn2TwgzbHNxVydYm+BB9tYVwCg0S06
H9/wAByq1NoWcRskURQw9AY=
=Vvk5
-----END PGP SIGNATURE-----

Mime
View raw message