Recent package changes in OSMC seem to have broken ffmpeg. When running the command, I get the following error:
ffmpeg: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory
On Debian, that library is usually provided by the package libgl1. However, if one tries to install that package, apt-get will want to remove the following: rbp2-mesa-osmc rbp4-device-osmc rbp4-mediacenter-osmc
Therefore, I assume that one of those OSMC-specific packages provides its own libGL.so.1 that is incompatible with what Debian’s ffmpeg expects. Can this be fixed? I imagine that quite a lot of OSMC users rely on ffmpeg, e.g. in order to remux downloaded media files into the particular format that they want to import into Kodi.
Run the following command to add the staging repository: echo 'deb http://apt.osmc.tv bullseye-devel main' | sudo tee /etc/apt/sources.list.d/osmc-devel.list
Run the following commands to update: sudo apt-get update && sudo apt-get dist-upgrade && reboot
Your system should have have received the update.
Please see if the issue is resolved.
I also recommend you remove /etc/apt/sources.list.d/osmc-devel.list after updating.
This will deactivate the staging repository. You can do so with the following command: sudo rm /etc/apt/sources.list.d/osmc-devel.list.
Please note that we will automatically disable this update channel after 14 days on your device in case you forget to do so to ensure that your system reverts to the stable update channel.