ubuntuでsudo apt-get update(ubuntu 16.04変換)を実行する際に発生する問題と解決方法のまとめ

2466 ワード

参照リンクの問題:
1.E:ダウンロードできませんhttp://ppa.launchpad.net/fcitx-team/nightly/ubuntu/dists/xenial/main/binary-amd64/Packages
2.Problem executing scrips APT::Update:エラー
3.Failed to fetch
4.some indax filed failed to downloads
5. 404 Not Found
解決方法:
1.DNSの再構成
$ sudo vim /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.1.1
#         DNS   
nameserver 223.5.5.5  
nameserver 223.6.6.6

$ sudo apt-get update
2.sudo apt-get clean
   sudo apt-get update
3.サードパーティのソフトウェア更新をすべてチェックしておけば問題ないubuntu下执行sudo apt-get update(ubuntu16.04换源)遇到的问题及解决方法总结_第1张图片
4. sudo gedit /etc/apt/sources.lis(ソースの内容が更新されました)
deb http://mirrors.aliyun.com/ubuntu/raring main restricted universe multiverse  deb http://mirrors.aliyun.com/ubuntu/raring-security main restricted universe multiverse  deb http://mirrors.aliyun.com/ubuntu/raring-updates main restricted universe multiverse  deb http://mirrors.aliyun.com/ubuntu/raring-proposed main restricted universe multiverse  deb http://mirrors.aliyun.com/ubuntu/raring-backports main restricted universe multiverse  deb-src http://mirrors.aliyun.com/ubuntu/raring main restricted universe multiverse  deb-src http://mirrors.aliyun.com/ubuntu/raring-security main restricted universe multiverse  deb-src http://mirrors.aliyun.com/ubuntu/raring-updates main restricted universe multiverse  deb-src http://mirrors.aliyun.com/ubuntu/raring-proposed main restricted universe multiverse  deb-src http://mirrors.aliyun.com/ubuntu/raring-backports main restricted universe multiverse
リファレンスリンク
リファレンスリンク
リファレンスリンク
リファレンスリンク