summaryrefslogtreecommitdiff
path: root/DistUpgrade/DistUpgradeControler.py
diff options
context:
space:
mode:
Diffstat (limited to 'DistUpgrade/DistUpgradeControler.py')
-rw-r--r--DistUpgrade/DistUpgradeControler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/DistUpgrade/DistUpgradeControler.py b/DistUpgrade/DistUpgradeControler.py
index 9ab18523..7602075c 100644
--- a/DistUpgrade/DistUpgradeControler.py
+++ b/DistUpgrade/DistUpgradeControler.py
@@ -289,7 +289,7 @@ class DistUpgradeControler(object):
if st_archivedir == st_usr:
# we are on the same filesystem, so we need to take the space
# for downloading the debs into account
- free -= self.cache.additionalRequiredSpace
+ free -= self.cache.requiredDownload
logging.debug("/usr on same fs as %s, taking dl-size into account, new free: %s" % (archivedir, free))
else:
free = st_usr[statvfs.F_BAVAIL]*st_usr[statvfs.F_FRSIZE]