0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

プロキシ環境で sudo apt update

Posted at
  1. 環境変数にプロキシが設定されているか確認
    $ echo $http_proxy
    $ echo $https_proxy
    
  2. また、aptがプロキシを使用するように設定されているか確認
    /etc/apt/apt.conf.d/proxy.conf
    
    このファイルには以下のような内容が含まれているべきです。
    Acquire::http::Proxy "http://[username]:[password]@[proxy_url]:[proxy_port]";
    Acquire::https::Proxy "http://[username]:[password]@[proxy_url]:[proxy_port]";
    
  3. 確認
    $ cat /etc/apt/apt.conf
    Acquire::http::Proxy "http://www***.jp:8080";
    Acquire::https::Proxy "http://www***.jp:8080";
    
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?