LoginSignup
1
1

More than 5 years have passed since last update.

apt のプロキシ設定(Ubuntu 18.04 Server)

Posted at

Ubuntu 18.04 Serverでaptのプロキシ変更で躓いたのでメモ

何につまずいたのかと言うと
1. Ubuntuインストール時にProxyを設定
2. Proxyが不要になったので削除したい
3. 環境変数には設定が記述されてない
4. apt install したいのに「Proxyに繋がんねえよ!」と怒られて使えない子になる

結果、インストール時にProxyを設定した場合は
/etc/apt/apt.conf.d/90curtin-aptproxy
の設定をコメントアウト(#)する。

巷では.bashrcや.profileやapt.confで設定するとあるが、意外なところにも設定があった。

あまり情報がなかったので助けになれば。

参考:“Unable to connect” error with apt-get?

1
1
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
1
1