1
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 5 years have passed since last update.

apt エラーがでたときのRepository設定

1
Last updated at Posted at 2017-11-22

公式リポジトリは場所がよく変わるのでエラーが出る。

こちらのページにて描いてあったものがとても良かったので乗せておきます。
https://qiita.com/fkshom/items/53de3a9b9278cd524099

sudo sed -i.bak -e "s%http://[^ ]\+%http://ftp.jaist.ac.jp/pub/Linux/ubuntu/%g" /etc/apt/sources.list

日本のミラーサイト
http://www.ubuntulinux.jp/ubuntu/mirrors

sudo apt-get clean
sudo apt-get update

※必要であれば、rm -rf /var/lib/apt/lists/*で、取得済みの情報をクリア。

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