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 2024/08/07 11:35:21 UTC

(avro) 01/01: [NO_JIRA] [CI] Fix the version of libssl1 Ubuntu package

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

mgrigorov pushed a commit to branch use-http-for-ubuntu-ports
in repository https://gitbox.apache.org/repos/asf/avro.git

commit 35f6c10c8f5aca9287f9753b08a33efe760b1e16
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
AuthorDate: Wed Aug 7 14:33:16 2024 +0300

    [NO_JIRA] [CI] Fix the version of libssl1 Ubuntu package
    
    This PR fixes the "Docker tests" CI workflow
    https://github.com/apache/avro/actions/runs/10283162033/job/28456409653
    
    ```
    
    ------
     > [ 5/22] RUN export ARCH="$(dpkg --print-architecture)";   export LIBSSL_DEB="libssl1.1_1.1.1f-1ubuntu2.22_$ARCH.deb";   wget -q "http://security.ubuntu.com/ubuntu/pool/main/o/openssl/$LIBSSL_DEB" ||     wget -q "http://ports.ubuntu.com/ubuntu-ports/pool/main/o/openssl/$LIBSSL_DEB";   dpkg -i "$LIBSSL_DEB";   rm "$LIBSSL_DEB":
    0.570 dpkg: error: cannot access archive 'libssl1.1_1.1.1f-1ubuntu2.22_amd64.deb': No such file or directory
    0.571 rm: cannot remove 'libssl1.1_1.1.1f-1ubuntu2.22_amd64.deb': No such file or directory
    ```
    
    It got bumped from 2.22 to 2.23 ...
    TODO: We need to find a repo that keeps the old versions!
    
    Signed-off-by: Martin Tzvetanov Grigorov <mg...@apache.org>
---
 share/docker/Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/share/docker/Dockerfile b/share/docker/Dockerfile
index 381046ada..66972b168 100644
--- a/share/docker/Dockerfile
+++ b/share/docker/Dockerfile
@@ -96,7 +96,7 @@ RUN apt-get -qqy install --no-install-recommends libzstd-dev \
 
 # Required for Dotnet
 RUN export ARCH="$(dpkg --print-architecture)"; \
-  export LIBSSL_DEB="libssl1.1_1.1.1f-1ubuntu2.22_$ARCH.deb"; \
+  export LIBSSL_DEB="libssl1.1_1.1.1f-1ubuntu2.23_$ARCH.deb"; \
   wget -q "http://security.ubuntu.com/ubuntu/pool/main/o/openssl/$LIBSSL_DEB" || \
     wget -q "http://ports.ubuntu.com/ubuntu-ports/pool/main/o/openssl/$LIBSSL_DEB"; \
   dpkg -i "$LIBSSL_DEB"; \