Ubuntu 错误:已到超时限制(使用远程工具连接时)

爱⌒轻易说出口 提交于 2019-11-28 16:31:49

乌班图安装软件时出现错误。

该错误在本机仅偶发一次,重启电脑后错误消失。

#安装片段
dell@Ubuntu1601:~$ sudo apt update
命中: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://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
命中:5 http://ppa.launchpad.net/elementary-os/stable/ubuntu xenial InRelease
命中:6 http://ppa.launchpad.net/elementary-os/os-patches/ubuntu xenial InRelease
命中:7 http://ppa.launchpad.net/rvm/smplayer/ubuntu xenial InRelease
已下载 102 kB,耗时 6秒 (15.4 kB/s)
错误:已到超时限制
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
所有软件包均为最新。
dell@Ubuntu1601:~$

该错误虽然不影响安装,但是影响心情。

Google一番,找到一个解决方案。

找到名称中含有 appstream进程。

dell@Ubuntu1601:~$ ps -aux | grep appstream
dell     15585  0.0  0.0  33564  1012 pts/0    S+   18:02   0:00 grep --color=auto appstream
dell@Ubuntu1601:~$

本例进程号是15585,不同机器可能找到不止一个。

参考网址。

http://askubuntu.com/questions/775224/apt-get-error-timeout-was-reached

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!