zoukankan      html  css  js  c++  java
  • 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……原来这货是搜狗输入法:

    xiaoyan94@xiaoyan94-Inspiron-7537:/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恢复正常。

    xiaoyan94@xiaoyan94-Inspiron-7537:~$ 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
    版权声明:本文为博主原创文章,转载请附上博文链接!

  • 相关阅读:
    谈谈-开源数据库LitePal
    谈谈-Android-PickerView系列之封装(三)
    谈谈-Android-PickerView系列之源码解析(二)
    谈谈-Android-PickerView系列之介绍与使用(一)
    谈谈-ConstraintLayout完全解析
    问题解决-Failed to resolve: com.android.support.constraint:constraint-layout:1.0.0-alpha7
    谈谈-BaseAdapter的封装
    谈谈-使用SparseArray和ArrayMap代替HashMap
    Spring 集成Redis Cluster模式
    Redis三种集群模式-Cluster集群模式
  • 原文地址:https://www.cnblogs.com/lshan/p/10002682.html
Copyright © 2011-2022 走看看