分手后在debian 9上重新安装php

问题描述 投票:0回答:2

我在我的debian拉伸系统上安装了php7.3,它正在找工作。在我尝试安装php7.3-gd后,我的php不再有效。当我运行php时,我得到/usr/bin/php file not found。当我尝试重新安装php时,我收到此错误以下包具有未满足的依赖项:

php7.3 : Depends: libapache2-mod-php7.3 but it is not going to be installed or
                  php7.3-fpm but it is not going to be installed or
                  php7.3-cgi but it is not going to be installed

php7.3-cli : Depends: php7.3-opcache but it is not going to be installed
             Depends: libc6 (>= 2.29) but 2.24-11+deb9u4 is to be installed
php7.3-curl : Depends: libcurl4 (>= 7.44.0) but it is not installable

E: Unable to correct problems, you have held broken packages
php ubuntu debian install
2个回答
2
投票

试试这个命令:

apt-get install --fix-missing

1
投票
1- sudo apt-get update –fix-missing
2- sudo dpkg –configure -a
3- sudo apt-get install -f

其中一个命令应该修复你的破坏安装

© www.soinside.com 2019 - 2024. All rights reserved.