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

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


The following commit(s) were added to refs/heads/master by this push:
     new 486f07a3 Fix CI installation errors (#3233)
486f07a3 is described below

commit 486f07a3e34650c44a94d205b16f27c475e0ba01
Author: Bright Chen <[email protected]>
AuthorDate: Sun Mar 1 12:26:47 2026 +0800

    Fix CI installation errors (#3233)
---
 .github/actions/install-all-dependencies/action.yml       | 2 +-
 .github/actions/install-essential-dependencies/action.yml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/actions/install-all-dependencies/action.yml 
b/.github/actions/install-all-dependencies/action.yml
index 179f86cd..86d2884b 100644
--- a/.github/actions/install-all-dependencies/action.yml
+++ b/.github/actions/install-all-dependencies/action.yml
@@ -2,7 +2,7 @@ runs:
   using: "composite"
   steps:
     - uses: ./.github/actions/install-essential-dependencies
-    - run: sudo apt-get install -y libunwind-dev libgoogle-glog-dev automake 
bison flex libboost-all-dev libevent-dev libtool pkg-config  libibverbs1 
libibverbs-dev
+    - run: sudo apt-get update && sudo apt-get install -y libunwind-dev 
libgoogle-glog-dev automake bison flex libboost-all-dev libevent-dev libtool 
pkg-config  libibverbs1 libibverbs-dev
       shell: bash
     - run: | 
         wget 
https://archive.apache.org/dist/thrift/0.11.0/thrift-0.11.0.tar.gz && tar -xf 
thrift-0.11.0.tar.gz && cd thrift-0.11.0/
diff --git a/.github/actions/install-essential-dependencies/action.yml 
b/.github/actions/install-essential-dependencies/action.yml
index 3411b7f7..d6c5da96 100644
--- a/.github/actions/install-essential-dependencies/action.yml
+++ b/.github/actions/install-essential-dependencies/action.yml
@@ -3,5 +3,5 @@ runs:
   steps:
     - run: ulimit -c unlimited -S && sudo bash -c "echo 'core.%e.%p' > 
/proc/sys/kernel/core_pattern"
       shell: bash
-    - run: sudo apt-get install -y git g++ make libssl-dev libgflags-dev 
libprotobuf-dev libprotoc-dev protobuf-compiler libleveldb-dev
+    - run: sudo apt-get update && sudo apt-get install -y git g++ make 
libssl-dev libgflags-dev libprotobuf-dev libprotoc-dev protobuf-compiler 
libleveldb-dev
       shell: bash


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to