Re: script miroir ubuntu

2005-06-27 Par sujet Hervé Hounzandji

Cyrille MORTREUX a écrit :


Perl, c'est fait :

cpan
install URI


Maintenant, le pb est ailleurs : 


.../...

sent 156 bytes  received 72 bytes  456.00 bytes/sec
total size is 0  speedup is 0.00
receiving file list ... done

sent 160 bytes  received 72 bytes  464.00 bytes/sec
total size is 0  speedup is 0.00
Won't mirror without dists/hoary/main/binary-i386/Packages.gz signature
in Release at /usr/bin/debmirror line 1174. releasing 1 pending lock...
at /usr/lib/perl5/LockFile/Simple.pm line 182.



Je précise que les modules CPAN Simple.pm sont installés...


Quid ???

 

T'as raison. Je cherche ... J'avais pas testé cette partie. J'ai testé 
les parties horay-security, hoary-updates et hoary-backports. Merde j'ai 
pas testé cette partie de mon script.


--
Hervé Hounzandji
systèmes et réseaux informatiques
Agence universitaire de la Francophonie (AuF)
Campus Numérique Francophone de Cotonou (Cnfc)
www.auf.org  - www.refer.bj



--
ubuntu-fr mailing list
ubuntu-fr@lists.ubuntu.com
http://lists.ubuntu.com/mailman/listinfo/ubuntu-fr


Re: script miroir ubuntu

2005-06-27 Par sujet Jérémy Vies

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 <[EMAIL PROTECTED]> wrote:



Hello,

Jean-Philippe Caruana a écrit :



2005/6/24, Hervé Hounzandji <[EMAIL PROTECTED]>:




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 :
  





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@lists.ubuntu.com
http://lists.ubuntu.com/mailman/listinfo/ubuntu-fr








-- 
ubuntu-fr mailing list
ubuntu-fr@lists.ubuntu.com
http://lists.ubuntu.com/mailman/listinfo/ubuntu-fr

Re: script miroir ubuntu

2005-06-27 Par sujet Cyrille MORTREUX
Perl, c'est fait :

cpan
install URI


Maintenant, le pb est ailleurs : 

.../...

sent 156 bytes  received 72 bytes  456.00 bytes/sec
total size is 0  speedup is 0.00
receiving file list ... done

sent 160 bytes  received 72 bytes  464.00 bytes/sec
total size is 0  speedup is 0.00
Won't mirror without dists/hoary/main/binary-i386/Packages.gz signature
in Release at /usr/bin/debmirror line 1174. releasing 1 pending lock...
at /usr/lib/perl5/LockFile/Simple.pm line 182.



Je précise que les modules CPAN Simple.pm sont installés...


Quid ???

--
ubuntu-fr mailing list
ubuntu-fr@lists.ubuntu.com
http://lists.ubuntu.com/mailman/listinfo/ubuntu-fr


Re: script miroir ubuntu

2005-06-27 Par sujet Cyrille MORTREUX
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 <[EMAIL PROTECTED]> wrote:

> Hello,
> 
> Jean-Philippe Caruana a écrit :
> 
> >2005/6/24, Hervé Hounzandji <[EMAIL PROTECTED]>:
> >  
> >
> >>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 :
> >>
> >>
> >
> >
> >
> >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@lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-fr
> 


-- 
On n'est bien que libre et cacher ses opinions est encore plus genant
que couvrir sa peau. M. Yourcenar

--
ubuntu-fr mailing list
ubuntu-fr@lists.ubuntu.com
http://lists.ubuntu.com/mailman/listinfo/ubuntu-fr


Re: script miroir ubuntu

2005-06-27 Par sujet Hervé Hounzandji

Hello,

Jean-Philippe Caruana a écrit :


2005/6/24, Hervé Hounzandji <[EMAIL PROTECTED]>:
 


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 :
   





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@lists.ubuntu.com
http://lists.ubuntu.com/mailman/listinfo/ubuntu-fr


Re: script miroir ubuntu

2005-06-27 Par sujet Jean-Philippe Caruana
2005/6/24, Hervé Hounzandji <[EMAIL PROTECTED]>:
> 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 :



il faut que tu nous dises ce qui merde, sinon ...

-- 
Jean-Philippe Caruana
http://perso.enstimac.fr/~caruana/

--
ubuntu-fr mailing list
ubuntu-fr@lists.ubuntu.com
http://lists.ubuntu.com/mailman/listinfo/ubuntu-fr