Penguin

Differences between version 27 and predecessor to the previous major change of AptNotes.

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

Newer page: version 27 Last edited on Friday, May 5, 2006 10:23:41 pm by CraigBox Revert
Older page: version 26 Last edited on Saturday, April 29, 2006 12:54:56 pm by PerryLorier Revert
@@ -53,8 +53,20 @@
  
 Create an <tt>/etc/apt/preferences</tt> file. A simple example may look like this: 
  
  <verbatim> 
+ Package: *  
+ Pin: release o=volatile.debian.net,a=sarge  
+ Pin-Priority: 990  
+  
+ Package: *  
+ Pin: release o=volatile.debian.net,a=sarge-sloppy  
+ Pin-Priority: 990  
+  
+ Package: *  
+ Pin: origin security.debian.org  
+ Pin-Priority: 900  
+  
  Package: * 
  Pin: release a=stable 
  Pin-Priority: 700 
  
@@ -66,9 +78,11 @@
  Pin: release a=unstable 
  Pin-Priority: 600 
  </verbatim> 
  
-Note the descending values. Since Stable has the highest pin-priority, it will be installed preferentially over Testing or Unstable. Now, uncomment stable and unstable in the AptSourcesList file at the same time. See [Apt-Pinning for Beginners | http://jaqque.sbih.org/kplug/apt-pinning.html] for more information. 
+Note the descending values. This example includes the [volatile|FlavoursOfDebian] distribution as well. The priority is set higher than the security distribution, as we want to favour it over the (normally higher rating) security packages.  
+  
+ Since Stable has the highest pin-priority, it will be installed preferentially over Testing or Unstable. Uncomment stable and unstable in the AptSourcesList file at the same time. See [Apt-Pinning for Beginners | http://jaqque.sbih.org/kplug/apt-pinning.html] for more information. 
  
 You can then specifically request packages from the Testing or Unstable repository by using one of the following forms:'''' 
  
  <pre>