Proxy 如何通过Debian WSL上的代理下载PPA?

Proxy 如何通过Debian WSL上的代理下载PPA?,proxy,debian,apt,Proxy,Debian,Apt,我正试图通过我公司的代理在Debian上下载/安装php7.2,Debian安装在我的WSL(Linux的Windows子系统)上 我已经能够使用此解决方案下载apt软件包: 现在的问题是,我需要来自sudo add apt repository ppa:ondrej/php的ppa,因为php>7.0不再适用于sudo apt get install,我尝试了许多解决方案,但没有人为我工作。每一个被提问者测试过的解决方案都被试过了,答案也被试过了 因此,我的最后一个障碍是: $ sudo -E

我正试图通过我公司的代理在Debian上下载/安装php7.2,Debian安装在我的WSL(Linux的Windows子系统)上

我已经能够使用此解决方案下载apt软件包:

现在的问题是,我需要来自
sudo add apt repository ppa:ondrej/php
的ppa,因为php>7.0不再适用于
sudo apt get install
,我尝试了许多解决方案,但没有人为我工作。每一个被提问者测试过的解决方案都被试过了,答案也被试过了

因此,我的最后一个障碍是:

$ sudo -E add-apt-repository ppa:ondrej/php
Co-installable PHP versions: PHP 5.6, PHP 7.x and most requested extensions are included. Only 
Supported Versions of PHP (http://php.net/supported-versions.php) for Supported Ubuntu Releases 
(https://wiki.ubuntu.com/Releases) are provided. Don't ask for end-of-life PHP versions or Ubuntu 
release, they won't be provided.

Debian oldstable and stable packages are provided as well: https://deb.sury.org/#debian-dpa

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

BUGS&FEATURES: This PPA now has a issue tracker:
https://deb.sury.org/#bug-reporting

CAVEATS:
1. If you are using php-gearman, you need to add ppa:ondrej/pkg-gearman
2. If you are using apache2, you are advised to add ppa:ondrej/apache2
3. If you are using nginx, you are advise to add ppa:ondrej/nginx-mainline
   or ppa:ondrej/nginx

PLEASE READ: If you like my work and want to give me a little motivation, please consider donating 
regularly: https://donate.sury.org/

WARNING: add-apt-repository is broken with non-UTF-8 locales, see
https://github.com/oerdnj/deb.sury.org/issues/56 for workaround:

# LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php
More info: https://launchpad.net/~ondrej/+archive/ubuntu/php
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keybox '/tmp/tmpw9sj_dvp/pubring.gpg' created
gpg: keyserver receive failed: No name