On Mon, Nov 17, 2008 at 8:45 PM, Danek Duvall <[EMAIL PROTECTED]> wrote:

> 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.


Agree that I must have some patience! I apologize..

>
>
> > 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.


So, what I get here is, it is the intended behavior of IPS. Please confirm..

>
>
> 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).


Yes, indeed im using the original May release. I tried upgrading my image
through:

pkg image-update

But the image-update would hang and also the network interface goes down!

Then I tried upgrading by doing(hope these are the correct packages to be
installed)

pkg install SUNWipkg
pkg install SUNWpkgcmds

Both these commands are hung in the "Creating Plan |" state for a long time!

Not sure if I'm missing something here..


>
> 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'
>

Tried removing the salvage directory, but the
"/var/pkg/lost+found/opt/SUNWtest/output" would get created again and throws
the same error messages.

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


Not an option at the moment. The program is a legacy one and it is now being
ported to IPS standards. Not sure how the community will respond if the
legacy output location is changed now..

>
>
> 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