You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by sw...@apache.org on 2026/09/02 03:34:03 UTC

(logging-log4cxx) 01/01: Ensure Ubuntu package data is current in CI runners

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

swebb2066 pushed a commit to branch fix_ubuntu_apt_mirrors
in repository https://gitbox.apache.org/repos/asf/logging-log4cxx.git

commit 68d0b583fd5c7a1ef495b98f4e3e674a152a98c9
Author: Stephen Webb <sw...@gmail.com>
AuthorDate: Wed Sep 2 13:33:40 2026 +1000

    Ensure Ubuntu package data is current in CI runners
---
 .github/workflows/abi-compatibility.yml | 1 +
 .github/workflows/log4cxx-cpp11.yml     | 1 +
 .github/workflows/log4cxx-ubuntu.yml    | 1 +
 3 files changed, 3 insertions(+)

diff --git a/.github/workflows/abi-compatibility.yml b/.github/workflows/abi-compatibility.yml
index 894e890c..2525dfe5 100644
--- a/.github/workflows/abi-compatibility.yml
+++ b/.github/workflows/abi-compatibility.yml
@@ -38,6 +38,7 @@ jobs:
 
     - name: 'Configure Dependencies - Ubuntu'
       run: |
+        sudo apt-get update
         sudo apt-get install -y g++-11 libapr1-dev libaprutil1-dev elfutils vtable-dumper universal-ctags
 
     - name: 'run CMake'
diff --git a/.github/workflows/log4cxx-cpp11.yml b/.github/workflows/log4cxx-cpp11.yml
index 16d8928f..152c128f 100644
--- a/.github/workflows/log4cxx-cpp11.yml
+++ b/.github/workflows/log4cxx-cpp11.yml
@@ -28,6 +28,7 @@ jobs:
 
     - name: 'Configure Dependencies - Ubuntu'
       run: |
+        sudo apt-get update
         sudo apt-get install -y libapr1-dev libaprutil1-dev libesmtp-dev
 
     - name: 'run cmake - *nix'
diff --git a/.github/workflows/log4cxx-ubuntu.yml b/.github/workflows/log4cxx-ubuntu.yml
index 257688ff..b3b7ef04 100644
--- a/.github/workflows/log4cxx-ubuntu.yml
+++ b/.github/workflows/log4cxx-ubuntu.yml
@@ -86,6 +86,7 @@ jobs:
 
     - name: 'Configure Dependencies'
       run: |
+        sudo apt-get update
         sudo apt-get install -y libapr1-dev libaprutil1-dev
         if [ ${{ matrix.fmt }} == ON ]; then sudo apt-get install -y libfmt-dev; fi
         if [ ${{ matrix.odbc }} == ON ]; then sudo apt-get install -y unixodbc-dev; fi