Penguin
Diff: AptSourcesList
EditPageHistoryDiffInfoLikePages

Differences between version 17 and predecessor to the previous major change of AptSourcesList.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 17 Last edited on Saturday, April 15, 2006 7:55:48 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 
@@ -17,9 +17,9 @@
 NOTE: if you use 'stable', when a new stable release happens, apt-get will start giving you new versions of packages, which could do all sorts of things. It pays to use the name of the distribution, ie 'sarge', in this case. 
  
 There are plenty of other Apt mirrors around the world; try http://www.''your two letter country code''.debian.org/. 
  
-<pre
+<verbatim
 # WLUG sources.list for Debian. See http://www.wlug.org.nz/AptSourcesList 
 # for an up to date version. See sources.list(5) for more information. 
 
 # Remember that you can only use http, ftp or file URIs - 
@@ -71,9 +71,9 @@
  
 # Uncomment to use the "main" American source 
 # deb http://http.us.debian.org/debian stable main contrib non-free 
  
-</pre
+</verbatim
  
 !!Pinning your distribution 
  
 If you want to use packages from several distributions at once, see AptNotes for details on pinning packages. 
@@ -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 
  
-<pre >  
-deb http://nz.archive.ubuntu.com/ubuntu warty main restricted  
-or  
-deb http://packages.debian .co .nz/ubuntu warty main restricted  
-</pre >  
-Swap out warty with whatever distro you use .  
-Note : This ubuntu part was a quick addition and more details are probably required.  
+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.  
+  
+ <verbatim >  
+# 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  
+  
+</verbatim >  
+  
+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 :-)