All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH kexec-tools] github: run apt-get update before installing packages
@ 2022-03-23 14:02 Simon Horman
  2022-03-24 10:56 ` Simon Horman
  0 siblings, 1 reply; 2+ messages in thread
From: Simon Horman @ 2022-03-23 14:02 UTC (permalink / raw)
  To: kexec

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 <horms@verge.net.au>
---
 .github/workflows/build.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

 Workflow run
 - https://github.com/horms/kexec-tools/actions/runs/2028827809

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index df35703a27e0..e554751e0017 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -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: |
-- 
2.30.2



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH kexec-tools] github: run apt-get update before installing packages
  2022-03-23 14:02 [PATCH kexec-tools] github: run apt-get update before installing packages Simon Horman
@ 2022-03-24 10:56 ` Simon Horman
  0 siblings, 0 replies; 2+ messages in thread
From: Simon Horman @ 2022-03-24 10:56 UTC (permalink / raw)
  To: kexec

On Wed, Mar 23, 2022 at 03:02:20PM +0100, Simon Horman wrote:
> 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 <horms@verge.net.au>

Applied.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-03-24 10:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-23 14:02 [PATCH kexec-tools] github: run apt-get update before installing packages Simon Horman
2022-03-24 10:56 ` Simon Horman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.