diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2006-06-01 18:47:14 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2006-06-01 18:47:14 +0200 |
| commit | 8c48c50bd569d49e4b51cd240badc463594c2abe (patch) | |
| tree | 17612181f4fe95853f34c20a49747d6631812ebf /DistUpgrade | |
| parent | 7bf4bfc461af7803475cb484c4baf2644d7faf5a (diff) | |
| download | python-apt-8c48c50bd569d49e4b51cd240badc463594c2abe.tar.gz | |
* DistUpgrade/DistUpgradeControler.py:
- more logging
Diffstat (limited to 'DistUpgrade')
| -rw-r--r-- | DistUpgrade/DistUpgradeControler.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/DistUpgrade/DistUpgradeControler.py b/DistUpgrade/DistUpgradeControler.py index 10234667..b6b52c72 100644 --- a/DistUpgrade/DistUpgradeControler.py +++ b/DistUpgrade/DistUpgradeControler.py @@ -300,6 +300,7 @@ class DistUpgradeControler(object): logging.debug("/usr on different fs than %s, free: %s" % (archivedir, free)) safety_buffer = 1024*1024*75 # 75 Mb + logging.debug("using safety buffer: %s" % safety_buffer) if (self.cache.additionalRequiredSpace+safety_buffer) > free: free_at_least = apt_pkg.SizeToStr(self.cache.additionalRequiredSpace+safety_buffer-free) logging.error("not enough free space, we need addional %s" % free_at_least) |
