Dynamic MMap ran out of room when trying to sudo apt-get anything

2,363

I believe one solution is just increase the value APT::Cache-Limit at the /etc/apt/apt.conf.d/70debconf, to do so use:

sudo gedit /etc/apt/apt.conf.d/70debconf

and add the following to the end of the file:

APT::Cache-Limit "100000000";

..and then run:

sudo apt-get clean
sudo apt-get update --fix-missing
Share:
2,363

Related videos on Youtube

Muhammad Akhtar
Author by

Muhammad Akhtar

Updated on September 18, 2022

Comments

  • Muhammad Akhtar
    Muhammad Akhtar over 1 year

    I am using editor template for editing record. But I add foreign key column in bound fields, Add new Button is stop working, but edit work correctly. Here is my code.

     @(Html.Kendo().Grid<TelerikMvcTestApp.Models.VM.ReferralViewModel>()
        .Name("grid")
        .Columns(c =>
        {
            c.Bound(i => i.ReferralDate).Title("Date");
            c.ForeignKey("AssignedMD.ID", (SelectList)ViewData["UserList"]).Title("Assigned MD").Width(200); // When I comment this line, then It works fine
    c.Command(cmd =>
            {
                cmd.Edit();
                cmd.Destroy();
            });
    
        })
        .HtmlAttributes(new { style = "height: 500px;" })
        .Scrollable()
        .Groupable()
        .Sortable()
        .ToolBar(tb => tb.Create())
                .Editable(ed => ed.Mode(GridEditMode.PopUp).TemplateName("ReferralEdit"))
        .Pageable(pageable => pageable
            .Refresh(true)
            .PageSizes(true)
            .ButtonCount(5))
        .DataSource(dataSource =>
            dataSource
            .Ajax()
            .ServerOperation(true)
            .PageSize(10)
            .Model(model =>
            {
                model.Id(i => i.ID);
                model.Field(i => i.ID).Editable(false);
                model.Field(i => i.AssignedMD.ID).DefaultValue(1);
            })
            .Create(i => i.Action("ReferralCreate", "Referral"))
            .Read(i => i.Action("ReferralRead", "Referral"))
            .Update(i => i.Action("ReferralUpdate", "Referral").Type(HttpVerbs.Post))
            .Destroy(i => i.Action("ReferralDelete", "Referral"))
    

    When I comment this line, then It works fine c.ForeignKey("AssignedMD.ID", (SelectList)ViewData["UserList"]).Title("Assigned MD").Width(200);

  • user1610406
    user1610406 over 11 years
    This didn't work for me, it still says the same thing but after a longer time
  • user1610406
    user1610406 over 11 years
    ACTUALLY, I called what was supposed to be 70debconf 70debconfig and misspelled cache... whoops... And after I fixed that, it worked really well! <3
  • Jan
    Jan over 8 years
    Just as an aside, this is helping me fix a 12 year old computer running a Debian 4.x which won't boot from USB nor optical drive... I'm glad I put on a Debian last time I used it :-)
  • Dustin Oprea
    Dustin Oprea about 7 years
    I'm doing a bind-mount of /var/cache/apt in a Vagrant instance (on top of VirtualBox) to a directory output of Vagrant so that I don't have to re-download the packages every time it comes up. It works fine when I bind-mount the archives/ subdirectory, but when I move up a level to mount /var/cache/apt (so that the update cache is kept too), I start getting this error. This fix doesn't seem to change anything. I'm on 14.04 (LTS). Someone else have this issue?