Ubuntu Mirror


Ubuntu is a 1st class citizen on our mirror. It’s actively used by the LEG admins, and the mirror should always be in tip-top condition. We mirror i386, amd64, powerpc, and sources.


CDs and DVDs are in separate repositories:

Unofficial package DVDs

The unofficial DVDs are created by the LEG admins by request, and contain all the Ubuntu packages, suitable for an offline install. See the README.


Your system can get Ubuntu updates from LEG if you configure it to.

  1. Open: SystemAdministrationSoftware Sources
  2. From Download From, select Other…
  3. From South Africa select ftp.leg.uct.ac.za
  4. That should be it.

Technical Details

If you’ve followed the instructions above, you can ignore this. Your /etc/apt/sources.list file should look something like this:

deb http://ftp.leg.uct.ac.za/ubuntu lucid main restricted universe multiverse
deb http://ftp.leg.uct.ac.za/ubuntu lucid-security main restricted universe multiverse

Add this line to get new versions of software, released to fix minor bugs:

deb http://ftp.leg.uct.ac.za/ubuntu lucid-updates main restricted universe multiverse

Add this line to get even newer versions, if you can’t wait for the next release:

deb http://ftp.leg.uct.ac.za/ubuntu lucid-backports main restricted universe multiverse

Obviously if you use a different release to lucid you should modify it accordingly.

For more information, read the APT HOWTO, Ubuntu apt-get HOWTO, or Ubuntu Sources.list HOWTO

Extra Packages

Medibuntu, useful extra multimedia codecs and other software that cannot be distributed in the official Ubuntu repository (useful):

deb http://ftp.leg.uct.ac.za/medibuntu lucid free non-free

After adding medibuntu, you’ll have to install the medibuntu-keyring package to stop Repository Key errors.

Canonical maintains a repository of proprietary and closed-source commercial software (such as Adobe Acrobat). To enable it, add the following repository:

deb http://ftp.leg.uct.ac.za/canonical-partner lucid partner


Note that normally while on campus, you won’t get an “Upgrade” button, as your system needs to download a special file from the Internet to know that the upgrade exists.

If you have set up ntlmaps / cntlm you don’t need to worry about this, it should just work. If not, you need to edit /etc/update-manager/meta-release. Change the URLs to look like this:

URI = http://ftp.leg.uct.ac.za/pub/linux/ubuntu-changelogs/leg/meta-release
URI_LTS = http://ftp.leg.uct.ac.za/pub/linux/ubuntu-changelogs/leg/meta-release-lts
Syndicate content