Ubuntu installs previous version of ERLANG Solutions package


I am trying to create a fabric script that will install the erlang solutions R15B02 package and am having some difficulty. I have the following code in my fabric script:

sudo("apt-get update")
    sudo("apt-get -qy install python-software-properties")
    sudo('add-apt-repository "deb http://packages.erlang-solutions.com/debian quantal contrib"')
    sudo('add-apt-repository "deb http://packages.erlang-solutions.com/debian precise contrib"')
    sudo('add-apt-repository "deb http://packages.erlang-solutions.com/debian oneiric contrib"')
    sudo('add-apt-repository "deb http://packages.erlang-solutions.com/debian lucid contrib"')
    sudo("wget http://packages.erlang-solutions.com/debian/erlang_solutions.asc")
    sudo("sudo apt-key add erlang_solutions.asc")
    sudo("apt-get update")
    sudo("apt-get -qy install ca-certificates-java default-jre-headless fontconfig fontconfig-config hicolor-icon-theme icedtea-6-jre-cacao icedtea-6-jre-jamvm java-common libatk1.0-0 libatk1.0-data libavahi-client3 libavahi-common-data libavahi-common3 libcairo2 libcups2 libdatrie1 libfontconfig1 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgl1-mesa-dri libgl1-mesa-glx libglapi-mesa libgstreamer-plugins-base0.10-0 libgstreamer0.10-0 libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libice6 libjasper1 libjpeg-turbo8 libjpeg8 libllvm3.0 libnspr4 libnss3 libnss3-1d liborc-0.4-0 libpango1.0-0 libpixman-1-0 libsm6 libthai-data libthai0 libtiff4 libwxbase2.8-0 libwxgtk2.8-0 libx11-xcb1 libxcb-glx0 libxcb-render0 libxcb-shm0 libxcomposite1 libxcursor1 libxdamage1 libxfixes3 libxft2 libxi6 libxinerama1 libxrandr2 libxrender1 libxxf86vm1 openjdk-6-jre-headless openjdk-6-jre-lib shared-mime-info ttf-dejavu-core tzdata-java x11-common tzdata")
    sudo("apt-get -qy install erlang")

This works wonderful for installing 16B but, one of the applications I need to install on these servers has some incompatabilities with 16B currently. Is there a way that I can specify the R15B02 package? When I run apt-cache showpkg erlang, I only see packages for 16B and 14B.

You can also use one of these projects for installing and managing different versions of Erlang on the same computer: