Saturday, March 1, 2008

Access and Synchronize GetDeb.net packages through Apt-get and Synaptic

If you already dont know about getdeb.net, it is a great site to download the latest software, not many people know this but you can use getdeb's mirrors as repositories to sync your GetDeb packages with the update manager and Synaptic.



1. Open up a terminal (applications>accessories> Terminal) and run the following:

sudo echo "deb http://ubuntu.org.ua/ getdeb/" | sudo tee -a /etc/apt/sources.list

or

deb http://mirrors.dotsrc.org/ getdeb/

If I were you I would ping each host to see which is closer and add that one

Save the file and exit.

3. Now run the following in the terminal:

sudo apt-get update
sudo apt-get upgrade

Now you should be able to install GetDeb.net programs through the Synaptic package manager as well as apt.


9 comments:

  1. Wow, this is totally fantastic! Thank you so much!

    Do you know if they have a pgp key too, so that I want get a warning every time I upgrade from them?

    ReplyDelete
  2. Using packages from getdeb can cause you big problems and broke lots of packages... :(
    You should not upgrade from getdeb the packages that you already have in the ubuntu repository just because they upgrade it to the latest version a few days later.

    ReplyDelete
  3. Dread,
    could you be more precise ?
    which package from getdeb have caused you a problem ?
    Have you reported it already ?

    Thanks

    ReplyDelete
  4. i never had a problem with getdeb packages messing with my ubuntu packages, the only thing I can think of is that getdeb packages may be more unstable than ubuntu packages

    ReplyDelete
  5. I did sudo echo "deb http://ubuntu.org.ua/ getdeb/" >> /etc/apt/sources.list and got this error bash: /etc/apt/sources.list: Permission denied.

    I did deb http://mirrors.dotsrc.org/ getdeb/ and got this error bash: deb: command not found.

    Is there any other way to add these or what do I need to do to fix these errors.

    ReplyDelete
  6. just use gedit to open the /etc/apt/sources.list file and append the deb http* line at the end of it then apt-get update

    ReplyDelete
  7. There's something wrong with the command there.

    sudo echo "bla bla" >> /etc/apt/sources.list will invoke sudo echo "bla bla as superuser. However, what actually writes to the file is bash (from this >> /etc/apt/sources.list), which is run under your username, and you don't have permission. So, what should be done here is:

    echo "deb http://ubuntu.org.ua/ getdeb/" | sudo tee -a /etc/apt/sources.list

    tee is a program which will write to your sources.list file, and is run through sudo so it'll have the permissions required.

    Another way is to use this:
    sudo -s (which will give you a root terminal)
    Then: echo "deb http://ubuntu.org.ua/ getdeb/ >> /etc/apt/sources.list

    You might also consider separating your sources.list file into manageable portions, for example creating a new file in /etc/apt/sources.list.d/ directory, like this:

    echo "deb http://ubuntu.org.ua/ getdeb/" | tee /etc/apt/sources.list.d/getdeb.list

    ReplyDelete
  8. Simplest way is to go to System->administration->Software Sources. Then under third party repositories, add "deb http://ubuntu.org.ua/ getdeb/"

    ReplyDelete