This debdiff against apt-cacher 1.5.5 propose a solution to this problem. Basically, it return "503 Cache Full" if it needs to fetch a new file from the archive and the available disk space for the cache is below a certain threshold. You will need to define "check_disk" and "min_disk" in /etc/apt-cacher/apt-cacher.conf for that to work. It also introduce a new Depends on libfilesys-diskspace-perl, although it could be changed to a Recommends or Suggests.
** Attachment added: "apt-cacher_diskspace.debdiff" http://launchpadlibrarian.net/20621667/apt-cacher_diskspace.debdiff -- apt-cacher continues to download index files even if disk is full, wasting bandwidth https://bugs.launchpad.net/bugs/291748 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
