On Mon, Nov 17, 2008 at 03:01:56PM +0530, ramanujan oops wrote:

> Hi, Can some one kindly provide inputs here?

Please have some patience -- following up after only four hours when the
bulk of the team is still in bed and there's a release monster beating down
the door isn't terribly productive.

> My IPS application package installs its files under the target path
> (say) "/opt/SUNWtest/".
> 
> During the application's lifetime, it creates a folder
> "/opt/SUNWtest/output" under which the output files are collected.
> 
> Now, when I uninstall the package, IPS pkg client is unable to remove
> the /opt/SUNWtest/output folder, as this was never created during IPS
> installation. Please find the relevant logs below:

Right.  Since /opt/SUNWtest was installed, it needs to be removed, but the
output directory isn't known, and so we can't just remove it, as it might
have important stuff.  So we put it off into a "lost+found" directory.

Given the name that's being chosen for that directory, it appears you're
using an ancient version of pkg(5) -- certainly before build 91, possibly
the original May release.  You should definitely upgrade (certainly before
asking for more help).

You can work around this problem by removing /opt/SUNWtest/output before
you uninstall, or you can remove the salvage directory:

> '/var/pkg/lost+found/opt/SUNWtest/output-2008-11-14+17:32:27'

Alternately, you could point your program to put its output somewhere else,
so that pkg(5) doesn't get involved.

I don't understand why it's complaining about this directory existing,
since it should be generating the name on each invocation, updating the
time.  It's possible your clock isn't moving, but that's a bit unlikely.

Danek
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to