To use apt-get to install a specific (perhaps older) version of a package, follow the package name with an equals sign and the exact version number. For example:
# apt-get install bash=3.0-17
To determine what version of Solaris you're running, type showrev.