You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@avro.apache.org by mg...@apache.org on 2022/02/21 21:00:38 UTC

[avro] branch master updated: Update from the Ubuntu repositories before installing the dependencies

This is an automated email from the ASF dual-hosted git repository.

mgrigorov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/avro.git


The following commit(s) were added to refs/heads/master by this push:
     new 5a8c87a  Update from the Ubuntu repositories before installing the dependencies
5a8c87a is described below

commit 5a8c87a96d9aeb63b68b1f93bcff99347913a81b
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
AuthorDate: Mon Feb 21 22:59:13 2022 +0200

    Update from the Ubuntu repositories before installing the dependencies
    
    Try to fix:
    
    Run sudo apt-get install -qqy cppcheck libboost-all-dev libsnappy-dev cmake
    E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/n/nvidia-settings/libxnvctrl0_470.57.01-0ubuntu0.20.04.2_amd64.deb  404  Not Found [IP: 52.250.76.244 80]
    E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
    
    The problem is that there is no .deb for 20.04.2, but only for 20.04.1
    and 20.04.3
    
    see https://github.com/apache/avro/runs/5279907468?check_suite_focus=true
    
    Signed-off-by: Martin Tzvetanov Grigorov <mg...@apache.org>
---
 .github/workflows/test-lang-c++.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/test-lang-c++.yml b/.github/workflows/test-lang-c++.yml
index c7db380..41023ac 100644
--- a/.github/workflows/test-lang-c++.yml
+++ b/.github/workflows/test-lang-c++.yml
@@ -35,7 +35,7 @@ jobs:
       - uses: actions/checkout@v2
 
       - name: Install Dependencies
-        run: sudo apt-get install -qqy cppcheck libboost-all-dev libsnappy-dev cmake
+        run: sudo apt update && sudo apt-get install -qqy cppcheck libboost-all-dev libsnappy-dev cmake
 
       - name: Clean
         run: ./build.sh clean