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

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


The following commit(s) were added to refs/heads/master by this push:
     new 585b74b175 [chore](workflow) Fix Ubuntu package conflicts by skipping 
apt upgrade (#16754)
585b74b175 is described below

commit 585b74b175afc119c29e09b347655420a0a720bd
Author: Bowen Liang <bowenli...@apache.org>
AuthorDate: Wed Feb 15 15:22:08 2023 +0800

    [chore](workflow) Fix Ubuntu package conflicts by skipping apt upgrade 
(#16754)
    
    In `Build Third Party Libraries (Linux)` job, some errors occur due to the 
package conflicts. This PR fixes these errors by skipping the command `apt 
upgrade`.
    
    ```
    Unpacking odbcinst1debian2:amd64 (2.3.11) ...
    dpkg: error processing archive 
/tmp/apt-dpkg-install-SY6NPA/43-odbcinst1debian2_2.3.11_amd64.deb (--unpack):
     trying to overwrite '/usr/lib/x86_64-linux-gnu/libodbcinst.so.2.0.0', 
which is also in package libodbcinst2:amd64 2.3.9-5
    dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)1
    ```
---
 .github/workflows/build-thirdparty.yml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/.github/workflows/build-thirdparty.yml 
b/.github/workflows/build-thirdparty.yml
index 0314fa228d..43e3209f33 100644
--- a/.github/workflows/build-thirdparty.yml
+++ b/.github/workflows/build-thirdparty.yml
@@ -92,7 +92,6 @@ jobs:
           )
 
           sudo apt update
-          sudo apt upgrade --yes
           sudo DEBIAN_FRONTEND=noninteractive apt install --yes 
"${packages[@]}"
 
           mkdir -p "${DEFAULT_DIR}"


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to