简体   繁体   English

php7.2-bcmath (Debian Jessie) - 安装问题

[英]php7.2-bcmath (Debian Jessie) - installation problem

When i try insstall this package i get:当我尝试安装这个包时,我得到:

Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package php7.2-bcmath E: Couldn't find any package by regex 'php7.2-bcmath'读取包列表...完成构建依赖树读取状态信息...完成 E:无法定位包 php7.2-bcmath E:找不到任何包,正则表达式“php7.2-bcmath”

In source.list i have:在 source.list 我有:

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

Why is this package invisible on the system and cannot be installed?为什么这个包在系统上不可见,无法安装?

jessie codename isn't supported in Sury repository. Sury 存储库不支持 jessie 代号。 To list the permitted debian codenames:列出允许的 debian 代号:

curl -sSL https://packages.sury.org/php/dists/ | awk -F '"|/"' 'FNR >4 {print $2}'

sample output:示例输出:

bullseye
buster
stretch

Debian Jessie LTS reached End-Of-Life Debian Jessie LTS 已停产

the repositories have been removed with the last PHP update, so they are already gone.存储库已在上次 PHP 更新中删除,因此它们已经消失了。

To install php7.2 you need to use the Freexian repository.要安装php7.2您需要使用 Freexian 存储库。 See PHP LTS by Freexian and How to access the APT repositories请参阅Freexian 的 PHP LTS以及如何访问 APT 存储库

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM