[Ubuntu-zh] 关于使用apt-mirror出现的错误
Iven Day
ivenvd在gmail.com
星期四 五月 7 14:05:47 BST 2009
没用过 apt-mirror ,我用的是脚本,你看看,或许能帮上忙……
http://ivenvd.blogspot.com/2009/05/ubuntudebian.html
2009/5/7 mx z <z82507200在gmail.com>
> 打算用apt-mirror和apache做一个ubuntu的本地镜像源,修改完mirror.list后,执行apt-mirror命令,出现如下结果:
>
> robocup在robocup-desktop:~$ sudo apt-mirror
> Downloading 80 index files using 10 threads...
> Begin time: Thu May 7 20:22:51 2009
> [10]... [9]... [8]... [7]... [6]... [5]... [4]... [3]... [2]... [1]...
> [0]...
> End time: Thu May 7 20:22:52 2009
>
> Proceed indexes: [Psh: cannot open
> debian.ustc.edu.cn/Ubuntu///dists/intrepid/main/binary-i386/Packages.gz:
> No such file
> apt-mirror: can't open index in proceed_index_gz at /usr/bin/apt-mirror
> line 390
>
> mirror.list文件如下:
> ############# config ##################
> #
> # set base_path /var/spool/apt-mirror
> #
> # if you change the base path you must create the directories below with
> write privileges
> #
> # set mirror_path $base_path/mirror
> # set skel_path $base_path/skel
> # set var_path $base_path/var
> # set cleanscript $var_path/clean.sh
> # set defaultarch <running host architecture>
> set nthreads 10
> set _tilde 0
> #
> ############# end config ##############
>
> deb http://debian.ustc.edu.cn/Ubuntu/ intrepid main multiverse restricted
> universe
> deb http://debian.ustc.edu.cn/Ubuntu/ intrepid-backports main multiverse
> restricted universe
> deb http://debian.ustc.edu.cn/Ubuntu/ intrepid-proposed main multiverse
> restricted universe
> deb http://debian.ustc.edu.cn/Ubuntu/ intrepid-security main multiverse
> restricted universe
> deb http://debian.ustc.edu.cn/Ubuntu/ intrepid-updates main multiverse
> restricted universe
> clean http://debian.ustc.edu.cn/ubuntu
>
>
> 请问该如何解决? 谢谢
>
> --
> ubuntu-zh mailing list
> ubuntu-zh在lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>
>
--
Wanna be the biggest dreamer~
K.I.S.S: http://ivenvd.blogspot.com/
-------------- 下一部分 --------------
一个HTML附件被移除...
URL: https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20090507/604210d3/attachment.htm
More information about the ubuntu-zh
mailing list