Rechercher dans ce blog

Chargement...

mercredi 1 juin 2011

How to run Solaris 11 Package Manager Updates with a Proxy

If you try to update the Solaris catalog for Package Manager you might face the following issue:

Error:
Catalog refresh error:
Only 0 out of 1 catalogs successfully updated.
Unable to contact valid package repository
Encountered the following error(s):
Unable to contact any configured publishers.
This is likely a network configuration problem.
Framework error: code: 6 reason: Couldn't resolve host 'pkg.oracle.com'
URL: 'http://pkg.oracle.com/solaris/release'. (happened 4 times)

In most cases this is due to the Proxy you are sitting behind …

A possible workaround to this is the following:
 - connect as root
 - start a Terminal
 - execute:
export http_proxy="http://TSF\myaccount:mypwd@proxy.3sixtyfive.net:8080"
    Where
          TSF is your domain
          myaccount is your user account
          mypwd is your user password
          proxy.3sixtyfive.net is your proxy
          8080 is your proxy port
    ie:

 - execute:
/usr/bin/packagemanager

The Package Manager will start and you can get updates.

Aucun commentaire:

Enregistrer un commentaire