Monday, December 11, 2006

pkg-get won't update it's version list

Just a simple one to start things off. Blastwave is one of the coolest features of Solaris but I recently had a problem where I could not update the version list in the pkg-get program. I got the following error:

ERROR: catalog failed signature check (status 2)

The way to resolve this problem is pretty easy. First, go to the directory that contains 'wget'. This is most likely to be in /usr/sfw/bin and run the following:

cd /usr/sfw/bin
./wget http://www.blastwave.org/mirrors.html

Then go to the location of gpg (this is most likely in /opt/csw/bin). Then run the following:

cd /opt/csw/bin
gpg --import mirrors.html

This should resolve the situation. You should then be able to do the following to update the version list in Blastwave:

cd /opt/csw/bin
pkg-get -U

Thursday, December 7, 2006

Solaris UNIX for normal people

I started using Solaris UNIX about 3 months ago when management in my office got hold of a mountain load of old SPARC Sun kit off eBay. They decided to use a couple of the rack mounting servers to run some of their applications and I have been detailed with maintaining them. My problem? I've never touched a Solaris box in my life! I am by nature a Mac/Windows user and have never had to dabble in anything but the cuddly UNIX that runs on my MacBook and OS X Server. However, I am happy with my status as a geek and enjoy learning new things. This lil' blog is aiming to provide others in my situation with some tips on how to get around some of the problems that I have encountered.