apt-get 命令在“等待标题”处暂停

Mat*_*att 3 ubuntu apt

我有一个运行 Ubuntu Server 9.10 的 VM,运行基本的 Web 服务器设置。每当我运行 apt 函数时,它都会在“等待标题...”处暂停大约 1 分钟。它最终会清除并继续正常运行,但这有点烦人。

服务器上的其他一切似乎都运行良好。有任何想法吗?

小智 12

一些存储库在 http/1.1 流水线方面存在问题。

尝试将以下内容添加到 /etc/apt/apt.conf.d/piplining-off.conf:

Acquire::http::Pipeline-Depth "0";
Run Code Online (Sandbox Code Playgroud)