doc/deduction.txt
author Shawn Walker <shawn.walker@oracle.com>
Sat, 16 Jul 2011 08:45:13 -0700
changeset 2468 ce77b64883c4
parent 15 fba016a465cc
permissions -rw-r--r--
18710 conditional dependencies can cause install and uninstall failure when dependency cannot be installed
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
15
fba016a465cc deduction and self-repair, add note on ARCHIVED server state/substate
"Stephen Hahn <sch@sun.com>"
parents:
diff changeset
     1
fba016a465cc deduction and self-repair, add note on ARCHIVED server state/substate
"Stephen Hahn <sch@sun.com>"
parents:
diff changeset
     2
pkg
fba016a465cc deduction and self-repair, add note on ARCHIVED server state/substate
"Stephen Hahn <sch@sun.com>"
parents:
diff changeset
     3
CLIENT DEDUCTION AND SELF-REPAIR
fba016a465cc deduction and self-repair, add note on ARCHIVED server state/substate
"Stephen Hahn <sch@sun.com>"
parents:
diff changeset
     4
fba016a465cc deduction and self-repair, add note on ARCHIVED server state/substate
"Stephen Hahn <sch@sun.com>"
parents:
diff changeset
     5
  In the case of a partially installed system, a system installed by a
fba016a465cc deduction and self-repair, add note on ARCHIVED server state/substate
"Stephen Hahn <sch@sun.com>"
parents:
diff changeset
     6
  previous packaging regime, or a system that has been somehow damaged,
fba016a465cc deduction and self-repair, add note on ARCHIVED server state/substate
"Stephen Hahn <sch@sun.com>"
parents:
diff changeset
     7
  it is possible for the pkg system to identify the current system's
fba016a465cc deduction and self-repair, add note on ARCHIVED server state/substate
"Stephen Hahn <sch@sun.com>"
parents:
diff changeset
     8
  state via a deductive process.
fba016a465cc deduction and self-repair, add note on ARCHIVED server state/substate
"Stephen Hahn <sch@sun.com>"
parents:
diff changeset
     9
fba016a465cc deduction and self-repair, add note on ARCHIVED server state/substate
"Stephen Hahn <sch@sun.com>"
parents:
diff changeset
    10
  That is, the client can examine an image's contents and determine, by
fba016a465cc deduction and self-repair, add note on ARCHIVED server state/substate
"Stephen Hahn <sch@sun.com>"
parents:
diff changeset
    11
  interrogation, the precise version of each package installed in the
fba016a465cc deduction and self-repair, add note on ARCHIVED server state/substate
"Stephen Hahn <sch@sun.com>"
parents:
diff changeset
    12
  image.  If a specific file is missing, then the client can move the
fba016a465cc deduction and self-repair, add note on ARCHIVED server state/substate
"Stephen Hahn <sch@sun.com>"
parents:
diff changeset
    13
  package from (INSTALLED, .) to (INSTALLED, damaged) and record the
fba016a465cc deduction and self-repair, add note on ARCHIVED server state/substate
"Stephen Hahn <sch@sun.com>"
parents:
diff changeset
    14
  operation it would take to restore the package's state (via restoring
fba016a465cc deduction and self-repair, add note on ARCHIVED server state/substate
"Stephen Hahn <sch@sun.com>"
parents:
diff changeset
    15
  the contents).
fba016a465cc deduction and self-repair, add note on ARCHIVED server state/substate
"Stephen Hahn <sch@sun.com>"
parents:
diff changeset
    16
fba016a465cc deduction and self-repair, add note on ARCHIVED server state/substate
"Stephen Hahn <sch@sun.com>"
parents:
diff changeset
    17
  XXX Most efficient algorithm for the minimum set of queries to
fba016a465cc deduction and self-repair, add note on ARCHIVED server state/substate
"Stephen Hahn <sch@sun.com>"
parents:
diff changeset
    18
  identify the specific version of a package an image contains?
fba016a465cc deduction and self-repair, add note on ARCHIVED server state/substate
"Stephen Hahn <sch@sun.com>"
parents:
diff changeset
    19