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?

Ubuntuのaptに別リポジトリを参照するようにする

0
Posted at

諸事情でubuntu.comへの接続が許可されないとき、aptの更新ができなくてこまります。
このとき、次のようにすれば問題を解決できます。

  1. /etc/apt/sources.list.d/ubuntu.sourcesを開く
  2. http://archive.ubuntu.com/ubuntu/と設定されているものを以下のいずれかに変更

URIs: http://security.ubuntu.com/ubuntu/と書かれているものは変更してはいけません。
理由として、ミラーのアップデートが遅れた場合に重大なセキュリティアップデートを適用できなくなるからです(とは言いますが、何らかの理由で接続ができないのであれば、まぁ、という感じです)。

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?