lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master a5afa42: Run "apt update" before installing t


From: Vadim Zeitlin
Subject: [lmi-commits] [lmi] master a5afa42: Run "apt update" before installing the packages in the CI script
Date: Thu, 29 Apr 2021 18:17:22 -0400 (EDT)

branch: master
commit a5afa4294bbd8b587eaa462d9d23ff2b3403511e
Author: Vadim Zeitlin <vadim@tt-solutions.com>
Commit: Vadim Zeitlin <vadim@tt-solutions.com>

    Run "apt update" before installing the packages in the CI script
    
    Without it, installing default-jre package fails as it resolves to a
    package version not available from the repositories any more.
---
 .github/workflows/ci.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 611a0ed..8956fbe 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -74,6 +74,7 @@ jobs:
             packages="$packages clang libc++abi-dev libc++-dev"
           fi
 
+          sudo apt-get -q -o=Dpkg::Use-Pty=0 update
           sudo apt-get -qq install $packages
 
       - name: Fix up libtool



reply via email to

[Prev in Thread] Current Thread [Next in Thread]