Php E:找不到包语言包en base

Php E:找不到包语言包en base,php,debian,Php,Debian,我正试图使用以下指南在我的debian 8计算机上升级到PHP 7.0: 当我运行sudo LC_ALL=en_US.UTF-8 add apt repository ppa:ondrej/php-7.0时,我得到以下输出: 您将要向系统中添加以下PPA: 使用PHP7.0的PPA。如果您想要一个可共同安装的PHP版本,请使用: ppa:ondrej/php where PHP 7.0 and PHP 5.6 co-exists. You can get more information a

我正试图使用以下指南在我的debian 8计算机上升级到PHP 7.0:

当我运行sudo LC_ALL=en_US.UTF-8 add apt repository ppa:ondrej/php-7.0时,我得到以下输出:

您将要向系统中添加以下PPA: 使用PHP7.0的PPA。如果您想要一个可共同安装的PHP版本,请使用:

ppa:ondrej/php

where PHP 7.0 and PHP 5.6 co-exists.

You can get more information about the packages at https://deb.sury.org

For PHP 5.6 use: ppa:ondrej/php5-5.6
For PHP 5.5 use: ppa:ondrej/php5
For PHP 5.4 use: ppa:ondrej/php5-oldstable

BUGS&FEATURES: This PPA now has a issue tracker: https://deb.sury.org/pages/bugreporting.html

PLEASE READ: If you like my work and want to give me a little motivation, please consider donating:

因此,我使用以下命令尝试了指南中建议的解决方法:sudo apt get install-y language pack en base,但出现以下错误:

W:重复源。列表条目 jessie/main amd64软件包 (/var/lib/apt/lists/debian.linux.edu.lv_debian_dists_jessie_main_binary-amd64_包) W:您可能需要运行apt get update来纠正这些问题 E:找不到包语言包en base


我从ppa:ondrej/PHP在Ubuntu 14.04和PHP7.2上解决这个问题的方法是在我的安装脚本中添加这个:

export LC_ALL=C.UTF-8 
这是我更改环境变量之前的
locale-a
命令的输出:

C
C.UTF-8
POSIX

希望这能有所帮助。

好吧,我认为您正在尝试将ubuntu存储库添加到debian源代码列表中。那不行。使用dotdeb.org的存储库。我现在觉得自己超级愚蠢。无论如何,非常感谢你,好心的先生:)。
C
C.UTF-8
POSIX