Package: apt-proxy
Severity: important
Justification: Breaks package under certain (easily occuring) circumstances
Version: 1.9.31

With a sufficiently large set of repositories, apt-proxy (or rather, apt_pkg
inside it) throws the well-known "Dynamic MMap ran out of room" error
(visible in /var/log/apt-proxy.log).

A minimal fix is to add a line to the local_config dictionary
(apt_proxy/packages.py:59) to specify a large cache-limit:

    local_config = {
        #'APT' : '',
        'APT::Architecture' : apt_pkg.CPU,
        #'APT::Default-Release' : 'unstable',
+       'APT::Cache-Limit' : '100000000',
        'Dir':'/home/ranty/work/apt-proxy/twisted/cache/', # /
        'Dir::State' : 'apt/', # var/lib/apt/
        
But it might be better if the cache limit were configurable.

- Matt

Attachment: signature.asc
Description: Digital signature

Reply via email to