我正在使用 apt-mirror 镜像 Ubuntu 14.04 存储库,但在下载软件包时遇到了一些麻烦。有时 apt-mirror 获取索引文件并说它必须下载大约 XXX Mb,但它会在半秒内完成(当然,它什么都不下载)。后来我尝试使用我的镜像,我看到了不存在的包。我重复这个过程,我再次得到同样的错误。
奇怪的是,如果我将 source.list 直接指向我正在镜像的存储库,我可以正常使用它,包就在那里。
这是我从 apt-mirror 得到的输出:
Downloading 345 index files using 8 threads...
Begin time: Wed Dec 2 11:23:14 2015
[8]... [7]... [6]... [5]... [4]... [3]... [2]... [1]... [0]...
End time: Wed Dec 2 11:23:16 2015
Processing tranlation indexes: [TTTTTTTTTT]
Downloading 187 translation files using 8 threads...
Begin time: Wed Dec 2 11:23:16 2015
[8]... [7]... [6]... [5]... [4]... [3]... [2]... [1]... [0]...
End time: Wed Dec 2 11:23:23 2015 …
Run Code Online (Sandbox Code Playgroud)