As my proxy server has username and password authentication, I tried out the
following command:

export http_proxy=http://username:password at hostelproxy.daiict.ac.in:3128

After that I tried to open the package manager using
gkdu /usr/bin/packagemanager

The package manager pops up but there is no option of install/remove..only
reload comes up..

I tried to user the command pkg install gcc-dev
but it gives me the same error as follows:
ankit at ankitsolaris:/# pkg install gcc-dev
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 75,
in get_manifest
    raise NameError, "could not retrieve manifest '%s' from '%s'" % \
NameError: could not retrieve manifest
'gcc-dev at 0.5.11%2C5.11-0.86%3A20080424T195512Z'
from 'http://pkg.opensolaris.org:80'


I don't understand which setting i am getting wrong which is not letting me
connect to the IPS repository. Is it something related to disabling of nwam
and enabling default?

Regards,
Ankit


On Sat, Aug 9, 2008 at 5:16 AM, Ankit Srivastava <ankit.sunca at 
gmail.com>wrote:

> I tried that..It still gives me the same error.
>
> Does it have something to do with the authentication which our proxy server
> requires.
> We need to enter our username (200501103) and password(*****) when we need
> to access net.
>
> How to set that in the cli environment?
>
> Regards,
> Ankit
>
>
> On Sat, Aug 9, 2008 at 4:55 AM, Glenn Lagasse <Glenn.Lagasse at sun.com>wrote:
>
>> * Ankit Srivastava (ankit.sunca at gmail.com) wrote:
>> > Hi,
>> >
>> > I have installed OpenSolaris 2008.05 on my laptop which is connected to
>> the
>> > internet from our university's proxy server. The details of the server
>> are
>> > as follows:
>> >
>> > HTTP Proxy: hostelproxy.daiict.ac.in   Port: 3128
>> > The proxy server requires authentication using our Student IDs and
>> passwords
>> >
>> > i have configured my firefox and System -> Preferences -> Network Proxy
>> with
>> > the above proxy. The net is working fine and i am able to browse all the
>> > websites.
>> >
>> > I wanted to install openoffice, netbeans, sunstudio etc using the
>> following
>> > commands
>> > pkg install openoffice
>> > pkg install netbeans ... given at
>> > http://dlc.sun.com/osol/docs/content/IPS/instdevsoft.html
>> >
>> > When i run the above command, I get the following error:
>>
>> You need to set the proxy in the cli environment:
>>
>> (for bash which is the default shell for the user created during
>> installation):
>>
>> export http_proxy="http://hostelproxy.daiict.ac.in:3128";
>>
>> Cheers,
>>
>> --
>> Glenn
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.opensolaris.org/pipermail/opensolaris-help/attachments/20080810/3d5ab568/attachment.html>

Reply via email to