"Dynamic MMap ran out of room" error when adding new apt source list
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
No difference. Should I maybe make a new file to replace it with?
That may help, but on the other hand whatever caused the ghost extra space to appear is the real problem. I worry that redoing the file would only recreate the problem. Still, it may be worth a try. First backup the current list, by doing "cp /etc/apt/sources.list /etc/apt/sources.list.bak". Then you can try removing the sources list and write an entirely new one. Try using a different editor maybe (vi/vim should be fine, but something is clearly going wrong with it).
Add the following line to either /etc/apt/apt.conf or /etc/apt/apt.conf.d/70debconf
Code:
APT::Cache-Limit "8388608";
This is so annoying! Why do we have to do this manually? Shouldn't it just use up as much space as necessary, no matter if we have 3 repos or 30? That's just user hostile, not user friendly.
Anyways, I trimmed down my sources, and it is working better no. No more contrib and non-free (for the short term)
I think this didn't work:
[~]# etc/apt/apt.conf.d
-su: etc/apt/apt.conf.d: No such file or directory
[~]# etc/apt/apt.conf.d/70debconf
-su: etc/apt/apt.conf.d/70debconf: No such file or directory
[~]# etc/apt/apt.conf
-su: etc/apt/apt.conf: No such file or directory
[~]#
// Pre-configure all packages with debconf before they are installed.
// If you don't like it, comment it out.
DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt || true";};
APT::Cache-Limit "16777216";
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.