388
388
free = st_usr[statvfs.F_BAVAIL]*st_usr[statvfs.F_FRSIZE]
389
389
logging.debug("/usr on different fs than %s, free: %s" % (archivedir, free))
392
392
logging.debug("using safety buffer: %s" % safety_buffer)
393
393
if (self.cache.additionalRequiredSpace+safety_buffer) > free:
394
394
free_at_least = apt_pkg.SizeToStr(self.cache.additionalRequiredSpace+safety_buffer-free)