Thanks. pkg refresh did the trick.
Matt.Ingenthron at Sun.COM wrote:
> Sriram Natarajan wrote:
>> Hi
>> I am running on indiana (opensolaris 2008.05 build 86 - with no
>> updates) and I am unable to get the following command working .
>>
>> [sriramn at sriramN]>pfexec pkg install amp
>> pkg: no package matching 'amp' could be found in current catalog
>> suggest relaxing pattern, refreshing and/or examining catalogs
>> pkg: install failed: Unable to assemble image plan
>> [sriramn at sriramN]>
>>
>> Af course, it used to work fine earlier on my other machines. So, I
>> am wondering if some how recently released build 91 affects this. Is
>> there a log output or some thing that I can search to find the source
>> of the error
>>
>
> What does a pkg search -r say? Also, you may want to run a pkg
> refresh first.
>
> I've also learned (the hard way) that you should update your SUNWipkg
> pkg in many cases. There are many changes to SUNWipkg even at the
> build 86 level. I don't think this is a cause for any of your issues,
> but it's still good to do.
>
> - Matt
>