Message ID | 20220316123223.554567-1-joel@jms.id.au |
---|---|
State | Accepted |
Headers | show |
Series | github: Run update before installing packages | expand |
On 3/16/22 13:32, Joel Stanley wrote: > The Github CI runners sometimes need to update their apt cache, or > packages fail to install: > > E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-9-cross/gcc-9-powerpc64le-linux-gnu_9.3.0-17ubuntu1~20.04cross2_amd64.deb 404 Not Found [IP: 40.81.13.82 80] > E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? > Error: Process completed with exit code 100. > > Signed-off-by: Joel Stanley <joel@jms.id.au> > --- > .github/workflows/build-docs.yml | 9 ++++----- > 1 file changed, 4 insertions(+), 5 deletions(-) > Applied to master. Thanks, C.
diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index 242f2002e5cc..aab47f7dca8e 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -15,11 +15,10 @@ jobs: uses: actions/checkout@v2 - name: Install apt dependencies - run: | - sudo apt install -qq build-essential gcc-powerpc64le-linux-gnu git lcov \ - device-tree-compiler libssl-dev libmbedtls-dev \ - python3-sphinx python3-recommonmark - + run: sudo apt-get update && + sudo apt-get install -qq build-essential gcc-powerpc64le-linux-gnu git lcov + device-tree-compiler libssl-dev libmbedtls-dev python3-sphinx + python3-recommonmark - name: Generate docs and coverage report run: ./opal-ci/build-docs.sh
The Github CI runners sometimes need to update their apt cache, or packages fail to install: E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-9-cross/gcc-9-powerpc64le-linux-gnu_9.3.0-17ubuntu1~20.04cross2_amd64.deb 404 Not Found [IP: 40.81.13.82 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? Error: Process completed with exit code 100. Signed-off-by: Joel Stanley <joel@jms.id.au> --- .github/workflows/build-docs.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-)