I found the source of the problem -- something/someone clobbered 
/var/pkg... that'd do it :)  I suspect I'm hosed now and have to 
reinstall OpenSolaris, since there's really nothing left to rebuild my 
image, correct?

 From now on, regular, preventative ZFS snapshots will be done!

Thx/ERR

Shawn Walker wrote:
> Eric Reid wrote:
>> 'pkg' went from working on our b98 system to this:
>>
>> # uname -a
>> SunOS x4100-240-02 5.11 snv_98 i86pc i386 i86pc
>>
>> # pkg info
>> pkg: '/export/home/repo' is not an install image
>>
>> Any ideas how to resolve, and what might have happened? Is some 
>> metadata around the main install-image corrupted? I searched 
>> everywhere I could think.
>
> Do you by chance have a PKG_IMAGE environment variable set?
>
> What's the output of "which pkg" ?
>
> I ask because pkg will attempt to find the current image starting with 
> the location of the executable.
>
> If you do "pkg -R / info" does it still fail?
>


-- 


        

   Eric Reid

   Staff Engineer, Software
   Sun Microsystems, Inc.

         
 

  Phone: +1 269.629.7238
  Cell:     +1 269.569.1042
  Fax:     +1 650.352.4428
  Blog:    http://blogs.sun.com/err
  AIM:     ereidsan
  SL:      EricReid SunMicrosystems
        

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

Reply via email to