[PR #5742] [MERGED] ci: always update the package db before installing packages #5648

Closed
opened 2026-05-05 10:42:20 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/5742
Author: @kmk3
Created: 3/21/2023
Status: Merged
Merged: 3/21/2023
Merged by: @kmk3

Base: masterHead: ci-always-update-pkgdb


📝 Commits (1)

  • ff42f72 ci: always update the package db before installing packages

📊 Changes

1 file changed (+10 additions, -0 deletions)

View changed files

📝 .github/workflows/build-extra.yml (+10 -0)

📄 Description

This should fix installing packages on build-extra.yml.

Note that this is already done on build.yml and on gitlab-ci.yml.

From the GitHub Actions documentation[1] [2]:

Note: Always run sudo apt-get update before installing a package. In
case the apt index is stale, this command fetches and re-indexes any
available packages, which helps prevent package installation failures.

[1] https://docs.github.com/en/actions/using-github-hosted-runners/customizing-github-hosted-runners
[2] https://github.com/actions/runner-images/issues/2924


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netblue30/firejail/pull/5742 **Author:** [@kmk3](https://github.com/kmk3) **Created:** 3/21/2023 **Status:** ✅ Merged **Merged:** 3/21/2023 **Merged by:** [@kmk3](https://github.com/kmk3) **Base:** `master` ← **Head:** `ci-always-update-pkgdb` --- ### 📝 Commits (1) - [`ff42f72`](https://github.com/netblue30/firejail/commit/ff42f7248b4bd83a692f553538bbf9150577af99) ci: always update the package db before installing packages ### 📊 Changes **1 file changed** (+10 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/build-extra.yml` (+10 -0) </details> ### 📄 Description This should fix installing packages on build-extra.yml. Note that this is already done on build.yml and on gitlab-ci.yml. From the GitHub Actions documentation[1] [2]: > Note: Always run `sudo apt-get update` before installing a package. In > case the `apt` index is stale, this command fetches and re-indexes any > available packages, which helps prevent package installation failures. [1] https://docs.github.com/en/actions/using-github-hosted-runners/customizing-github-hosted-runners [2] https://github.com/actions/runner-images/issues/2924 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 10:42:20 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#5648
No description provided.