x 86又はARMにおけるubuntu 18.04バージョン清華源を交換
3035 ワード
x 86又はARMにおけるubuntu 18.04バージョン清華源を交換
ベリーパイこれらubuntu 18.04 mate手動インタフェース選択(arm)ができず、おとなしくファイルを変更するしかありません.ネット上の大概はすべて悪くなくて、すべて使うことができるべきで、私のここは1部の自分の正常な使うコンピュータの上のsourcesをバックアップします.list
sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup
最後のbackupはファイルの接尾辞を変えるだけで役に立たない
sudo vim /etc/apt/sources.list
iを入力してvimの挿入モードに入り、中の内容をすべて削除します(キーボード操作のみ)
# apt update ,
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
# ,
# deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
ベリーパイなどのARMバージョンはubuntu-portsミラーを使用
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-updates main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-backports main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-backports main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-security main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-security main restricted universe multiverse
sudo apt-get update
質問1:次の W: GPG :http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu bionic Release: , : NO_PUBKEY F42ED6FBAB17C654
E: “http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu bionic Release” 。
N: , 。
解決策:sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F42ED6FBAB17C654
W: GPG :http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu bionic Release: , : NO_PUBKEY F42ED6FBAB17C654
E: “http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu bionic Release” 。
N: , 。
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F42ED6FBAB17C654