* Cj (unix1adm at yahoo.com) wrote:
> I believe my firewall is blocking the pkgmgr. I get the following when I try 
> to do this 
> 
> root at dt77251:/root/Desktop/Docs/gcc/gcc-4.3.2>pfexec pkg install SUNWgcc
> Creating Plan -Traceback (most recent call last):
>   File "/usr/bin/pkg", line 1440, in ?
>     ret = main_func()
>   File "/usr/bin/pkg", line 1406, in main_func
>     return install(img, pargs)
>   File "/usr/bin/pkg", line 445, in install
>     verbose = verbose, noexecute = noexecute)
>   File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line 1282, 
> in make_install_plan
>     ip.evaluate()
>   File "/usr/lib/python2.4/vendor-packages/pkg/client/imageplan.py", line 
> 344, in evaluate
>     self.evaluate_fmri(f)
>   File "/usr/lib/python2.4/vendor-packages/pkg/client/imageplan.py", line 
> 187, in evaluate_fmri
>     m = self.image.get_manifest(pfmri)
>   File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line 516, in 
> get_manifest
>     m = self._fetch_manifest(fmri)
>   File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line 468, in 
> _fetch_manifest
>     mcontent = retrieve.get_manifest(self, fmri)
>   File "/usr/lib/python2.4/vendor-packages/pkg/client/retrieve.py", line 84, 
> in get_manifest
>     raise NameError, "could not retrieve manifest '%s' from '%s'" % \
> NameError: could not retrieve manifest 'SUNWgcc at 
> 3.4.3%2C5.11-0.86%3A20080426T182221Z' from 'http://pkg.opensolaris.org:80'
> 
> 
> 
> I do get out on Mozilla so the proxy is right. How can I download this
> locally and do the pkg install local? 

Try setting a proxy for pkg:

export http_proxy="http://proxy.name:port";

Then pkg should work just like Mozilla can.

Otherwise, you're out of luck.  You can't compile anything (like gcc) without
a compiler (which is what you're trying to download in the first place).
And currently there aren't any 'file format' IPS packages that you could
download via Mozilla.

Cheers,

Glenn

Reply via email to