- Set the variable
https_proxy
to your proxy -
Edit
/etc/sudoers
or the correct file in/etc/sudoers.d/
so it contains:Defaults env_keep = https_proxy
- sudo nano /etc/apt/apt.conf.d/30proxy
add-apt-repository behind proxy
最新推荐文章于 2024-07-09 08:56:29 发布