Мой пакет не определяет конкретную версию PHP в зависимости, а работает только со старыми версиями PHP (7.2). В Ubuntu 20.04 apt install
захочет установить php7.4-mysql, если я не установлю явно php7.2-mysql.
Есть ли решение для настройки PHP (репозитории, версии) и / или apt
таким образом, что apt устанавливает
может установить свою зависимость только для определенных версий PHP?
If the repository contains more than on version it is possible to install that certain version with:
sudo apt install
e.g.
sudo apt install php=7.2
but the chances are low that there are more versions of php. (They must be compiled against the current libraries, so maintenance of different versions costs quite some time)
You could add a ppa which is compatible with 20.04, or you can download the appropriate deb files.
Those files can be installed either with the gdebi installer (GUI frontend( or by hand:
`sudo dpkg -i