Skip to content

Perf improvement: disable man-db before removing #40

Open

Description

@lachesis

When run like this, we save more than a minute, from 5:21 runtime to 4:12.

    - name: Disable man-db to make package install and removal faster
      run: |
        echo 'set man-db/auto-update false' | sudo debconf-communicate >/dev/null
        sudo dpkg-reconfigure man-db

    - name: Free Disk Space (Ubuntu) # Attempting to get around 16gb space limitations when building CUDA
      uses: jlumbroso/free-disk-space@main
      with:
        tool-cache: true
        android: true
        dotnet: true
        haskell: true
        large-packages: true
        swap-storage: true

I'm not sure why Github decided to keep the man-db enabled in CI by default. See this issue.

Activity

  1. wind57 commented on Jun 30, 2025

    @wind57

    very nice, thank you for this one!

  2. Dreamsorcerer commented on Jun 19, 2026

    @Dreamsorcerer

    I think Github changed this default, so this should no longer be relevant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions