zulip/scripts/lib
Alex Vandiver 9d3fb85897 install/upgrade: Allow new packages during apt-get upgrade.
`postgresql-14.4` is a notable upgrade in the PostgreSQL series, as it
fixes potential database corruption from `CREATE INDEX CONCURRENTLY`
statements which are run while rows are modified[1].  However, it also
requires an upgrade from `libllvm9` to `libllvm10`, which means it is
not installed by a mere `apt-get upgrade`.

Add the `--with-new-pkgs` flag to all of the potentially relevant
`apt-get upgrade` calls, so that this (and similar) packages are
upgraded successfully.

[1]: https://www.postgresql.org/docs/release/14.4/

(cherry picked from commit a35af3f38b)
2022-06-21 11:22:39 -07:00
..
__init__.py Factor out venv-creating code from provision.py. 2016-06-21 11:25:41 -07:00
build-pgroonga scripts: Use curl -f (--fail). 2021-07-13 16:47:49 -07:00
build-wal-g puppet: Build wal-g from source for aarch64. 2022-03-22 15:02:35 -07:00
check_rabbitmq_queue.py python: Replace universal_newlines with text. 2022-01-23 22:16:01 -08:00
check-database-compatibility.py check-database-compatibility: Sort and prettify output. 2022-04-06 14:16:55 -07:00
clean_emoji_cache.py python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00
clean_node_cache.py python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00
clean_unused_caches.py clean_unused_caches: Allow the main function to accept Namespace args. 2021-06-12 07:28:16 -07:00
clean_venv_cache.py requirements: Remove Thumbor. 2021-05-06 20:07:32 -07:00
clean_yarn_cache.py zulip_tools: Rename may_be_perform_purging to maybe_perform_purging. 2022-01-12 13:21:35 -08:00
create-production-venv python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
email-mirror-postfix python: Remove default "utf8" argument for encode(), decode(). 2021-08-02 15:53:52 -07:00
fix-standalone-certbot puppet: Fix standalone certbot configurations. 2022-01-24 12:13:44 -08:00
hash_reqs.py python: Convert last type comments to annotations. 2022-03-24 20:32:39 -07:00
install install/upgrade: Allow new packages during apt-get upgrade. 2022-06-21 11:22:39 -07:00
install-node install-node: Upgrade Node.js from 16.14.0 to 16.14.1. 2022-03-17 15:24:46 -07:00
install-yarn install-yarn: Use test -ef in case /srv is a symlink. 2021-12-30 13:42:07 -08:00
node_cache.py python: Replace universal_newlines with text. 2022-01-23 22:16:01 -08:00
puppet_cache.py python: Replace universal_newlines with text. 2022-01-23 22:16:01 -08:00
pythonrc.py actions: Delete zerver.lib.actions. 2022-04-15 10:08:19 -07:00
queue_workers.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
ruby3hack.rb zulip-puppet-apply: Work around broken Puppet on Ubuntu 22.04. 2022-05-16 12:05:23 -07:00
setup_path.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
setup_venv.py python: Convert last type comments to annotations. 2022-03-24 20:32:39 -07:00
setup-apt-repo setup-apt-repo: Make hashes file not contain full path. 2022-03-12 17:24:19 -08:00
setup-yum-repo provision: Add support for Fedora 34. 2021-07-20 12:10:41 -07:00
sharding.py python: Replace universal_newlines with text. 2022-01-23 22:16:01 -08:00
supervisor.py supervisor: 'foo:*' also matches 'foo'. 2022-04-01 17:25:29 -07:00
unpack-zulip python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
upgrade-zulip python: Replace universal_newlines with text. 2022-01-23 22:16:01 -08:00
upgrade-zulip-from-git upgrade-zulip-from-git: init, then add remote. 2022-06-20 11:01:27 -07:00
upgrade-zulip-stage-2 install/upgrade: Allow new packages during apt-get upgrade. 2022-06-21 11:22:39 -07:00
warn-rabbitmq-nodename-change puppet: Always set the RabbitMQ nodename to zulip@localhost. 2022-01-25 01:48:02 +00:00
zulip_tools.py python: Convert last type comments to annotations. 2022-03-24 20:32:39 -07:00