On Oct 10, 2012, at 4:39 PM, Erik Trauschke wrote: > > > On 10/10/12 04:34 PM, David Sechrest wrote: >> I need some help in determining what the cause of this error might be and how >> to overcome it. >> >> # pkg change-facet >> facet.version-lock.consolidation/cacao/cacao-incorporation=False >> Creating Plan - >> Errors were encountered while attempting to retrieve package or file data for >> the requested operation. >> Details follow: >> >> https protocol error: code: 404 reason: Not Found >> URL: >> 'https://pkg.oracle.com/solaris/support/solaris/file/1/235c7674d821032ae3eeda280c7837d1f1f4fdb5'. >> (happened 4 times) >> >> Here are the some details - >> >> % pkg list -H entire >> entire 0.5.11-0.175.0.9.0.5.0 >> i-- >> >> % pkg publisher >> PUBLISHER TYPE STATUS URI >> solaris origin online >> https://pkg.oracle.com/solaris/support/ >> cacao origin online >> file:///var/opt/sun/xvm/images/IPS/ac-ips-repo/ >> mp-re origin online >> file:///var/opt/sun/xvm/images/IPS/ac-ips-repo/ >> opscenter origin online >> file:///var/opt/sun/xvm/images/IPS/ac-ips-repo/ >> >> I am able to reach the solaris publisher as I'm able to install packages >> from this solaris repo. >> >> I can provide access to the system if that would help. > > If you want to install a more recent version of a consolidation than you have > in the repo for the solaris publisher you have to search this consolidation > repo before the solaris repo.
I don't want to install anything (at least not yet). I've now unset the other publishers so I only have a solaris pub: % pkg publisher -H solaris origin online https://pkg.oracle.com/solaris/support/ And now I want to change the facet of the cacao-incoporation package and that is still failing. It is not failing on other systems installed with the same OS version and pointing to the same solaris repo. % pkg change-facet facet.version-lock.consolidation/cacao/cacao-incorporation=False ; echo $? Creating Plan - Errors were encountered while attempting to retrieve package or file data for the requested operation. Details follow: https protocol error: code: 404 reason: Not Found URL: 'https://pkg.oracle.com/solaris/support/solaris/file/1/235c7674d821032ae3eeda280c7837d1f1f4fdb5'. (happened 4 times) I don't see how this can have anything to do with publisher search order. thanks Dave > > Based on your setup above, you should be able to fix things by doing: > > pkg set-publisher --search-after opscenter solaris > > This will move it to the end of the list. > > It might also be necessary to make the solaris publisher non-sticky. > > Erik --- David Sechrest Phone: (408)276-5800 x15800 Systems Management Email: [email protected] Oracle Corporation _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
