Docker image: setup warning missing bz2 after update to NC 28.0.0

After this operation, 706 kB of additional disk space will be used.
Get:1 Index of /debian-security buster/updates/main amd64 bzip2-doc all 1.0.6-9.2~deb10u2 [493 kB]
Get:2 Index of /debian-security buster/updates/main amd64 libbz2-dev amd64 1.0.6-9.2~deb10u2 [30.2 kB]
Fetched 523 kB in 0s (7671 kB/s)
Selecting previously unselected package bzip2-doc.
(Reading database … 42435 files and directories currently installed.)
Preparing to unpack …/bzip2-doc_1.0.6-9.2~deb10u2_all.deb …
Unpacking bzip2-doc (1.0.6-9.2~deb10u2) …
Selecting previously unselected package libbz2-dev:amd64.
Preparing to unpack …/libbz2-dev_1.0.6-9.2~deb10u2_amd64.deb …
Unpacking libbz2-dev:amd64 (1.0.6-9.2~deb10u2) …
Setting up bzip2-doc (1.0.6-9.2~deb10u2) …
Setting up libbz2-dev:amd64 (1.0.6-9.2~deb10u2) …
-bash: docker-php-ext-install: command not found

Had to split the output because of a link limit for new users.

I just ran:
docker exec nextcloud-app-1 docker-php-ext-install bz2

Output:
Configuring for:
PHP Api Version: 20220829
Zend Module Api No: 20220829
Zend Extension Api No: 420220829
checking for grep that handles long lines and -e… /usr/bin/grep
checking for egrep… /usr/bin/grep -E
checking for a sed that does not truncate output… /usr/bin/sed
checking for pkg-config… /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0… yes
checking for cc… cc
checking whether the C compiler works… yes
checking for C compiler default output file name… a.out
checking for suffix of executables…
checking whether we are cross compiling… no
checking for suffix of object files… o
checking whether the compiler supports GNU C… yes
checking whether cc accepts -g… yes
checking for cc option to enable C11 features… none needed
checking how to run the C preprocessor… cc -E
checking for icc… no
checking for suncc… no
checking for system library directory… lib
checking if compiler supports -Wl,-rpath,… yes
checking build system type… x86_64-pc-linux-gnu
checking host system type… x86_64-pc-linux-gnu
checking target system type… x86_64-pc-linux-gnu
checking for PHP prefix… /usr/local
checking for PHP includes… -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
checking for PHP extension directory… /usr/local/lib/php/extensions/no-debug-non-zts-20220829
checking for PHP installed headers prefix… /usr/local/include/php
checking if debug is enabled… no
checking if zts is enabled… no
checking for gawk… no
checking for nawk… nawk
checking if nawk is broken… no
checking for BZip2 support… yes, shared
checking for BZip2 in default path… not found
configure: error: Please reinstall the BZip2 distribution

1 Like