summaryrefslogtreecommitdiff
path: root/DistUpgrade
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-10-13 19:12:33 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2006-10-13 19:12:33 +0200
commit5ba90da43968f23845a572f801025a88f344c7b5 (patch)
treecd96ce39cf70112f9d30a4553764d3c44dbfe54a /DistUpgrade
parent70019d57e2877ea7c3847d13ffea4378d4a8e9ff (diff)
downloadpython-apt-5ba90da43968f23845a572f801025a88f344c7b5.tar.gz
* DistUpgrade/DistUpgradeControler.py:
- log held-back too
Diffstat (limited to 'DistUpgrade')
-rw-r--r--DistUpgrade/DistUpgradeControler.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/DistUpgrade/DistUpgradeControler.py b/DistUpgrade/DistUpgradeControler.py
index bd7f64c8..f91606f8 100644
--- a/DistUpgrade/DistUpgradeControler.py
+++ b/DistUpgrade/DistUpgradeControler.py
@@ -320,13 +320,17 @@ class DistUpgradeControler(object):
inst = []
up = []
rm = []
+ held = []
for pkg in self.cache:
if pkg.markedInstall: inst.append(pkg.name)
elif pkg.markedUpgrade: up.append(pkg.name)
elif pkg.markedDelete: rm.append(pkg.name)
+ elif (pkg.isInstalled and pkg.isUpgradable): held.append(pkg.name)
+ logging.debug("Held-back: %s" % " ".join(held))
logging.debug("Remove: %s" % " ".join(rm))
logging.debug("Install: %s" % " ".join(inst))
logging.debug("Upgrade: %s" % " ".join(up))
+
def doPreUpgrade(self):
# FIXME: check out what packages are downloadable etc to