mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
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/
This commit is contained in:
committed by
Alex Vandiver
parent
95303a9929
commit
a35af3f38b
@@ -36,7 +36,7 @@ export DEBIAN_FRONTEND=noninteractive
|
||||
# Dependencies to install AWS CLI
|
||||
(
|
||||
apt-get -qy update
|
||||
apt-get -qy -o "Dpkg::Options::=--force-confdef" -o "Dpkg::Options::=--force-confold" upgrade
|
||||
apt-get -qy --with-new-pkgs -o "Dpkg::Options::=--force-confdef" -o "Dpkg::Options::=--force-confold" upgrade
|
||||
apt-get -qy install jq unzip curl
|
||||
apt-get -qy autoclean
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user