On 03/24/2012 04:39 PM, Armando Felipe Fuentes Denis wrote:
tengo un problema y necesito su ayuda
trato de hacer un debmirror de mi server para cojer los repos del debian lenny para darselo a una persona donde tengo ambas arquitecturas, y quiero hacer un mirror hacia mi maquina

actualmente tengo los repos en mi server de la siguiente forma

http://192.168.0.1/repo/debian/lenny/
donde esta ahi ya la carpetas dists, pool y project

hago del debmirror de la siquiente forma

debmirror --debug --method=http --dist=lenny --nosource --arch=i386 --host=192.168.0.1/repo --progress --verbose /media/disk/repos/debian/lenny/32bit

y me da el siguiente error

cubared:~# debmirror --debug --method=http --dist=lenny --nosource --arch=i386 --host=192.168.0.1/repo --progress --verbose /media/disk/repos/debian/lenny/32bit Mirroring to /media/disk/repos/debian/lenny/32bit from http://192.168.0.1/repo//debian/
Arches: i386
Dists: lenny
Sections: main,contrib,non-free,main/debian-installer
Will clean up AFTER mirroring.
Pdiff mode: use.
Attempting to get lock, this might take 2 minutes before it fails.
Get Release files.
http://192.168.0.1/repo//debian/dists/lenny/Release => [0%] Getting: dists/lenny/Release... 404 Not Found
dists/lenny/Release failed 404 Not Found
dists/lenny/Release failed md5sum check, removing
http://192.168.0.1/repo//debian/dists/lenny/Release.gpg => [0%] Getting: dists/lenny/Release.gpg... 404 Not Found
dists/lenny/Release.gpg failed 404 Not Found
dists/lenny/Release.gpg failed md5sum check, removing
Release signature does not verify, file missing.
Errors:
Download of dists/lenny/Release failed: 404 Not Found Download of dists/lenny/Release.gpg failed: 404 Not Found Release signature does not verify.
Failed to download some Release or Release.gpg files!
WARNING: releasing 1 pending lock...



Mira este script, que te coloco en el cuerpo del correo, copialo, para un fichero, modificalo, de acuerdo a tus necesidades y ejecutalo que te funcionara,



#!/bin/bash

# Arquitectura a descargar.Para Ubuntu puedes ser i386,powerpc o amd64.
arch=i386

# Secciones a descargar
section=main,restricted,universe,multiverse

# Releases del sistema que des (Dapper, Edgy, Feisty, Gutsy, Hardy, Intrepid)
release=lucid,lucid-updates, lucid-security, lucid-proposed,lucid-backports

# El protocolo usado para la transferencia (http, ftp, hftp, rsync)
proto=http

# Direccion principal del servidor desde sonde se va a copiar
server=ubuntu.uci.cu

# ruta a partir de la direccion principal que
#junto con el protocolo($proto) y la direccion principal($server) forma la url ej: http://ubuntu.uci.cu/ubuntu
inPath=/ubuntu

# Directorio donde se almacenara el repositorio
outPath=/media/I_Love_D/repo

# La opcion --nosource solo descargas los debs y no las fuentes (deb-src's)
# La opcion --progress muestra los archivos que se van descargando
# --source \ en lugar --no-source \ si desea descargar los fuentes.
#
debmirror       -a $arch \
                --no-source \
                -s $section \
                -h $server \
                -d $release \
                -r $inPath \
                --progress \
                -e $proto \
                --ignore-release-gpg \
                $outPath



10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS 
INFORMATICAS...
CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION

http://www.uci.cu
http://www.facebook.com/universidad.uci
http://www.flickr.com/photos/universidad_uci
------------ próxima parte ------------
A non-text attachment was scrubbed...
Name: mirrorbuild.sh
Type: application/x-shellscript
Size: 1244 bytes
Desc: no disponible
URL: 
<http://listas.jovenclub.cu/pipermail/gutl-l/attachments/20120327/f3068234/attachment.bin>
______________________________________________________________________
Lista de correos del Grupo de Usuarios de Tecnologías Libres de Cuba.
Gutl-l@jovenclub.cu
https://listas.jovenclub.cu/cgi-bin/mailman/listinfo/gutl-l

Responder a