Do not switch to Bookworm suite of the RPi repo, as then you’ll get no security updates for firmware, kernel etc.
Hmm, the problem is the dependency on libsrt1.4-gnutls
, while Bookworm ships libsrt1.5-gnutls
. I wonder why this was not an issue a week ago when we made all the install tests. Probably the FFmpeg package update from last Friday on the RPi repo introduced the issue. The Debian package however has this dependency at least since April already, so that alone would have caused the same issue on our tests: Debian -- Details of package libavformat58 in bullseye
Two possible solutions:
-
Enforcing the use of FFmpeg from Debian/Raspbian via APT pinning:
cat << '_EOF_' > /etc/apt/preferences.d/dietpi-ffmpeg Package: ffmpeg* libav* libpostproc* libsw* Pin: origin archive.raspberrypi.org Pin-Priority: -1 _EOF_
One will get a newer version, but probably no full GPU acceleration on RPi.
-
Installing the missing
libsrt1.4-gnutls
manually:- On Raspbian/ARMv6/32-bit:
cd /tmp curl -Lo package.deb 'http://raspbian.raspberrypi.org/raspbian/pool/main/s/srt/libsrt1.4-gnutls_1.4.2-1.3_armhf.deb' apt install ./package.deb rm package.deb
- On Debian/ARMv7/32-bit:
cd /tmp curl -Lo package.deb 'https://deb.debian.org/debian/pool/main/s/srt/libsrt1.4-gnutls_1.4.2-1.3_armhf.deb' apt install ./package.deb rm package.deb
- On Debian/ARMv8/64-bit:
cd /tmp curl -Lo package.deb 'https://deb.debian.org/debian/pool/main/s/srt/libsrt1.4-gnutls_1.4.2-1.3_arm64.deb' apt install ./package.deb rm package.deb
RPi GPU hardware acceleration should work fine, FFmpeg however is older, actually too old to install Home Assistant.
- On Raspbian/ARMv6/32-bit:
Now that I think about it: We needed to disable the Home Assistant install option on 32-bit ARM Bullseye systems because it requires at least FFmpeg 4.4 to compile the new ha-av
Python module while Bullseye ships v4.3. This means that also on RPi, the Bookworm FFmpeg v5.1.3 was installed, not the one from the RPi repo. Probably the they raised the epoch version to 8 just with this update last Friday.
So we’ll fix it with option 1 in dietpi-software
. Nasty that DietPi v8.19 was just released. A live patch is possible but at least nasty with multiple lines or a very long line to patch into the script .