github: run apt-get update before installing packages
Subsystems (2)
PATCH 1/1 github: run apt-get update before installing packages
Refresh package database before installing dependencies to avoid failures due to trying to install older, no longer available, versions of packages.
Signed-off-by Simon Horman <[email protected]>
--- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
Workflow run
- https://github.com/horms/kexec-tools/actions/runs/2028827809
.github/workflows/build.yml +3 -1
@@ -61,7 +61,9 @@ jobs: - name: Install Dependencies if: env.EXTRA_PKGS != '' - run: sudo apt-get -q=2 install ${{ env.EXTRA_PKGS }} + run: | + sudo apt-get update + sudo apt-get -q=2 install ${{ env.EXTRA_PKGS }} - name: Build run: |
Signature · 1 line
2.30.2
Simon Horman
AppliedPATCH 1/1 github: run apt-get update before installing packages
Quoted 4 lines · Simon Horman
Refresh package database before installing dependencies to avoid failures due to trying to install older, no longer available, versions of packages.
Signed-off-by Simon Horman <[email protected]>
Applied.