Thursday, May 27, 2010

GetDeb, PlayDeb Repositories Down - What To Do? Use This Mirror!

GetDeb is a website which comes with a repository for easily installing lots of Ubuntu applications which are not available in the official Ubuntu repositories (mostly updates). PlayDeb is the same as GetDeb, but for games.

Both the GetDeb.net and PlayDeb.net websites are currently down but if you want to use the repositories, there is a mirror you can use instead of the original GetDeb / PlayDeb repository.


Use a mirror for the GetDeb / PlayDeb repositories


The instructions below replace the official GetDeb / PlayDeb repository with a mirror and they should work on Ubuntu 12.10 and older versions as well as Linux Mint and other Ubuntu-based Linux distributions (separate instructions, see below0.

To replace the GetDeb repository in Ubuntu with a mirror, use the following command:
echo "deb http://mirrors.dotsrc.org/getdeb/ubuntu $(lsb_release -cs)-getdeb apps" | sudo tee /etc/apt/sources.list.d/getdeb.list
echo "deb-src http://mirrors.dotsrc.org/getdeb/ubuntu $(lsb_release -cs)-getdeb apps" | sudo tee -a /etc/apt/sources.list.d/getdeb.list

For Linux Mint and other Ubuntu-based Linux distributions, open the GetDeb .list file with a text editor as root:
gksu gedit /etc/apt/sources.list.d/getdeb.list

And replace the existing lines with the following GetDeb mirror:
deb http://mirrors.dotsrc.org/getdeb/ubuntu UBUNTUVERSION-getdeb apps
deb-src http://mirrors.dotsrc.org/getdeb/ubuntu UBUNTUVERSION-getdeb apps
In the above lines, replace "UBUNTUVERSION" with the corresponding Ubuntu version, e.g. "quantal" for Linux Mint 14 Nadia, etc.


To replace the PlayDeb repository with the same mirror, use the following commands:
echo "deb http://mirrors.dotsrc.org/getdeb/ubuntu $(lsb_release -cs)-getdeb games" | sudo tee /etc/apt/sources.list.d/getdeb.list
echo "deb-src http://mirrors.dotsrc.org/getdeb/ubuntu $(lsb_release -cs)-getdeb games" | sudo tee -a /etc/apt/sources.list.d/getdeb.list


Again, for Linux Mint and other Ubuntu-based Linux distributions, open the GetDeb .list file with a text editor as root:
gksu gedit /etc/apt/sources.list.d/playdeb.list


And replace the lines with this mirror:
deb http://mirrors.dotsrc.org/getdeb/ubuntu UBUNTUVERSION-getdeb games
deb-src http://mirrors.dotsrc.org/getdeb/ubuntu UBUNTUVERSION-getdeb games
Replacing "UBUNTUVERSION" with the corresponding Ubuntu version, e.g. "quantal" for Linux Mint 14 Nadia, etc.


When you're done, update the software sources using the command below:
sudo apt-get update

And let's hope this GetDeb mirror doesn't go down as well.