File 0984-gh-Update-apt-before-install.patch of Package erlang

From 4db56220e39a12963990a3884bfd537b1fc0a4be Mon Sep 17 00:00:00 2001
From: Lukas Larsson <lukas@erlang.org>
Date: Thu, 26 Oct 2023 13:12:24 +0200
Subject: [PATCH 4/6] gh: Update apt before install

Not sure why this is needed, but sometimes it is...
---
 .github/dockerfiles/Dockerfile.ubuntu-base | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/dockerfiles/Dockerfile.ubuntu-base b/.github/dockerfiles/Dockerfile.ubuntu-base
index c042ca51ad..cee5991898 100644
--- a/.github/dockerfiles/Dockerfile.ubuntu-base
+++ b/.github/dockerfiles/Dockerfile.ubuntu-base
@@ -66,7 +66,7 @@ RUN apt-get install -y git curl && \
 ## EXTRA_LIBS are installed using a for loop because of bugs in the erlang-doc deb package
 ## Apache2 may already be installed, if so we do not want to install it again
 ARG EXTRA_LIBS="erlang erlang-doc"
-RUN apt-get install -y \
+RUN apt-get update && apt-get install -y \
     unixodbc odbc-postgresql postgresql ssh openssh-server groff-base gdb \
     tinyproxy knot ldnsutils expect vsftpd python emacs nano vim \
     linux-tools-common linux-tools-generic jq \
-- 
2.35.3

openSUSE Build Service is sponsored by