首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >apt更新在Debian上卡住了

apt更新在Debian上卡住了
EN

Unix & Linux用户
提问于 2018-12-07 07:48:31
回答 1查看 2.9K关注 0票数 -1

我运行Linux 4.9.0-8-AMD 64 #1 SMPDebian4.9.110-3+deb9u4 (2018-08-21) x86_64 GNU/Linux。

sudo apt update在以下方面失败:

代码语言:javascript
复制
Get:26 http://debian.volia.net/debian stretch/main i386 Packages [7,069 kB]...        
Get:29 http://debian.volia.net/debian stretch/main Translation-en [5,388 kB]
Get:30 http://debian.volia.net/debian stretch/main amd64 DEP-11 Metadata [3,066 kB]
0% [Working]

/etc/apt/sources.list的内容:

代码语言:javascript
复制
deb http://debian.volia.net/debian/ stretch main
deb-src http://debian.volia.net/debian/ stretch main

deb http://security.debian.org/debian-security stretch/updates main
deb-src http://security.debian.org/debian-security stretch/updates main


deb http://debian.volia.net/debian/ stretch-updates main    
deb-src http://debian.volia.net/debian/ stretch-updates main

deb https://dl.winehq.org/wine-builds/debian/ DISTRO main
EN

回答 1

Unix & Linux用户

回答已采纳

发布于 2018-12-07 09:56:35

/etc/apt/sources.list的最后一个条目是错误的:

代码语言:javascript
复制
deb https://dl.winehq.org/wine-builds/debian/ DISTRO main

apt-get很可能被困在等待到达不存在的目录DISTRO

它可能会收到来自and服务器的几个404错误,并达到超时。但是,解决这个问题的最好方法就是删除/etc/apt/sources.list的最后一行。

票数 -1
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/486525

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档