Differences between version 16 and predecessor to the previous major change of AptSourcesList.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 16 | Last edited on Saturday, April 15, 2006 7:53:59 pm | by zcat(1) | Revert |
Older page: | version 15 | Last edited on Friday, April 14, 2006 12:31:12 pm | by LizReid | Revert |
@@ -1,5 +1,5 @@
-!!New Zealand sources.list for apt(8) on [Debian]
+!!New Zealand sources.list for apt(8) on [Debian] and Ubuntu
apt's behaviour is moulded by files in /etc/apt: apt.conf(5) tells apt how to behave, and (more importantly) sources.list(5) tells apt where to look for packages. There are two types of entries in this file, __deb__ lines, referring to Debian binary package repositories, and __deb-src__ lines, for source packages. Unless you want to compile packages yourself from Debian sources, you can usually remove the deb-src lines from your config and save some time downloading headers.
If you're running a production server, or don't need bleeding edge, your lines should read
@@ -88,14 +88,38 @@
NB This might not be legal in your country.
Also, see http://debian.video.free.fr/ if you want this for other versions of Debian or other processor architecutres than i386.
+
!!Ubuntu APT
+
+Synaptic does a very nice job of managing your ubuntu sources list. You can add the universe and multiverse repositories with a few mouseclicks, and even add non-standard repositories without leaving the GUI.
+
+The following sources.list will give you access to all of the officially supported packages in Ubuntu from the New Zealand mirrors.
<pre>
-deb http://nz.archive.ubuntu.com/ubuntu warty
main restricted
-or
-deb http://packages.debian
.co
.nz/ubuntu warty
main restricted
+# Ubuntu supported packages (packages, GPG key: 437D05B5)
+
deb http://nz.archive.ubuntu.com/ubuntu breezy
main restricted
+deb http://nz.archive.ubuntu.com/ubuntu breezy-updates main restricted
+deb http://security.ubuntu.com/ubuntu breezy-security main restricted
+
+# Ubuntu supported
packages (sources, GPG key: 437D05B5)
+deb-src http://nz
.archive
.ubuntu
.com/ubuntu breezy main restricted
+deb-src http://
nz.archive.ubuntu.com
/ubuntu breezy-updates
main restricted
+deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted
+
+# Ubuntu community supported packages (packages, GPG key: 437D05B5)
+deb http://nz.archive.ubuntu.com/ubuntu breezy universe multiverse
+deb http://nz.archive.ubuntu.com/ubuntu breezy-updates universe multiverse
+deb http://security.ubuntu.com/ubuntu breezy-security universe multiverse
+
+# Ubuntu community supported packages (sources, GPG key: 437D05B5)
+deb-src http://nz.archive.ubuntu.com/ubuntu breezy universe multiverse
+deb-src http://nz.archive.ubuntu.com/ubuntu breezy-updates universe multiverse
+deb-src http://security.ubuntu.com/ubuntu breezy-security universe multiverse
+
</pre>
-Swap out warty
with whatever distro you use
.
-Note
: This ubuntu part was
a quick addition
and more details are probably required.
+
+Easyubuntu and automatix scripts have an option to update your sources.list too. Use this option
with caution because it quite often screws up
.
+
+There's also [Source-O-Matic|http
://www.ubuntulinux.nl/source-o-matic] which will build you a sources list using the official, and some of the better-known unofficial repositories.
This has always worked very well for me, and is
a quick and easy way to get back to a working config if you let easyubuntu or automatix break it :-)