Hello Michael,

I have seen the error before, a while ago when I ran
the following sequence of commands, which was the wrong thing
to do:

# svcadm disable postrun
# svcadm disable dbus   
# pkgrm SUNWdbus-root 

The following package is currently installed:
   SUNWdbus-root  Simple IPC library based on messages - / filesystem
                  (i386) 1.1.2,REV=110.0.4.2007.10.28.14.05

Do you want to remove this package? [y,n,?,q] y
WARNING: Stale lock installed for pkgadd, pkg SUNWiso-codes-devel quit
in analysis state. Removing lock.
...

What is wrong with the above sequence was I should have left
postrun running while uninstalling SUNWdbus-root, I should
have instead have done:

# svcadm disable dbus   
# pkgrm SUNWdbus-root 

And then maybe (if there is some reason to disable postrun):

# svcadm disable postrun

So trying to apply the above to your situation: its probably best
to ensure the postrun service is running when uninstalling and
installing packages.

Thanks, Mark

On Mon, 14 Jul 2008 21:38:45 -0700
michael schuster <Michael.Schuster at Sun.COM> wrote:

> All,
> 
> even though you've been seeing me (claiming to) work on Sparc, I
> thought it'd be nice to be able to show off (and use!) kde on my
> intel laptop (running OpenSolaris, nv build 93), so I wget'ed (or
> "wgot" ?) all the FOSS* and KDE packages/tarballs off of bionicmutton
> and started gunzip|tar -xf'ing and then pkgadding the FOSS packages
> one by one. When all this had finished, I was missing about 12-13
> packages that hadn't been installed. I found a core file in the
> directory where I was doing all this, and pkgadd'ing one of the pkgs
> resulted in a
> 
> WARNING: Stale lock installed for pkgadd, pkg FOSSlibidn quit in
> analysis state.
>      Removing lock.
> 
> and the pkg, despite no more errors, is not installed. I trussed some
> of these attempts as well as an attempted removal, which also
> produced a corefile. they all seem to fail shortly after having read 
> /var/sadm/pkg/FOSSgettext/pkginfo; here's the stack of the pkginstall
> core according to mdb:
> 
> 0804570c libadm.so.1`verscmp+0x50(206c6175, 80a2fa8)
> 08045728 libadm.so.1`ckinst+0x41(fea1575a, 80a2050, 80a2fa8, 0,
> 206c6175) 08045bf0 libadm.so.1`ckinfo+0x16e(fea1575a, 0, 206c6175)
> 08045c20 libadm.so.1`fpkginst+0xa4(8097b1a, 0, 206c6175)
> 
> I'm going to continue searching, but I thought maybe someone has
> already seen this and could share ...
> 
> TIA
> Michael


-- 

Reply via email to