Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 59864 invoked from network); 14 Apr 2008 19:40:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Apr 2008 19:40:47 -0000 Received: (qmail 3312 invoked by uid 500); 14 Apr 2008 19:40:48 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 3175 invoked by uid 500); 14 Apr 2008 19:40:47 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 3164 invoked by uid 99); 14 Apr 2008 19:40:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Apr 2008 12:40:47 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of pajbam@gmail.com designates 209.85.198.231 as permitted sender) Received: from [209.85.198.231] (HELO rv-out-0506.google.com) (209.85.198.231) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Apr 2008 19:40:05 +0000 Received: by rv-out-0506.google.com with SMTP id g37so647824rvb.25 for ; Mon, 14 Apr 2008 12:40:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; bh=oJgfFPDozAThaiadJoalzrwtlSGnYXhWtrerFedm6ao=; b=Fm85e/BsAWfFh3lUFrZO7w+YBI/86Yri3/8Kq356Hy9qrxXGcTOl1bgyXsbpYilAqiHJMrOw54IfpNCC3ryDkzH+lA9CpZ+9KsAQpYgXzjQKnpspyNVLU9HeKKcVSmMLB6vuOtYRl0ERUd3N9hHMnKKX1fHQTefoOy2dXBPk3CA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=gXdVzJSlDgKc6TNtM4CNJMn942GCNcHFnwrY8eVU1OTX1N6xIa7mPQk8GkHkUBg1vflSsYGW675qEQLgz3KvBXMazDttmr8eg76rJxPwsQgr/rYZJ1bzd9oh7Kd64CCUXG5w32zjGA3ulz3wOxpWWJCqKdLeG42KIpXPAwOpU0E= Received: by 10.141.170.10 with SMTP id x10mr3701892rvo.139.1208202018339; Mon, 14 Apr 2008 12:40:18 -0700 (PDT) Received: by 10.140.192.17 with HTTP; Mon, 14 Apr 2008 12:40:18 -0700 (PDT) Message-ID: <98d8c0860804141240v1460ec9rcef65082fb8d0044@mail.gmail.com> Date: Mon, 14 Apr 2008 21:40:18 +0200 From: "Pierre-Arnaud Marcelot" Sender: pajbam@gmail.com To: "Apache Directory Developers List" Subject: Re: Installer problem with attempt to delete opt directory In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_28625_1092928.1208202018327" References: <98d8c0860804141048v181a4deq29b5a4575c444f47@mail.gmail.com> <98d8c0860804141143u66bae23erbb27d93dd194cbcc@mail.gmail.com> X-Google-Sender-Auth: fbc3379f2b101310 X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_28625_1092928.1208202018327 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 On Mon, Apr 14, 2008 at 8:48 PM, Alex Karasulu wrote: > Perhaps there's some kind of default post remove script and the package > manager thinks apacheds is installed at /opt. Maybe overriding this might > fix it. If you don't have time to correct this let me know I'll try to read > up on some of the deb package howtos. > > Alex > > > On Mon, Apr 14, 2008 at 2:46 PM, Alex Karasulu > wrote: > > > Also FYI in the prerm script you don't seem to be stopping the server. > > > > Alex > > > > > > On Mon, Apr 14, 2008 at 2:43 PM, Pierre-Arnaud Marcelot > > wrote: > > > > > Hi Alex, > > > > > > I stricly have no idea... :( > > > > > > That's a very weird issue. > > > > > > Your machine seem to have a "special" /opt partition. > > > > > > Pierre-Arnaud > > > > > > > > > On Mon, Apr 14, 2008 at 8:35 PM, Alex Karasulu > > > wrote: > > > > > > > Pierre here's the output when following the method you recommended > > > > below: > > > > > > > > root@newton:~# dpkg -i > > > > /home/akarasulu/ramdisk/bigbang/installers/apacheds/target/images/apacheds-1.5.2-amd64.deb > > > > > > > > Selecting previously deselected package apacheds. > > > > (Reading database ... 120073 files and directories currently > > > > installed.) > > > > Unpacking apacheds (from .../apacheds-1.5.2-amd64.deb) ... > > > > Setting up apacheds (1.5.2) ... > > > > > > > > root@newton:~# dpkg -r apacheds > > > > (Reading database ... 120149 files and directories currently > > > > installed.) > > > > Removing apacheds ... > > > > dpkg - warning: while removing apacheds, unable to remove directory > > > > `/opt': Device or resource busy - directory may be a mount point ? > > > > dpkg - warning: while removing apacheds, unable to remove directory > > > > `/opt': Device or resource busy - directory may be a mount point ? > > > > root@newton:~# > > > > > > > > Any ideas? > > > > > > > > Thanks, > > > > Alex > > > > > > > > > > > > > > > > On Mon, Apr 14, 2008 at 2:02 PM, Alex Karasulu > > > > wrote: > > > > > > > > > Will check right now. > > > > > > > > > > Alex > > > > > > > > > > > > > > > On Mon, Apr 14, 2008 at 1:48 PM, Pierre-Arnaud Marcelot < > > > > > pa@marcelot.net> wrote: > > > > > > > > > > > Hi Alex, > > > > > > > > > > > > This is really strange that I don't have this on my computer at > > > > > > the office. It runs Ubuntu 7.10. > > > > > > > > > > > > I'm using > > > > > > $ dpkg -i pathToInstaller > > > > > > to install the package. > > > > > > > > > > > > And, > > > > > > $ dpkg -r apacheds > > > > > > to remove it. > > > > > > > > > > > > You can maybe test with this command instead of apt-get. > > > > > > > > > > > > Is there any specific things on your /opt partition (any link or > > > > > > something like that) ? > > > > > > > > > > > > Thanks > > > > > > > > > > > > Pierre-Arnaud > > > > > > > > > > > > > > > > > > On Mon, Apr 14, 2008 at 6:37 PM, Alex Karasulu < > > > > > > akarasulu@apache.org> wrote: > > > > > > > > > > > > > Hi Pierre, > > > > > > > > > > > > > > > > > > > > > I'm still seeing the following issue on Debian when trying to > > > > > > > uninstall the ApacheDS package: > > > > > > > > > > > > > > root@newton:~# apt-get remove apacheds > > > > > > > Reading package lists... Done > > > > > > > Building dependency tree > > > > > > > Reading state information... Done > > > > > > > The following packages will be REMOVED: > > > > > > > apacheds > > > > > > > 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. > > > > > > > Need to get 0B of archives. > > > > > > > After unpacking 9542kB disk space will be freed. > > > > > > > Do you want to continue [Y/n]? Y > > > > > > > (Reading database ... 120255 files and directories currently > > > > > > > installed.) > > > > > > > Removing apacheds ... > > > > > > > dpkg - warning: while removing apacheds, unable to remove > > > > > > > directory `/opt': Device or resource busy - directory may be a mount point ? > > > > > > > dpkg - warning: while removing apacheds, unable to remove > > > > > > > directory `/opt': Device or resource busy - directory may be a mount point ? > > > > > > > > > > > > > > Any idea what could be causing this. I want to try to sort > > > > > > > out this issue before I release the ApacheDS installers subproject. > > > > > > > > > > > > > > Thanks, > > > > > > > Alex > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------=_Part_28625_1092928.1208202018327 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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

On Mon, Apr 14, 2008 at 8:48 PM, Alex Karasulu <akarasulu@apache.org> wrote:
Perhaps there's some kind of default post remove script and the package manager thinks apacheds is installed at /opt.  Maybe overriding this might fix it.  If you don't have time to correct this let me know I'll try to read up on some of the deb package howtos.

Alex


On Mon, Apr 14, 2008 at 2:46 PM, Alex Karasulu <akarasulu@apache.org> wrote:
Also FYI in the prerm script you don't seem to be stopping the server.

Alex


On Mon, Apr 14, 2008 at 2:43 PM, Pierre-Arnaud Marcelot <pa@marcelot.net> wrote:
Hi Alex,

I stricly have no idea... :(

That's a very weird issue.

Your machine seem to have a "special" /opt partition.

Pierre-Arnaud


On Mon, Apr 14, 2008 at 8:35 PM, Alex Karasulu <akarasulu@apache.org> wrote:
Pierre here's the output when following the method you recommended below:

root@newton:~# dpkg -i /home/akarasulu/ramdisk/bigbang/installers/apacheds/target/images/apacheds-1.5.2-amd64.deb
Selecting previously deselected package apacheds.
(Reading database ... 120073 files and directories currently installed.)
Unpacking apacheds (from .../apacheds-1.5.2-amd64.deb) ...
Setting up apacheds (1.5.2) ...

root@newton:~# dpkg -r apacheds
(Reading database ... 120149 files and directories currently installed.)

Removing apacheds ...
dpkg - warning: while removing apacheds, unable to remove directory `/opt': Device or resource busy - directory may be a mount point ?
dpkg - warning: while removing apacheds, unable to remove directory `/opt': Device or resource busy - directory may be a mount point ?
root@newton:~#

Any ideas?

Thanks,
Alex



On Mon, Apr 14, 2008 at 2:02 PM, Alex Karasulu <akarasulu@apache.org> wrote:
Will check right now.

Alex


On Mon, Apr 14, 2008 at 1:48 PM, Pierre-Arnaud Marcelot <pa@marcelot.net> wrote:
Hi Alex,

This is really strange that I don't have this on my computer at the office. It runs Ubuntu 7.10.

I'm using
$ dpkg -i pathToInstaller
to install the package.

And,
$ dpkg -r apacheds
to remove it.

You can maybe test with this command instead of apt-get.

Is there any specific things on your /opt partition (any link or something like that) ?

Thanks

Pierre-Arnaud


On Mon, Apr 14, 2008 at 6:37 PM, Alex Karasulu <akarasulu@apache.org> wrote:
Hi Pierre,


I'm still seeing the following issue on Debian when trying to uninstall the ApacheDS package:

root@newton:~# apt-get remove apacheds
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following packages will be REMOVED:
  apacheds
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B of archives.
After unpacking 9542kB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 120255 files and directories currently installed.)
Removing apacheds ...
dpkg - warning: while removing apacheds, unable to remove directory `/opt': Device or resource busy - directory may be a mount point ?
dpkg - warning: while removing apacheds, unable to remove directory `/opt': Device or resource busy - directory may be a mount point ?

Any idea what could be causing this.  I want to try to sort out this issue before I release the ApacheDS installers subproject.

Thanks,
Alex
 







------=_Part_28625_1092928.1208202018327--