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

  • 相关阅读:
    ThinkPHP3.2 分组分模块
    PHP 视频
    微信分享SDK
    【mysql】一维数据TopN的趋势图
    【日期-时间】Java中Calendar的使用
    【java消息格式化】使用MessageFormat进行消息格式化
    【Java数据格式化】使用DecimalFormat 对Float和double进行格式化
    【xargs使用】查询包含某字符串的所有文件
    【SVN】自动备份SVN仓库
    【Oozie】安装配置Oozie
  • 原文地址:https://www.cnblogs.com/lshan/p/10002682.html
Copyright © 2011-2022 走看看