Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
apt-repos: Temporarily work around Ubuntu 24.04 non-installable gnupg.
Anders Kaseorg4ebc7346321b
diff --git a/scripts/lib/setup-apt-repo b/scripts/lib/setup-apt-repoindex ba8f3a7abcd..39c1d91a31f 100755--- a/scripts/lib/setup-apt-repo+++ b/scripts/lib/setup-apt-repo@@ -86,6 +86,12 @@ fi# Hash to check if the configuration is changed by the script later.hashes=$(sha256sum "$SOURCES_FILE" "$PREF_FILE" 2>/dev/null || true)+if [ -e "$LIST_PATH/$LIST.pref" ]; then+ cp "$LIST_PATH/$LIST.pref" "$PREF_FILE"+else+ rm -f "$PREF_FILE"+fi+pre_setup_deps=(apt-transport-https ca-certificates gnupg curl)if ! apt-get -dy install "${pre_setup_deps[@]}"; thenapt-get update@@ -95,12 +101,6 @@ apt-get -y install "${pre_setup_deps[@]}"apt-key add "$LIST_PATH/"*.asccp "$LIST_PATH/$release.list" "$SOURCES_FILE"-if [ -e "$LIST_PATH/$LIST.pref" ]; then- cp "$LIST_PATH/$LIST.pref" "$PREF_FILE"-else- rm -f "$PREF_FILE"-fi-if [ -e "$LIST_PATH/custom.sh" ]; thenexport LIST_PATHexport STAMP_FILEdiff --git a/scripts/setup/apt-repos/zulip/zulip.pref b/scripts/setup/apt-repos/zulip/zulip.prefnew file mode 100644index 00000000000..a906f458b19--- /dev/null+++ b/scripts/setup/apt-repos/zulip/zulip.pref@@ -0,0 +1,9 @@+# Temporary workaround for+# https://discourse.ubuntu.com/t/whats-happening-in-noble-repositories/43729/7+Package: gnupg+Pin: version 2.4.4-2ubuntu7+Pin-Priority: 501++Package: nginx-common nginx-full+Pin: version 1.24.0-2ubuntu4+Pin-Priority: 501