首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在Debian 10 Buster中安装php-db时出错

在Debian 10 Buster中安装php-db时出错
EN

Stack Overflow用户
提问于 2019-10-08 14:47:16
回答 2查看 875关注 0票数 0

我已经尝试过在Debian10Buster中安装php,这是PandoraFMS控制台所需要的依赖项(我正在安装它),但对我不起作用。

当我试图安装时,我缺少依赖项:

代码语言:javascript
复制
[...]
dpkg: dependency problems prevent configuration of pandorafms-console:
   pandorafms-console depends on php-db; however:
      Package php-db is not installed.

如果我尝试手动安装php-db:

代码语言:javascript
复制
# apt install php-db
[...]
Package php-db is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'php-db' has no installation candidate

在packages.debian.org中,我可以搜索这个包,我发现:

代码语言:javascript
复制
Package php-db

   + jessie (oldoldstable) (php): PHP PEAR Database Abstraction Layer
     1.7.14-3: all
   + stretch (oldstable) (php): Database Abstraction Layer
     1.9.2-1: all
   + sid (unstable) (php): Database Abstraction Layer
     1.9.2-2: all

欲了解更多信息,请参阅/etc/apt/ content . more的内容(删除注释):

代码语言:javascript
复制
deb http://deb.debian.org/debian buster main
deb-src http://deb.debian.org/debian buster main

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

deb http://deb.debian.org/debian buster-backports main
deb-src http://deb.debian.org/debian buster-backports main

目录/etc/apt/ directory es.list.d/为空。

我能做什么?

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2019-10-09 11:14:47

最后,我从这里下载了这个包,之前我安装了必要的依赖项(apt安装php-公共php-pear),然后手动执行安装:

代码语言:javascript
复制
dpkg -i php-db_1.9.2-1_all.deb
apt-mark hold php-db
票数 0
EN

Stack Overflow用户

发布于 2019-10-08 17:46:46

php-db包已从debian (10)中删除。

Debian跟踪器:2018-03-21,测试指debian (Debian10).

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/58288810

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档