步骤:
sudo systemctl edit snapd
[Service]
Environment="http_proxy=http://127.0.0.1:16888"
Environment="https_proxy=http://127.0.0.1:16888"
sudo systemctl daemon-reload
sudo systemctl restart snapd
步骤:
sudo systemctl edit snapd
[Service]
Environment="http_proxy=http://127.0.0.1:16888"
Environment="https_proxy=http://127.0.0.1:16888"
sudo systemctl daemon-reload
sudo systemctl restart snapd