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

  • 相关阅读:
    Linux ifconfig 命令
    linux sed命令就是这么简单
    让博客园博客自动生成章节目录索引
    linux中cat、more、less命令区别详解
    Linux yum源搭建及配置
    关于java中位运算的左移、右移、无符号右移
    一个老话题,short s=s+1的日常
    C语言移位运算符
    关于异或的一些东西和应用
    指针就算指向了常量也不能修改这个常量
  • 原文地址:https://www.cnblogs.com/lshan/p/10002682.html
Copyright © 2011-2022 走看看