gre*_*LED 6 package-management apt repository apt-mirror 14.04
我正在使用 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
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.
Run Code Online (Sandbox Code Playgroud)
知道发生了什么吗?提前致谢。