我运行 Linux debs 4.9.0-8-amd64 #1 SMP Debian 4.9.110-3+deb9u4 (2018-08-21) x86_64 GNU/Linux。
sudo apt update
失败并显示:
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
:
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
答案1
你的最后一个条目/etc/apt/sources.list
是错误的:
deb https://dl.winehq.org/wine-builds/debian/ DISTRO main
apt-get
很可能陷入等待到达DISTRO
不存在的目录的状态。
它可能会从网络服务器收到多个 404 错误并达到超时。但是,解决此问题的最佳方法就是删除/etc/apt/sources.list
.