Enviro+ One-line install script is broken

It worked fine only yesterday, but today on a newly set up RPi, it no longer works.
There’s been an update to the Raspbian OS, so that is probably the underlying cause, which seems to be absence of the required audio drivers.

Below is the output where the script fails - it carries on similarly, then says ‘completed’ but obviously it has not.

I realise this may take some time to fully fix, but any suggestions or a quick workaround to get most things working (eg: without the noise level detection…)

Checking for python-rpi.gpio
Checking for libportaudio2
Installing missing packages: python-cffi libportaudio2
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package libportaudio2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package python-cffi is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
python-cffi-backend

E: Package ‘python-cffi’ has no installation candidate
E: Package ‘libportaudio2’ has no installation candidate
apt uninstall -y python-cffi libportaudio2
zip_safe flag not set; analyzing archive contents…
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing libffi.pc’
to the PKG_CONFIG_PATH environment variable

This run from terminal will get the display working.
curl https://get.pimoroni.com/st7735 | bash

For the BME280 it’s
sudo pip install pimoroni-bme280 smbus
for Python 2 and or
sudo pip3 install pimoroni-bme280 smbus
for Python 3

For the LTR559 its
sudo pip install ltr559
for python 2 and or
sudo pip3 install ltr559
for python3

That will get most of it working.

Thank you. Are there similar for UART and PMS5003 drivers?

Because of an unrelated problem, I ended up going back to a previous Raspberry OS build, which does not have this problem.

The script then throws an error for something that even I can see is mismatched parentheses:

file _sounddevice.py (for module _sounddevice) not found
File “build/bdist.linux-armv7l/egg/sounddevice.py”, line 2377
repr(list(conversion_dict))) from e
^
SyntaxError: invalid syntax

I’m just going to the Breakout section of Pimoroni
Breakout Garden – Pimoroni
And following the links of each individual item to its Github page. The Enviro+ installer just does them all for you in one go.

For the ADS its
sudo pip install ads1015
sudo pip3 install ads1015
pimoroni/ads1015-python: Python library for the Pimoroni ADS1015 breakout (github.com)

And for the PMS its
sudo pip install pms5003
sudo pip3 install pms5003
pimoroni/pms5003-python: Python library for the PMS5003 particulate sensor (github.com)

I don’t know if you need to do pip and pip 3, as far as I know doing both doesn’t hurt anything.