пишу к примеру
apt-get install libapache2-mod-php7.0
В ответ получаю пакет не найден. С другими пакетами такая же история. В чем суть?
apt-get install libapache2-mod-php7.0
#
# deb cdrom:[Debian GNU/Linux 8.4.0 _Jessie_ - Official Multi-architecture amd64/i386 NETINST #1 20160402-18:59]/ jessie main
#deb cdrom:[Debian GNU/Linux 8.4.0 _Jessie_ - Official Multi-architecture amd64/i386 NETINST #1 20160402-18:59]/ jessie main
deb http://ftp.ru.debian.org/debian/ jessie main non-free contrib
deb-src http://ftp.ru.debian.org/debian/ jessie main non-free contrib
deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free
# jessie-updates, previously known as 'volatile'
deb http://ftp.ru.debian.org/debian/ jessie-updates main contrib non-free
deb-src http://ftp.ru.debian.org/debian/ jessie-updates main contrib non-free
# sudo apt install -t jessie-backports имя пакета
deb http://mirror.yandex.ru/debian jessie-backports main contrib non-free
deb-src http://mirror.yandex.ru/debian jessie-backports main contrib non-free
# php 7
deb http://packages.dotdeb.org jessie all
deb-src http://packages.dotdeb.org jessie all
Цитата (VeRTak @ 18.07.2017 - 22:13) |
В ответ получаю пакет не найден. С другими пакетами такая же история. В чем суть? |
apt update; apt upgrade; apt-get clean
Цитата (killer8080 @ 19.07.2017 - 10:26) |
в том что система давно не обновлялась, и ничего не знает о новых пакетах в репе apt update; apt upgrade; apt-get clean |
Цитата (killer8080 @ 19.07.2017 - 10:26) |
зачем тебе php7.0, ставь уже php7.1 |
apt-cache search php | grep -P "^php\d"