Tuesday, January 13, 2009

pkg-get on solaris, there is new link for url

After not using pkg-get on Solaris for couple months, I got error like this.

bash-3.00# /opt/csw/bin/pkg-get -i nano
WARNING: gpg not found
No existing install of CSWnano found. Installing...
Trying http://ibiblio.org/pub/packages/solaris/csw/unstable/i386/5.10/nano-1.2.5,REV=2005.08.14-SunOS5.8-i386-CSW.pkg.gz
--11:26:07-- http://ibiblio.org/pub/packages/solaris/csw/unstable/i386/5.10/nano-1.2.5,REV=2005.08.14-SunOS5.8-i386-CSW.pkg.gz
=> `nano-1.2.5,REV=2005.08.14-SunOS5.8-i386-CSW.pkg.gz'
Resolving ibiblio.org... 152.46.7.80
Connecting to ibiblio.org|152.46.7.80|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
11:26:08 ERROR 404: Not Found.

Error downloading http://ibiblio.org/pub/packages/solaris/csw/unstable/i386/5.10/nano-1.2.5,REV=2005.08.14-SunOS5.8-i386-CSW.pkg.gz
(Perhaps you need to update your catalog?)
nano-1.2.5,REV=2005.08.14-SunOS5.8-i386-CSW.pkg.gz: No such file or directory

Attempting to update catalog, then retry

Getting catalog...
--11:26:08-- http://ibiblio.org/pub/packages/solaris/csw/unstable/i386/5.10/catalog
=> `catalog'
Resolving ibiblio.org... 152.46.7.80
Connecting to ibiblio.org|152.46.7.80|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
11:26:08 ERROR 404: Not Found.

ERROR: could not get catalog file
bash-3.00#

Hey, whats going on with .. pkg-get.
Then I go to

http://solaris.reys.net/english/2006/02/pkg-get_blastwave_how-to

looking for some information, looks everything is fine.

Then i visiting this site

http://ibiblio.org/pub/packages/solaris/opencsw/

well, look the URL was change, I am not sure since when ..

so I edit the configuration pkg-get on /opt/csw/etc/pkg-get.conf

and change the default site from

url=http://ibiblio.org/pub/packages/solaris/csw/unstable

to


url=http://ibiblio.org/pub/packages/solaris/opencsw/unstable

and everything going fine.

So I download and install package using pkg-get again.

For example installing nano editor :

bash-3.00# /opt/csw/bin/pkg-get -i nano

...
/opt/csw/share/locale/ro/LC_MESSAGES/nano.mo
/opt/csw/share/locale/ru/LC_MESSAGES/nano.mo
/opt/csw/share/locale/sr/LC_MESSAGES/nano.mo
/opt/csw/share/locale/sv/LC_MESSAGES/nano.mo
/opt/csw/share/locale/tr/LC_MESSAGES/nano.mo
/opt/csw/share/locale/uk/LC_MESSAGES/nano.mo
/opt/csw/share/man/man1/nano.1
/opt/csw/share/man/man5/nanorc.5
[ verifying class ]
## Executing postinstall script.
Updating the info dir file for CSWtexinfo
chroot: exec failed: No such file or directory

Installation of was successful.
bash-3.00#

No comments:

Post a Comment