[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#490347: apt_preferences: PIN=1 for "NotAutomatic: yes"



Package: apt
Version: 0.7.14+b1
Severity: normal
Tags: patch

In order to understand and handle backports.org archive inteligently, we
should be clear on why they get pin=1.

This is because, its release file has: NotAutomatic: yes

It is documented in SGML file found in the source.  But apt_preference
ignores this facts.  Thus it needs to be fixed as attached patch.

Osamu
--- apt_preferences.5.orig	2008-07-11 23:53:20.000000000 +0900
+++ apt_preferences.5	2008-07-12 00:09:46.000000000 +0900
@@ -57,6 +57,11 @@
 .PP
 If the target release has been specified then APT uses the following algorithm to set the priorities of the versions of a package\&. Assign:
 .PP
+priority 1
+.RS 4
+to the versions that are not installed and do not belong to the target release for archives with their Release files containing "NotAutomatic: yes"\&.
+.RE
+.PP
 priority 100
 .RS 4
 to the version that is already installed (if any)\&.
@@ -64,7 +69,7 @@
 .PP
 priority 500
 .RS 4
-to the versions that are not installed and do not belong to the target release\&.
+to the versions that are not installed and do not belong to the target release for normal archives\&.
 .RE
 .PP
 priority 990
@@ -72,7 +77,7 @@
 to the versions that are not installed and belong to the target release\&.
 .RE
 .PP
-If the target release has not been specified then APT simply assigns priority 100 to all installed package versions and priority 500 to all uninstalled package versions\&.
+If the target release has not been specified then APT simply assigns priority 100 to all installed package versions and priority 500 to all uninstalled package versions for narmal archives\&. For "NotAutomatic" archives, APT assigns priority 1.
 .PP
 APT then applies the following rules, listed in order of precedence, to determine which version of a package to install\&.
 .sp

Attachment: signature.asc
Description: Digital signature


Reply to: