apt-mirror 未下载软件包

apt-mirror 未下载软件包

我正在使用 apt-mirror 镜像 Ubuntu 14.04 仓库,但在下载软件包时遇到了一些麻烦。有时 apt-mirror 会获取索引文件并提示需要下载大约 XXX Mb,但它会在半秒钟内完成下载(当然,它什么都没下载)。后来我尝试使用镜像,却看到不存在的软件包。我重复该过程,再次出现相同的错误。

奇怪的是,如果我将 sources.list 直接指向我正在镜像的 repo,我就可以正常使用它,因为包就在那里。

这是我从 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

Processing indexes: [PPPPPPPPPP]

784.1 MiB will be downloaded into archive.
Downloading 302 archive files using 8 threads...
Begin time: Wed Dec  2 11:23:30 2015
[8]... [7]... [6]... [5]... [4]... [3]... [2]... [1]... [0]... 
End time: Wed Dec  2 11:23:32 2015

1.5 GiB in 721 files and 0 directories can be freed.
Run /var/spool/apt-mirror/var/clean.sh for this purpose.

Running the Post Mirror script ...
(/var/spool/apt-mirror/var/postmirror.sh)

/bin/sh: 0: Can't open /var/spool/apt-mirror/var/postmirror.sh

Post Mirror script has completed. See above output for any possible errors.

知道发生了什么事吗?提前致谢。

相关内容