From: Manoj Srivastava Date: Mon, 23 Nov 2009 03:50:11 +0000 (-0600) Subject: [bug442134-srivasta]: Flip back and revert to using Half-Configured state X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=610f3dfd609cdab4b559bef34dff3dc66bc6ac1a;p=debian%2Fdebian-policy.git [bug442134-srivasta]: Flip back and revert to using Half-Configured state Since this is what dpkg has been revamped to do. Signed-off-by: Manoj Srivastava --- diff --git a/policy.sgml b/policy.sgml index 8bfd563..9c4bc5b 100644 --- a/policy.sgml +++ b/policy.sgml @@ -3715,7 +3715,7 @@ Files: If this works, then the old-version is "Installed", if not, the old version is in a - "Failed-Config" state. + "Half-Configured" state. @@ -3823,7 +3823,7 @@ Files: If this fails, the package is left in a "Half-Installed" state, which requires a reinstall. If it works, the packages is left in - a "Config Files" state. + a "Config-Files" state. Otherwise (i.e., the package was completely purged): @@ -3835,7 +3835,7 @@ Files: new-postrm abort-install If the error-unwind fails, the package is in a - "Half Installed" phase, and requires a + "Half-Installed" phase, and requires a reinstall. If the error unwind works, the package is in a not installed state. @@ -3916,13 +3916,13 @@ Files: old-preinst abort-upgrade new-version If this fails, the old version is left in a - "Half Installed" state. If it works, dpkg now + "Half-Installed" state. If it works, dpkg now calls: new-postrm abort-upgrade old-version If this fails, the old version is left in a - "Half Installed" state. If it works, dpkg now + "Half-Installed" state. If it works, dpkg now calls: old-postinst abort-upgrade new-version @@ -4081,7 +4081,7 @@ Files:

- If this fails, the package is in a "Failed-Config" + If this fails, the package is in a "Half-Configured" state, or else it remains "Installed".

@@ -4417,12 +4417,12 @@ Build-Depends: foo [!i386] | bar [!amd64] be unpacked the pre-dependency can be satisfied if the depended-on package is either fully configured, or even if the depended-on - package(s) are only unpacked or in the "Failed-Config" + package(s) are only unpacked or in the "Half-Configured" state, provided that they have been configured correctly at some point in the past (and not removed or partially removed since). In this case, both the previously-configured and currently unpacked or - "Failed-Config" versions must satisfy any version + Half-Configured versions must satisfy any version clause in the Pre-Depends field.

@@ -4479,7 +4479,7 @@ Build-Depends: foo [!i386] | bar [!amd64]

A package will not be regarded as causing breakage merely because its configuration files are still installed; it must - be at least half-installed. + be at least Half-Installed.

@@ -4533,7 +4533,7 @@ Build-Depends: foo [!i386] | bar [!amd64]

A package will not cause a conflict merely because its configuration files are still installed; it must be at least - half-installed. + Half-Installed.