apt-get upgrade:错误 503

apt-get upgrade:错误 503

我无法升级 Kubuntu 16.04。它开始升级,然后停止一段时间并给出错误 503。我尝试从 repo 手动下载文件,但尽管目录中有文件,我还是无法下载它们。apt-get clean而且apt-get upgrade --fix-missing也无法解决这个问题。我该如何修复这个错误?

$ sudo apt-get upgrade 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  wine-staging wine-staging-amd64 wine-staging-i386:i386 winehq-staging
4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 51.2 MB/54.0 MB of archives.
After this operation, 1064 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
Err:1 https://dl.winehq.org/wine-builds/ubuntu xenial/main amd64 wine-staging-amd64 amd64 2.20.0~xenial                                                                                                          
  503  first byte timeout
Err:2 https://dl.winehq.org/wine-builds/ubuntu xenial/main i386 wine-staging-i386 i386 2.20.0~xenial
  503  first byte timeout
E: Failed to fetch https://dl.winehq.org/wine-builds/ubuntu/pool/main/wine-staging-amd64_2.20.0~xenial_amd64.deb  503  first byte timeout

E: Failed to fetch https://dl.winehq.org/wine-builds/ubuntu/pool/main/wine-staging-i386_2.20.0~xenial_i386.deb  503  first byte timeout

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

编辑:尽管服务器启动后这个问题已经得到解决,但我认为这个问题不应该被搁置,因为有些用户可能会遇到同样的问题并在这里找到解决方案。这只是我的看法。

答案1

wine-staging-amd64_2.20.0~xenial_amd64.deb
wine-staging-i386_2.20.0~xenial_i386.deb

这些文件刚刚于 2017 年 11 月 6 日发布 - 要么是他们的网络出现了问题,要么是这些文件尚未完全传播。

运行这些命令不会有帮助:

sudo apt-get update
sudo apt-get upgrade

最好的解决办法是稍后再试,到那时 503 错误就会自行解决。

相关内容