Uploaded image for project: 'Moodle Community Sites'
  1. Moodle Community Sites
  2. MDLSITE-5528

Periodically run apt-get autoremove in workers

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: Integration
    • Labels:
      None

      Description

      While time passes, workers /boot partition can become full (right now there were 3 of them > 90%).

      It seems that continuous updates keep all old kernel versions around, unless we remove them...

      Right now I've just executed a quick sudo apt-get autoremove to achieve that manually.

      This is about to add the execution of that command (and maybe others if needed) after every upgrade is performed. This is what I execute in general for debian/ubuntu boxes, for reference as possible thing to automate alltogether:

      sudo apt-get update
      sudo apt-get upgrade
      sudo apt-get dist-upgrade
      sudo apt-get autoremove (with sudo update-grub if there are outdated)
      sudo apt-get autoclean
      

      Ciao

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              stronk7 Eloy Lafuente (stronk7)
              Participants:
              Component watchers:
              Eloy Lafuente (stronk7)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: