Speed up apt runs by ignoring man pages#3734
Merged
Merged
Conversation
backmari
approved these changes
Nov 11, 2025
Contributor
backmari
left a comment
There was a problem hiding this comment.
This change should speed up the CI pipeline and has been suggested to be added to the GitHub runner images: actions/runner-images#10977
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
If apt has to do a lot of work (because the base image is out of date, which happens periodically), then it can end up spending a lot of time generating the database of manual pages (trigger for pacakge man-db). If you're unlucky, it takes 30ish seconds on this. We don't need the man pages, so we can ensure this time is not wasted.
How Has This Been Tested?
CI runs
Review Checklist:
[if using the editor, use
[x]in place of[ ]to check a box]Documentation (check at least one)
Installers
Licensing (untick if necessary)