1. 程式人生 > >ubuntu 使用sudo apt-get update命令的時候會報http://archive.ubuntukylin.com:10006/ubuntukylin/dists/xenial/InRelease 無法連線

ubuntu 使用sudo apt-get update命令的時候會報http://archive.ubuntukylin.com:10006/ubuntukylin/dists/xenial/InRelease 無法連線

參考:  https://blog.csdn.net/xiaoyan94/article/details/52404539

 

 

於是找到一個包含 http://archive.ubuntukylin.com:10006/ubuntukylin/dists/…的list……原來這貨是搜狗輸入法:

[email protected]:/etc/apt/sources.list.d$ cat sogoupinyin.list
deb http://archive.ubuntukylin.com:10006/ubuntukylin xenial main
1
2
解決:
sudo gedit sogoupinyin.list
在deb http://archive.ubuntukylin.com:10006/ubuntukylin xenial main加個#註釋掉,儲存即可。

然後再使用apt-get恢復正常。

[email protected]:~$ sudo apt-get update
[sudo] xiaoyan94 的密碼:
命中:1 http://cn.archive.ubuntu.com/ubuntu xenial InRelease
命中:2 http://cn.archive.ubuntu.com/ubuntu xenial-updates InRelease
命中:3 http://cn.archive.ubuntu.com/ubuntu xenial-backports InRelease
忽略:4 http://dl.google.com/linux/chrome/deb stable InRelease
命中:5 http://dl.google.com/linux/chrome/deb stable Release
命中:7 http://ppa.launchpad.net/fossfreedom/indicator-sysmonitor/ubuntu xenial InRelease
命中:8 http://repo.steampowered.com/steam precise InRelease
命中:9 http://apt.nylas.com/ubuntu vivid InRelease
獲取:10 http://ppa.launchpad.net/numix/ppa/ubuntu xenial InRelease [17.5 kB]
命中:11 http://ppa.launchpad.net/snwh/pulp/ubuntu xenial InRelease
獲取:12 http://ppa.launchpad.net/numix/ppa/ubuntu xenial/main amd64 Packages [2,284 B]
獲取:13 http://ppa.launchpad.net/numix/ppa/ubuntu xenial/main i386 Packages [2,284 B]
獲取:14 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB]
已下載 117 kB,耗時 5秒 (21.9 kB/s)
正在讀取軟體包列表... 完成
---------------------
作者:xiaoyan94
來源:CSDN
原文:https://blog.csdn.net/xiaoyan94/article/details/52404539
版權宣告:本文為博主原創文章,轉載請附上博文連結!