LINUX.ORG.RU

LAMP на Debian 10

 , ,


0

1

Салют, Пытаюсь установить LAMP на Debian 10, не могу установить 2 пакета.

Linux host 4.19.0-5-amd64 #1 SMP Debian 4.19.37-5 (2019-06-19) x86_64 GNU/Linux

root@hostname:~# sudo apt install php-curl
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 php-curl : Depends: php7.3-curl but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Далее пробую установить пакет «php7.3-curl»

root@hostname:~# sudo apt install php7.3-curl
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 php7.3-curl : Depends: libcurl3 (>= 7.44.0) but it is not installable
E: Unable to correct problems, you have held broken packages.
root@host:~#

Тут читал что установку «libcurl3» не советуют, вроде в bionic должны были добавить пакет, вроде подключаю его, но всё равно не получается установить.

root@hostname:~# cat /etc/apt/sources.list

deb http://security.debian.org/debian-security buster/updates main
deb-src http://security.debian.org/debian-security buster/updates main

deb http://deb.debian.org/debian buster main contrib non-free
deb-src http://deb.debian.org/debian buster main contrib non-free

deb http://ppa.launchpad.net/ondrej/php/ubuntu bionic main
deb-src http://ppa.launchpad.net/ondrej/php/ubuntu bionic main

root@hostname:~# cat /etc/apt/sources.list.d/php.list

deb https://packages.sury.org/php/ stretch main

Спасибо за помощь.


Ответ на: комментарий от keir

Если бы я знал нафига, не писал бы тут :) В итоге, удалил и всё переустановил, вроде всё решилось.

Спасибо уважаемый.

Hooder
() автор топика

Debian 10 Buster

Debian 9 Stretch

А у тебя перемешка, вот и глюки.

Vsevolod-linuxoid ★★★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.