小编sma*_*c89的帖子

Apt-get 错误:已达到超时

昨天,我注意到每当我运行命令时apt-get update,一切似乎都正常,直到最后一步。

我得到通常的输出:

Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease
Ign:2 http://linux.dropbox.com/ubuntu xenial InRelease                                                              
Hit:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease                                                     
Ign:4 http://linux.dropbox.com/ubuntu wily InRelease                                                                
Hit:5 http://archive.canonical.com/ubuntu xenial InRelease                                                          
Hit:6 http://apt.insynchq.com/ubuntu xenial InRelease                                                               
Hit:7 http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu xenial InRelease  
Hit:8 http://archive.ubuntu.com/ubuntu xenial-backports InRelease                              
Get:9 http://linux.dropbox.com/ubuntu xenial Release [6,600 B]
...
Run Code Online (Sandbox Code Playgroud)

然而,在最后和之后我得到:

Fetched X kB in Ys (69.7 kB/s)
Run Code Online (Sandbox Code Playgroud)

有一个很长的延迟之后我得到

Error: Timeout was reached
Reading package lists... Done
Run Code Online (Sandbox Code Playgroud)

是什么原因造成的?我该如何解决这个问题?

Distributor ID: Ubuntu
Description:    Ubuntu 16.04 LTS
Release:    16.04
Codename:   xenial
Run Code Online (Sandbox Code Playgroud)

apt timeout

5
推荐指数
1
解决办法
2万
查看次数

标签 统计

apt ×1

timeout ×1