summaryrefslogtreecommitdiff
path: root/DistUpgrade/DistUpgradeCache.py
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-09-29 22:55:44 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2006-09-29 22:55:44 +0200
commit588cd00384f0ac4de95a56d28f248f2298b05fbc (patch)
tree72a81dfd1de6a1c12e3bf943bc9352658de96061 /DistUpgrade/DistUpgradeCache.py
parentf7dc0ba8a869e8cbf1807bb90da82e540291806f (diff)
downloadpython-apt-588cd00384f0ac4de95a56d28f248f2298b05fbc.tar.gz
* DistUpgrade/DistUpgradeCache.py:
- hpijs quirk
Diffstat (limited to 'DistUpgrade/DistUpgradeCache.py')
-rw-r--r--DistUpgrade/DistUpgradeCache.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/DistUpgrade/DistUpgradeCache.py b/DistUpgrade/DistUpgradeCache.py
index 6dd1983d..7b91f4ed 100644
--- a/DistUpgrade/DistUpgradeCache.py
+++ b/DistUpgrade/DistUpgradeCache.py
@@ -179,6 +179,15 @@ class MyCache(apt.Cache):
"python2.4->python upgrade rule")
except SystemError, e:
logging.debug("Failed to apply python2.4->python install: %s (%s)" % (newpkg, e))
+ # deal with $§$/&$ hpijs
+ if (self.has_key("hpijs") and self["hpijs"].isInstalled and
+ not self["hpijs"].markedUpgrade):
+ try:
+ self.markInstall("hpijs","hpijs quirk upgrade rule")
+ except SystemError, e:
+ logging.debug("Failed to apply hpijs install (%s)" % e)
+
+
def dapperQuirks(self):
""" this function works around quirks in the breezy->dapper upgrade """