Descargar repo

Moderador: frank

arpTux
Mensajes: 4
Registrado: Mar, 04 Oct 2011, 11:05

Descargar repo

Mensaje por arpTux » Mar, 01 Nov 2011, 10:29

hola amigos, he seguido el tuto de debmirror que hay en la wiki, pero me da un error, aqui les voy a poner el script mio y la salida en la consola a ver que me dicen

debmirror.sh

#### Start script to automate building of Ubuntu mirror #####
## THE NEXT LINE IS NEEDED THE REST OF THE LINES STARTING WITH A # CAN BE DELETED

#!/bin/bash

## Poniendo las variables con explicacion.

#
# GNUPGHOME es para definir donde tenemos las llaves *.gpg
#
export GNUPGHOME=/media/Almacen/repositorio/mirrorkeyring/medibuntu


# Arch= -a
# Arquitectura. Para Ubuntu puede ser i386 o amd64.
#
arch=i386

# Un sistema Ubuntu require al menos main, restricted
#
section=free,non-free

# Release= -d
# Release de el sistema (Hardy,Haunty,Karmic,Lucid ), y el -updates y -security ( -backports can be added if desired)
#
release=lucid,lucid-staging

# Server= -h
# Nombre del servidor
#
server=ftp.govij.co.cu

# Dir= -r
# Camino desde la raiz del servidor, como http://my.web.server/$dir
#
inPath=/ubuntu_repo/medibuntu

# Proto= -e
# Protocolo para la transferencia(http, ftp, hftp, rsync)
# No acepta (file)
#
proto=http

# Outpath=
# Carpeta donde se guarda el Espejo
# Ponga el camino completo.
#
outPath=/media/Almacen/repositorio/medibuntu


# Start script
#
debmirror -a $arch \
--no-source \
-s $section \
-h $server \
-d $release \
--verbose \
-r $inPath \
--progress \
-e $proto \
--proxy=http://172.20.16.1:8080/ \
$outPath \
--allow-dist-rename \
--ignore-missing-release

#### End script to automate building of Ubuntu mirror ####

salida en la terminal

# sh /media/Almacen/repositorio/debmirror.sh
Mirroring to /media/Almacen/repositorio/medibuntu from http://ftp.govij.co.cu/ubuntu_repo/medibuntu/
Arches: i386
Dists: lucid,lucid-staging
Sections: free,non-free
Pdiff mode: use
Proxy: http://172.20.16.1:8080/
Will clean up AFTER mirroring.
Attempting to get lock, this might take 2 minutes before it fails.
Get Release files.
[0%] Getting: dists/lucid/Release... ok
[0%] Getting: dists/lucid/Release.gpg... dists/lucid/Release.gpg failed 404 Not Found
Release signature does not verify, file missing.
[0%] Getting: dists/lucid-staging/Release... ok
[0%] Getting: dists/lucid-staging/Release.gpg... dists/lucid-staging/Release.gpg failed 404 Not Found
Release signature does not verify, file missing.
The directory for a dist should be its codename, not a suite.
Starting conversion - renaming '.temp/dists/lucid' to '.temp/dists/lucid-staging':
conversion completed successfully
The directory for a dist should be its codename, not a suite.
Starting conversion - renaming 'dists/lucid' to 'dists/lucid-staging':
conversion completed successfully
Ignoring failed Release files.
Get Packages and Sources files and other miscellany.
mkdir failed: No existe el fichero o el directorio at /usr/bin/debmirror line 2290.
WARNING: releasing 1 pending lock...


tiren pa aca.

saludos.

Responder