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

ubuntu 使用sudo apt-get update命令的时候会报http://archive.ubuntukylin.com:10006/ubuntukylin/dists/xenial/InRelease 无法连接的更多相关文章

  1. Ubuntu上的apt/apt-get等命令的实质意义和区别

    Ubuntu上的apt/apt-get等命令的实质意义和区别 一.前言 在使用apt和apt-get命令的时候我们常常会疑惑这两者有什么区别,因为大多数时间这两个命令能做很多相同的事情. 二.APT/ ...

  2. 【亲测有效】Ubuntu18.04 sudo apt update无法解析域名的解决方案

    问题描述如下: 拿起了封尘已久的ThinkPad,输入 sudo apt update 的时候,发现这个命令变得不好使了,具体出现的问题如下图所示: #( 09/08/19@ 2:44下午 )( py ...

  3. 【linux开发】ubuntu执行sudo apt-get update提示缺少公钥

    ubuntu执行sudo apt-get update提示缺少公钥 提示信息如下: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 获取:1 http://arch ...

  4. ubuntu执行sudo apt-get update提示缺少公钥

    提示信息如下: 获取:1 http://archive.ubuntukylin.com:10006/ubuntukylin xenial InRelease [3,192 B] 命中:2 http:/ ...

  5. Ubuntu 解决:当执行`sudo apt-get update`命令时 出现的 “apt-get 404 Not Found Package Repository Errors” 问题

    Ubuntu 解决:当执行sudo apt-get update或者sudo apt-get install命令是出现的 "apt-get 404 Not Found Package Rep ...

  6. Ubuntu用sudo apt-get update出错:E: Problem executing scripts APT::Update::Post-Invoke-Success

    Ubuntu用sudo apt-get update出错:   E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /u ...

  7. Linux学习笔记(一)----Ubuntu下的apt命令

    一.原理与目录 先介绍几个和apt-get相关的目录: /var/lib/dpkg/available文件的内容是软件包的描述信息, 该软件包括当前系统所使用的 Debian 安装源中的所有软件包,其 ...

  8. 在Ubuntu下运行 apt-get update命令后出现错误:

    在Ubuntu下运行 apt-get update命令后出现错误: The package lists or status file could not be parsed or opened sud ...

  9. ubuntu中使用apt命令安装ipython失败解决方案

    在最近使用ubuntu安装ipython时,出现如下报错: 出现这个问题,主要是因为apt还在运行,故解决方案为: 1.找到并且杀掉所有的apt-get 和apt进程 运行下面的命令来生成所有含有 a ...

随机推荐

  1. Java第04次实验提纲(面向对象2-继承、多态、抽象类与接口)

    PTA 题集面向对象2-进阶-多态接口内部类 第1次实验 1.1 题集5-1(Comparable) 难点:如果传入对象为null,或者传入对象的某个属性为null,怎么处理? 1.2 题集5-2(C ...

  2. 【mysql】IP地址整数int和varchar的转换

    mysql中IP地址的存储 IP:如192.168.12.145,在存储时,若是采用varchar进行存储,存在两个主要缺点: 存储空间占用较大: 查询检索较慢: 解决方式: 存储时:将字符串类型的I ...

  3. (转载)java list排序

    1.简介 这个和数组的排序又不一样了. 其实Java针对数组和List的排序都有实现,对数组而言,你可以直接使用Arrays.sort,对于List和Vector而言,你可以使用Collections ...

  4. Oracle 小技巧

    Oracle小技巧 ###add at 18-10-11 1  ed 在sqlplus当中 如果前一条语句输入有误的话 可以输入ed再回车.在进行编辑 输入ed后有弹窗,可以对之前的输入语句进行编辑 ...

  5. ROS routeros mikrotik路由器CVE-2018-14847漏洞

    原文: https://securitynews.sonicwall.com/xmlpost/massive-cryptojacking-campaign/ SonicWall is observin ...

  6. [UE4]蓝图中的基本数据类型

    uint8:无符号整数(非负整数),u:unsigned 字符串 蓝图Utilities下有很多引擎自带的各种类型的对象的常用方法. 字符串与整数之间的转换(例如将字符串“23”转换成数字23) 如果 ...

  7. [UE4]在蓝图中判断一个对象是否有效

  8. [UE4]动态改变UniFormGird子控件的row属性

  9. [UE4]子弹穿透多个机器人

    一.将机器人的碰撞类型改成“OverLap” 二.使用“MultiLineTraceByChannel”这个是可以穿透检测,可以检测到多个物体(前提是被检测物体的碰撞类型是“OverLap”).“Li ...

  10. 用juniversalchardet解决爬虫乱码问题

    爬虫往往会遇到乱码问题.最简单的方法是根据http的响应信息来获取编码信息.但如果对方网站的响应信息不包含编码信息或编码信息错误,那么爬虫取下来的信息就很可能是乱码. 好的解决办法是直接根据页面内容来 ...