小编Naz*_*iks的帖子

如何在 Ubuntu 中使用 APT 安装软件包期间修复错误

我试图使用 APT 安装软件包,但出现错误:

UserName@PCname:~$ sudo apt-get install php7.2

Reading package lists... Done
Building dependency tree       
Reading state information... Done
php7.2 is already the newest version (7.2.7-1+0~20180622080852.23+jessie~1.gbpfd8e2e).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up php7.1-fpm (7.1.18-1+0~20180611145758.18+jessie~1.gbp2b32f6) ...
/var/lib/dpkg/info/php7.1-fpm.postinst: 2: /etc/apache2/envvars: =/var/run/apache2: not found
dpkg: error processing package php7.1-fpm (--configure): …
Run Code Online (Sandbox Code Playgroud)

dpkg ubuntu apt

3
推荐指数
1
解决办法
9644
查看次数

标签 统计

apt ×1

dpkg ×1

ubuntu ×1