On Tue, Jun 16, 2009 at 01:38:09AM -0700, Mike "Ford" Ditto wrote:

> Danek Duvall <danek.duvall at sun.com> wrote:
> 
> > > Install Phase                              1333/6412 Action install 
> > > failed for 'lib/libc.so.1' (pkg:/SUNWcsl):
> > 
> > Here's where it goes crazy.  If you're still feeling brave, can you redo
> > the previous commands, and then run "pkg install -nv SUNWinstall-libs"
> > instead of the real install?
> 
> Danek, thanks for trying to figure this out.
> Here you go:
> 
> $ pkg list -avf SUNWcsl >SUNWcsl.before.list
> $ BUILD=`uname -v | sed -e "s/snv_//" -e "s/[a-z]//"`
> $ echo $BUILD       
> 86
> $ pfexec pkg refresh
> $ pfexec pkg install entire at 0.5.11-0.${BUILD}
> No updates available for this image.    
> $ pfexec pkg install SUNWipkg at 0.5.11-0.${BUILD}
> No updates available for this image.    
> $ pkg list -avf SUNWcsl >SUNWcsl.after.list
> $ pfexec pkg install -nv SUNWinstall-libs
> Creating Plan \ Before evaluation:      
> UNEVALUATED:
> +pkg:/SUNWinstall-libs at 0.5.11,5.11-0.86:20081209T153850Z
> 
> After evaluation:
> pkg:/SUNWinstall-libs at 0.5.11,5.11-0.86:20080426T174933Z -> 
> pkg:/SUNWinstall-libs at 0.5.11,5.11-0.86:20081209T153850Z
> Actuators:
> 
> None

That indicates that install SUNWinstall-libs shouldn't do anything other
than install that one package.  Specifically, it *won't* bring in SUNWcsl.

So if you try it without -n, does it still blow up?

> $ diff SUNWcsl.before.list SUNWcsl.after.list 
> 17c17
> < pkg:/SUNWcsl at 0.5.11,5.11-0.86:20080426T173025Z           known      u---
> ---
> > pkg:/SUNWcsl at 0.5.11,5.11-0.86:20080426T173025Z           installed  u---

That's strange -- if this one went from "known" to "installed", then
another version needed to have gone from "installed" to "known".

Danek

Reply via email to