using pkgutil

I’m trying using pkgutil to install rrdtool,

/opt/csw/bin/pkgutil -i rrdtool

and I get an error host is not known.

# /opt/csw/bin/pkgutil -i rrdtoolParsing catalog, may take a while…New packages: CSWcommon-1.8.0,REV=2010.05.01 CSWstl4-12.0,REV=2010.04.23 CSWiconv-1.13.1,REV=2009.07.01 CSWsunmath-5.9,REV=2009.04.30 CSWggettext-0.17,REV=2010.03.08 CSWzlib-1.2.5,REV=2010.06.10 CSWgcc4corert-4.5.1,REV=2010.09.01 CSWgdbm-1.8.3,REV=2006.01.01 CSWbdb44-4.4.20,REV=2007.01.27 CSWpng-1.2.43,REV=2010.04.25 CSWperl-5.8.8,REV=2008.03.25 CSWlibart-2.3.20,REV=2008.03.04 CSWftype2-2.3.12,REV=2010.04.06 CSWrrd-1.2.19,REV=2007.02.07Total size: 29.4 MB14 packages to fetch. Do you want to continue? [Y,n] YFetching CSWcommon-1.8.0,REV=2010.05.01…–09:18:48–  http://download.blastwave.org/csw/unstable/sparc/5.10/common-1.8.0,REV=2010.05.01-SunOS5.8-sparc-CSW.pkg.gz           => `/var/opt/csw/pkgutil/packages/common-1.8.0,REV=2010.05.01-SunOS5.8-sparc-CSW.pkg.gz’Resolving download.blastwave.org… failed: node name or service name not known.


Turn out it is because of the company proxy need to be set up.

So the proxy are exported as below :

export http_proxy=172.123.123.123:8001;export ftp_proxy=172.123.123.123:8001

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.