English (change)

Repositories store Ubuntu software packages & libraries online. Here’s a guide to them, to using access keys, and my own repository list for you to copy & paste.
When you need some package – maybe a library, an application, whatever – just type in the name, it downloads and installs, together with whatever dependent files are required. Hey, it’ll even warn you if there’s a conflict with other software.
.. so this is a great, safe system.
[sniplet guvSellBox]
[sniplet jauntyIndexSell]
There are three ways to add extra repositories:-
We’ll do the latter. In each case, you need a key to use the repo, so we’ll get that too.
Worth a read:-
Essentially, this list opens up new package choices from Ubuntu Karmic’s universe, multiverse, backport and Canonical’s partner sources, as well as adding repositories from some of the most useful vendors. Some you may not want to bother with. I’ve included a line about what some of these things are for, and linked to where you can find out more.
Fact is, some repos are safer than others. Any doubt, Google it. Nonetheless, my choices are are widely recognized as being safe. For sure I’ve had no problems and wouldn’t recommend what I don’t use. Then again, use them at your own risk.
For noobs out there, let me be specific, you are not downloading anything here, except the key to each repository you want to query and, when you update your records at the end of this exercise, the details of what packages are available from those repos (from which, if you like, you can download applications thereafter.)
Before you can see what’s available in a repo, you have to unlock the resource. So, 10 repos? .. that’s 10 keys. Let’s get them. Look at the layout of my sources.list file. A typical entry reads:-
[text]
# Ubuntu Tweak
# Must-have Ubuntu configuration tool .. http://ubuntu-tweak.com/about
# sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 6AF0E1940624A220
deb http://ppa.launchpad.net/tualatrix/ubuntu karmic main
deb-src http://ppa.launchpad.net/tualatrix/ubuntu karmic main
[/text]
Note the line that begins # sudo apt-key adv. There is your repository-specific key-request command. So, minus the commenting-out #, for each repo you want, paste just that line into your Terminal, like this, hit return and it’ll download, unlocking the repo:-
[text]sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 6AF0E1940624A220[/text]
.. You can paste a bunch of them in one go, too, pasting something like this:-
[text]
sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 6AF0E1940624A220
sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 89GS8GS
sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com VSZD7800VZSV788
[/text]
For each, you’ll receive back a message saying the key has been imported.
Open and edit your repository file:-
[text]gksudo gedit /etc/apt/sources.list[/text]
.. delete its content, or copy that to somewhere else for now if you prefer, (then bin it in a moment anyway.)
Now paste your edited version of my list or, if you like, just copy the lot:-
[text]
#
# Ubuntu Karmic Koala 9.10 Repositories, from the_guv @ http://guvnr.com
#
#
# Ubuntu Karmic
#
deb http://archive.ubuntu.com/ubuntu karmic main restricted multiverse universe
deb-src http://archive.ubuntu.com/ubuntu karmic main restricted multiverse universe
deb http://archive.ubuntu.com/ubuntu karmic-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu karmic-backports main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu karmic-updates main restricted multiverse universe
deb-src http://archive.ubuntu.com/ubuntu karmic-updates main restricted multiverse universe
deb http://security.ubuntu.com/ubuntu karmic-security main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu karmic-security main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu karmic-proposed main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu karmic-proposed main restricted universe multiverse
#
# Canonical Commercial
#
deb http://archive.canonical.com/ubuntu karmic partner
deb-src http://archive.canonical.com/ubuntu karmic partner
deb http://archive.canonical.com/ubuntu karmic-backports partner
deb-src http://archive.canonical.com/ubuntu karmic-backports partner
deb http://archive.canonical.com/ubuntu karmic-updates partner
deb-src http://archive.canonical.com/ubuntu karmic-updates partner
deb http://archive.canonical.com/ubuntu karmic-security partner
deb-src http://archive.canonical.com/ubuntu karmic-security partner
deb http://archive.canonical.com/ubuntu karmic-proposed partner
deb-src http://archive.canonical.com/ubuntu karmic-proposed partner
#
# System Tools
#
# Ubuntu Tweak
# Must-have Ubuntu configuration tool .. http://ubuntu-tweak.com/about
# sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 6AF0E1940624A220
deb http://ppa.launchpad.net/tualatrix/ubuntu karmic main
deb-src http://ppa.launchpad.net/tualatrix/ubuntu karmic main
#
# Productivity
#
# Gnome-do
# Mac-like desktop apps dock for improved productivity .. http://do.davebsd.com/
# sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 28A8205077558DD0
deb http://ppa.launchpad.net/do-core/ppa/ubuntu karmic main
# Gnome-Globalmenu
# OS X-style global menu .. http://code.google.com/p/gnome2-globalmenu/
# sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 7889D725DA6DEEAA
deb http://ppa.launchpad.net/globalmenu-team/ubuntu karmic main
# Nautilus-dropbox
# File syncing online & across machines, with 2Gb space for free .. http://www.getdropbox.com/
deb http://linux.getdropbox.com/ubuntu karmic main
#
# Computer Graphics & Themes
#
# Compiz-Fusion
# Improved usability with jazzed up graphics .. http://www.compiz-fusion.org/
# sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 2ED6BB6042C24D89
deb http://ppa.launchpad.net/compiz/ubuntu karmic main
# Gnome Icon Theme
# Nice desktop graphics .. http://www.gnome-look.org/content/show.php/GNOME-colors?content=82562
# sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 2D79F61BE8D31A30
deb http://ppa.launchpad.net/gnome-colors-packagers/ppa/ubuntu karmic main
deb-src http://ppa.launchpad.net/gnome-colors-packagers/ppa/ubuntu karmic main
# Project Bisigi Themes
# Strikingly beautiful Gnome themes .. http://www.bisigi-project.org/?lang=en
# sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 6E871C4A881574DE
deb http://ppa.launchpad.net/bisigi/ppa/ubuntu karmic main
deb-src http://ppa.launchpad.net/bisigi/ppa/ubuntu karmic main
#
# Web browsers
#
# Chromium Browser
# Open-source Webkit browser, for testing Safari and Chrome .. http://dev.chromium.org/
# sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 5A9BF3BB4E5E17B5
deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu karmic main
# Epihany
# Another Webkit browser, for testing Safari and Chrome .. http://projects.gnome.org/epiphany/
# sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 2D9A3C5B
deb http://ppa.launchpad.net/webkit-team/epiphany/ubuntu karmic main
deb-src http://ppa.launchpad.net/webkit-team/epiphany/ubuntu karmic main
# Firefox
# Gecko browser
# sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 632D16BB0C713DA6
# deb http://ppa.launchpad.net/fta/ppa/ubuntu karmic main
# This gets latest beta .. for addon conpatability, add bolean to about:config: extensions.checkCompatibility
# sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys 247510BE
# deb http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu karmic main
# deb http://dl.google.com/linux/deb/ stable non-free
# Opera
# Presto browser
# sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 033431536A423791
deb http://deb.opera.com/opera/ stable non-free
#
# Communication
#
# Pidgin
# Multi-client instant messenger .. http://www.pidgin.im/
# sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 7FB8BEE0A1F196A8
deb http://ppa.launchpad.net/pidgin-developers/ppa/ubuntu karmic main
#
# Media
#
# Medibuntu
# Multimedia, entertainment and other distractions .. http://www.medibuntu.org/
# sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 2EBC26B60C5A2783
deb http://packages.medibuntu.org/ karmic free non-free
deb-src http://packages.medibuntu.org/ karmic free non-free
# VLC Player
# Media player, well decked with codecs .. http://www.videolan.org/vlc/
# sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com D739676F7613768D
deb http://ppa.launchpad.net/c-korn/vlc/ubuntu karmic main
#
# Extend with Web Development Packages Tools
#
# Drizzle
# Modular relational db optimised for Cloud and Net apps, a MySQL fork .. https://launchpad.net/drizzle
deb http://ppa.launchpad.net/drizzle-developers/ppa/ubuntu karmic main
deb-src http://ppa.launchpad.net/drizzle-developers/ppa/ubuntu karmic main
#
# Graphics Tools
#
# Shutter
# Feature-rich screenshot program .. http://shutter-project.org/
# sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 009ED615
deb http://ppa.launchpad.net/shutter/ppa/ubuntu karmic main
deb-src http://ppa.launchpad.net/shutter/ppa/ubuntu karmic main
#
# Windows/OS Emulators, Translators, Virtualizers, all that
#
# PlayOnLinux
# Run Windows wares and games .. http://www.playonlinux.com/en
# sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com FC6D7D9D009ED615
deb http://deb.playonlinux.com/ karmic main
# Setup a Virtual OS with Virtualbox (sure beats a dual-boot!)
# Virtualization software for guest OSes .. http://www.virtualbox.org
# sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com DCF9F87B6DFBCBAE
deb http://download.virtualbox.org/virtualbox/debian karmic non-free
# Wine
# Run Windows apps .. http://www.winehq.org/
# sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 58403026387EE263
deb http://wine.budgetdedicated.com/apt karmic main
#
# Package Management
#
# Subversion
# Software versioning .. http://subversion.tigris.org/
# sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 6298AD34413576CB
deb http://ppa.launchpad.net/anders-kaseorg/subversion-1.6/ubuntu karmic main
deb-src http://ppa.launchpad.net/anders-kaseorg/subversion-1.6/ubuntu karmic main
#
# Other Applications
#
# Google
# Picassa, Google Desktop and maybe other stuff .. er, google it!
# sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com A040830F7FAC5991
[/text]
Save the file.
Type:-
[text]sudo aptitude update[/text]
There will be a bunch of errors because you’ve not secured the keys for these places.
If you are pushed for time and just want my list in its totality (or even if you don’t but don’t mind having the odd irrelevant key hanging about in your records), paste this into the terminal as one batch, to save some fiddling about:-
[text]
sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com DCF9F87B6DFBCBAE
sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 6AF0E1940624A220
sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 2EBC26B60C5A2783
sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 28A8205077558DD0
sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 2ED6BB6042C24D89
sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 2D79F61BE8D31A30
sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 6E871C4A881574DE
sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 5A9BF3BB4E5E17B5
sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 991E6CF92D9A3C5B
sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com EF4186FE247510BE
sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 7FB8BEE0A1F196A8
sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com D739676F7613768D
sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 4FEC45DD06899068
sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com FC6D7D9D009ED615
sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 6298AD34413576CB
[/text]
Now you’ve unlocked the resource, don’t forget to update:-
[text]sudo aptitude update[/text]
Maybe you’re getting an error or three, reading something like:-
[text]
W: GPG error: http://ppa.launchpad.net karmic Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 4FEC45DD06899068
W: You may want to run apt-get update to correct these problems
[/text]
The reason you’re getting that, is because you haven’t imported the key, for whatever reason, but basically because you have been a thoroughly disorganized chap
Or is that me?
Of the error message: that last line – ‘You may want to run’ – ignore it.
Of the first line: there’s a hexidecimal number, in this case ’4FEC45DD06899068′.
Remember our key-request command?:-
[text]
sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com SV9D6SVD97967VSD
[/text]
OK, swap that number on the end for the one in the error message, for each of the error messages, inputting them as before in the Terminal or, for this error:-
[text]
sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 4FEC45DD06899068
[/text]
Then have another go:-
[text]
sudo aptitude update
[/text]
Next, in Part 9 – Safe-Upgrade 9.10 System & Packages, we’ll see the true power of this repository file when we upgrade our core system and packages, before we start having fun adding our favorite wares for work and play.
[sniplet jauntyIndex]
Michael November 2nd, 2009 at 7:07 pm
Hi,
The bit on adding the Opera repository is wrong.
the apt line should read:
deb http://deb.opera.com/opera/ stable non-free
Apart from that, isn’t it a bit of an overkill to have separate repositories for everything? After all, most of these things are included in the default repos.
Anyway, thanks for all the good work!
the_guv November 2nd, 2009 at 10:16 pm
@Michael .. big cheers for the tip-off, changed that now.
I’ll have a play with this list to reflect what’s now available in defaults too .. not that it hurts to double up every now and then .. but sure, I wanna have this right, course.
bobbiescap February 2nd, 2010 at 3:10 pm
Thanks dude, you saved me a lot of shagging around a I needed to get my MSI Wind going quickly after I upgraded the hard disc and decided to reload instead of cloning as I had too much crap loaded before. I was able to copy the sources.list file over but didn’t know how to transfer the keys and got them from you. Do you know of a way to back up and restore repository keys?
Anyway, thanks once again for your hard work that has made my job a lot easier. BTW the get-deb repository has a lot of the apps that you are listing individual repos for so you can maybe simplify it a bit via that and keep everybody happy. I am coming back to check out your site some more when I have more time.
Kind regards
the policeman’s helmet
the_guv February 3rd, 2010 at 9:34 am
@bobbiescap .. splendid .. no, dunno a specific backup but I keep a list, like the one on this page, and just run the thing in the terminal when I install a new sys. generally there’s an error or two but using the above i just add those keys afterwards, again doing the above.
yes, come back .. I’ll be writing up the Lucid Lynx guide in April!
wwinfrey March 3rd, 2010 at 10:47 pm
The author may want to put this in comments above the drizzle repo section:
sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 06899068