[Ubuntu-zh] 关于使用apt-mirror出现的错误

一叶 oneleaf在gmail.com
星期五 五月 8 09:16:37 BST 2009


设置错了,Ubuntu应该为ubuntu.

2009/5/7 Iven Day <ivenvd在gmail.com>

> 没用过 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/
>
> --
> ubuntu-zh mailing list
> ubuntu-zh在lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>
>


-- 
一叶
------------
Ubuntu中文社区 - 人多、活跃 - Linux 最佳选择。
http://forum.ubuntu.org.cn
-------------- 下一部分 --------------
一个HTML附件被移除...
URL: https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20090508/8a968b10/attachment.htm 


More information about the ubuntu-zh mailing list