diff options
Diffstat (limited to 'DistUpgrade')
| -rw-r--r-- | DistUpgrade/Changelog | 3 | ||||
| -rw-r--r-- | DistUpgrade/DistUpgradeControler.py | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/DistUpgrade/Changelog b/DistUpgrade/Changelog index 13f3fe06..a9786895 100644 --- a/DistUpgrade/Changelog +++ b/DistUpgrade/Changelog @@ -1,6 +1,5 @@ 2006-05-30: - - added a segv handler that writes into - /var/log/dist-upgrade-segv.log + - fix bug in the free space calculation (#47092) 2006-05-24: - if the initial "update()" fails, just exit, don't try to restore the old sources.list (nothing was modified yet) 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] |
