I'm using a fresh Debian 12 install. Everything works fine minus one image recording software that worked fine while using Debian 11.
The problem is that the software requires some libraries:
- libavutil56 - libavcodec58 - libavformat58 - libswscale5 - libswresample3
and in my system ( Debian 12 ) I have a newer version of all these libraries which I guess were updated with the new Debian version.
- libavutil57 - libavcodec59 - libavformat59 - libswscale6 - libswresample4
and the software fails to initiate claiming that I'm missing libswscale.so.5 for example while under the path /usr/lib/x86_64-linux-gnu/
I have libswscale.so.6 etc.
I've already contacted the support team and they said that it will probably be fixed in the new version of the software but this may take some time and I need it now.
Is there a way to install the old libraries alongside the newer ones? When I try to search them via apt it shows me the newer versions.
If it was possible I'm not sure if it may cause conflicts having both versions of the libraries in the system.
sudo apt-cache search xxx
but will there be a conflict/problem if I install it ?The newer version will get removed ? If not which one my system will use by default ?
– abinos Jun 21 '23 at 09:52libavutil57
will use that, and programs expectinglibavutil56
will use that. – Stephen Kitt Jun 21 '23 at 11:29I'm sorry if the questions seem trivial but I don't know exactly what entails having the repositories for older versions.
– abinos Jun 21 '23 at 12:16apt
will warn you and ask you to confirm, so if you pay attention toapt
’s prompts you’ll be fine. Once your application is upgraded to use Debian 12 libraries, you can remove the repository configuration along with the now-obsolete packages. – Stephen Kitt Jun 21 '23 at 12:46One last question. If some package_version=1 is present in both repositories ( bookworm and bullseye) the apt should draw from the bookworm repository right ?
– abinos Jun 21 '23 at 14:27apt
will use the first configured repository. Which repository it uses doesn’t matter — if two repositories ship the same version of a package, it’s supposed to be the same (and in the Debian repositories, it will be exactly the same file on the mirrors). – Stephen Kitt Jun 21 '23 at 14:37