script miroir ubuntu

Jérémy Vies jeremy.vies at thalesatm.com
Lun 27 Juin 10:59:38 UTC 2005


Il ne te manque pas un package (genre perl-uri :) ) ?

Cyrille MORTREUX a écrit :
> Y a un truc qui merde avec Perl chez moi :
> 
> Miroir de /home/ftp/ubuntu-security
> Can't locate URI.pm in @INC (@INC contains: /etc/perl
> /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5
> /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
> /usr/local/lib/site_perl .) at (eval 6) line 3. Compilation failed in
> require at /usr/share/perl5/HTTP/Request.pm line 5. Compilation failed
> in require at /usr/share/perl5/LWP/UserAgent.pm line 12. BEGIN
> failed--compilation aborted at /usr/share/perl5/LWP/UserAgent.pm line
> 12. Compilation failed in require at /usr/bin/debmirror line 301.
> BEGIN failed--compilation aborted at /usr/bin/debmirror line 301.
> Miroir de /home/ftp/ubuntu-updates
> Can't locate URI.pm in @INC (@INC contains: /etc/perl
> /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5
> /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
> /usr/local/lib/site_perl .) at (eval 6) line 3. Compilation failed in
> require at /usr/share/perl5/HTTP/Request.pm line 5. Compilation failed
> in require at /usr/share/perl5/LWP/UserAgent.pm line 12. BEGIN
> failed--compilation aborted at /usr/share/perl5/LWP/UserAgent.pm line
> 12. Compilation failed in require at /usr/bin/debmirror line 301.
> BEGIN failed--compilation aborted at /usr/bin/debmirror line 301.
> Miroir de /home/ftp/ubuntu-backports
> Can't locate URI.pm in @INC (@INC contains: /etc/perl
> /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5
> /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
> /usr/local/lib/site_perl .) at (eval 6) line 3. Compilation failed in
> require at /usr/share/perl5/HTTP/Request.pm line 5. Compilation failed
> in require at /usr/share/perl5/LWP/UserAgent.pm line 12. BEGIN
> failed--compilation aborted at /usr/share/perl5/LWP/UserAgent.pm line
> 12. Compilation failed in require at /usr/bin/debmirror line 301.
> BEGIN failed--compilation aborted at /usr/bin/debmirror line 301.
> Miroir de /home/ftp/ubuntu
> Can't locate URI.pm in @INC (@INC contains: /etc/perl
> /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5
> /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
> /usr/local/lib/site_perl .) at (eval 6) line 3. Compilation failed in
> require at /usr/share/perl5/HTTP/Request.pm line 5. Compilation failed
> in require at /usr/share/perl5/LWP/UserAgent.pm line 12. BEGIN
> failed--compilation aborted at /usr/share/perl5/LWP/UserAgent.pm line
> 12. Compilation failed in require at /usr/bin/debmirror line 301.
> BEGIN failed--compilation aborted at /usr/bin/debmirror line 301.
> 
> 
> 
> On Mon, 27 Jun 2005 09:53:07 +0100
> Hervé Hounzandji <herve.hounzandji at auf.org> wrote:
> 
> 
>>Hello,
>>
>>Jean-Philippe Caruana a écrit :
>>
>>
>>>2005/6/24, Hervé Hounzandji <herve.hounzandji at auf.org>:
>>> 
>>>
>>>
>>>>Bonjour les amis,
>>>>   
>>>>
>>>
>>>hello
>>>
>>> 
>>>
>>>
>>>>je suis nouvo sur la liste ubuntu.
>>>>Je veux avoir un miroir ftp ubuntu dans mon réso. J'ai donc installé
> 
> le
> 
>>>>package debmirror de debian et je merde dans le script que voici :
>>>>   
>>>>
>>>
>>><snip script>
>>>
>>>il faut que tu nous dises ce qui merde, sinon ...
>>>
>>> 
>>>
>>
>>  J'ai refait mon script et apparemment tout est ok. Je vous fais donc
> 
> 
>>partager mon script.
>>
>> #!/bin/sh
>>
>>DESTINATION=/home/ftp/ubuntu
>>SERVEURSOURCE=fr.archive.ubuntu.com
>>
>>echo "Miroir de $DESTINATION-security"
>>
>>debmirror $DESTINATION-security --host=security.ubuntu.com \
>> --arch=i386 --nosource --method=rsync \
>> --root=:ubuntu \
>> --dist=hoary-security \
>> --section=main,multiverse,restricted,universe \
>> --debug \
>> --progress # décommenter pour déboguer
>>
>>echo "Miroir de $DESTINATION-updates"
>>
>>debmirror $DESTINATION-updates --host=$SERVEURSOURCE \
>> --arch=i386 --nosource --method=rsync \
>> --root=:ubuntu \
>> --dist=hoary-updates \
>> --section=main,restricted,multiverse,universe \
>> --getcontents \
>> --debug \
>> --progress # décommenter pour déboguer
>>
>>echo "Miroir de $DESTINATION-backports"
>>
>>debmirror $DESTINATION/hoary-backports --host=$SERVEURSOURCE \
>> --arch=i386 --nosource --method=rsync \
>> --root=:ubuntu \
>> --dist=hoary-backports \
>> --section=main,restricted,multiverse,universe \
>> --getcontents \
>> --debug \
>>
>>echo "Miroir de $DESTINATION"
>>
>>debmirror $DESTINATION --host=$SERVEURSOURCE \
>> --arch=i386 --nosource --method=rsync \
>> --root=:ubuntu \
>> --dist=hoary \
>> --section=main,restricted,multiverse,universe \
>> --getcontents \
>> --debug \
>>                                  
>>
>>-- 
>>Hervé Hounzandji
>>systèmes et réseaux informatiques
>> 
>>
>>
>>
>>-- 
>>ubuntu-fr mailing list
>>ubuntu-fr at lists.ubuntu.com
>>http://lists.ubuntu.com/mailman/listinfo/ubuntu-fr
>>
> 
> 
> 





Plus d'informations sur la liste de diffusion ubuntu-fr