Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
Revert "apt-repos: Downgrade PostgreSQL to dodge PGroonga regression."
Anders Kaseorgf8957863a23b
diff --git a/scripts/lib/install b/scripts/lib/installindex 814336191a5..e28829d13c4 100755--- a/scripts/lib/install+++ b/scripts/lib/install@@ -334,7 +334,7 @@ fi# installation process more seamless.if [ -z "$NO_DIST_UPGRADE" ]; thenif [ "$package_system" = apt ]; then- apt-get -y --allow-downgrades dist-upgrade "${APT_OPTIONS[@]}"+ apt-get -y dist-upgrade "${APT_OPTIONS[@]}"elif [ "$package_system" = yum ]; then# On CentOS, there is no need to do `yum -y upgrade` because `yum -y# update` already does the same thing.@@ -452,7 +452,7 @@ fi"$ZULIP_PATH"/scripts/zulip-puppet-apply -fif [ "$package_system" = apt ]; then- apt-get -y --allow-downgrades upgrade+ apt-get -y upgradeelif [ "$package_system" = yum ]; then# No action is required because `yum update` already does upgrade.:diff --git a/scripts/lib/upgrade-zulip-stage-2 b/scripts/lib/upgrade-zulip-stage-2index 0658085e27b..9d1b4981590 100755--- a/scripts/lib/upgrade-zulip-stage-2+++ b/scripts/lib/upgrade-zulip-stage-2@@ -197,7 +197,7 @@ if glob.glob("/usr/share/postgresql/*/extension/tsearch_extras.control"):if not args.skip_puppet:logging.info("Upgrading system packages...")subprocess.check_call(["apt-get", "update"])- subprocess.check_call(["apt-get", "-y", "--allow-downgrades", "upgrade"])+ subprocess.check_call(["apt-get", "-y", "upgrade"])# To bootstrap zulip-puppet-apply, we need to install the system yaml# package; new installs get this, but old installs may not have it.@@ -362,7 +362,7 @@ if not args.skip_puppet:shutdown_server()logging.info("Applying Puppet changes...")subprocess.check_call(["./scripts/zulip-puppet-apply", "--force"])- subprocess.check_call(["apt-get", "-y", "--allow-downgrades", "upgrade"])+ subprocess.check_call(["apt-get", "-y", "upgrade"])# Puppet may have reloaded supervisor, and in so doing started# services; mark as potentially needing to stop the server.IS_SERVER_UP = Truediff --git a/scripts/setup/apt-repos/zulip/bullseye.list b/scripts/setup/apt-repos/zulip/bullseye.listindex 8e31cac25f7..4c6663d1600 100644--- a/scripts/setup/apt-repos/zulip/bullseye.list+++ b/scripts/setup/apt-repos/zulip/bullseye.list@@ -1,5 +1,2 @@deb http://apt.postgresql.org/pub/repos/apt/ bullseye-pgdg maindeb-src http://apt.postgresql.org/pub/repos/apt/ bullseye-pgdg main--deb http://apt-archive.postgresql.org/pub/repos/apt/ bullseye-pgdg-archive main-deb-src http://apt-archive.postgresql.org/pub/repos/apt/ bullseye-pgdg-archive maindiff --git a/scripts/setup/apt-repos/zulip/focal.list b/scripts/setup/apt-repos/zulip/focal.listindex 595b2ad521a..8578405cfea 100644--- a/scripts/setup/apt-repos/zulip/focal.list+++ b/scripts/setup/apt-repos/zulip/focal.list@@ -1,8 +1,5 @@deb http://apt.postgresql.org/pub/repos/apt/ focal-pgdg maindeb-src http://apt.postgresql.org/pub/repos/apt/ focal-pgdg main-deb http://apt-archive.postgresql.org/pub/repos/apt/ focal-pgdg-archive main-deb-src http://apt-archive.postgresql.org/pub/repos/apt/ focal-pgdg-archive main-deb http://ppa.launchpad.net/groonga/ppa/ubuntu focal maindeb-src http://ppa.launchpad.net/groonga/ppa/ubuntu focal maindiff --git a/scripts/setup/apt-repos/zulip/zulip.pref b/scripts/setup/apt-repos/zulip/zulip.prefdeleted file mode 100644index 5a5f47059a7..00000000000--- a/scripts/setup/apt-repos/zulip/zulip.pref+++ /dev/null@@ -1,19 +0,0 @@-Package: postgresql-10 postgresql-client-10 postgresql-server-dev-10-Pin: version 10.19-*-Pin-Priority: 1000--Package: postgresql-11 postgresql-client-11 postgresql-server-dev-11-Pin: version 11.14-*-Pin-Priority: 1000--Package: postgresql-12 postgresql-client-12 postgresql-server-dev-12-Pin: version 12.9-*-Pin-Priority: 1000--Package: postgresql-13 postgresql-client-13 postgresql-server-dev-13-Pin: version 13.5-*-Pin-Priority: 1000--Package: postgresql-14 postgresql-client-14 postgresql-server-dev-14-Pin: version 14.1-*-Pin-Priority: 1000