[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Debmirror + Rsync a servidores Debian



aludos,

Estoy intentando hacer un mirror local de Debian Testing, con debmirror + rsync, al intentar conectar, recibo una notificación [1].

Buscando me encontre que hacer sync a los servidores y como dice en la notificación ha sido deshabilitada [2].

Ahora bien me gustaría saber si conocen de algún servidor al que aun este servicio este habilitado, coloco el script que estoy usando con debmirror y rsync [3].







[1]
2008/09/14 18:48:23 [1788] This site is just another one in a worldwide array of Debian mirrors. 2008/09/14 18:48:23 [1788] It is not the "primary Debian FTP site" -- it is merely an official
2008/09/14 18:48:23 [1788] mirror that is in the United States of America.
2008/09/14 18:48:23 [1788]
2008/09/14 18:48:23 [1788] If you are connecting from outside the USA, please consider using another 2008/09/14 18:48:23 [1788] official Debian mirror, one that is closer to you. This will likely help 2008/09/14 18:48:23 [1788] you by speeding up your downloads, and it will help us by lessening the
2008/09/14 18:48:23 [1788] load on this machine.
2008/09/14 18:48:23 [1788]
2008/09/14 18:48:23 [1788] Current list of Debian mirrors is at http://www.debian.org/mirror/list
2008/09/14 18:48:23 [1788]
2008/09/14 18:48:23 [1788] The rsync service on ftp.debian.org is deprecated since 2001; it has 2008/09/14 18:48:23 [1788] been disabled in August 2008. If you were using it to sync the debian 2008/09/14 18:48:23 [1788] archive please find another upstream source. Feel free to contact
2008/09/14 18:48:23 [1788] mirrors@debian.org if you have any questions.
2008/09/14 18:48:23 [1788]
2008/09/14 18:48:23 [1788]
2008/09/14 18:48:23 [1788] @ERROR: Unknown module 'debian'
2008/09/14 18:48:23 [1788] rsync error: error starting client-server protocol (code 5) at main.c(1522) [receiver=3.0


[2]
http://lists.debian.org/debian-news/2008/msg00010.html


CD/DVD Image Downloads - A Reminder / rsync on ftp.debian.org

[50]Josip Rodin noted that there seems to be a rush of CD/DVD image
hoarding happening. Particularly, it seems that many people are not
only downloading the first image, but the additional images (CDs 2-20+)
as well. The full set of images is published so that they can be
downloaded by those who do not have regular access to a reliable
internet connection. However, for those who do have solid Internet
connections, it is more efficient to retrieve packages directly from
the repositories.

 50: http://lists.debian.org/debian-mirrors/2008/08/msg00000.html

In related news Josip Rodin [51]noted that the rsync service on
ftp.debian.org has been deprecated since 2001 and has now been disabled
completely. Everyone who has used that mirror to synchronise his own
mirror using rsync should switch to an other mirror. A complete list of
Debian mirrors is available at [52]http://www.debian.org/mirror/list.

 51: http://lists.debian.org/debian-mirrors/2008/08/msg00018.html
 52: http://www.debian.org/mirror/list


[3]
#!/bin/sh
#
#
#
#
#
#

echo -e "Inicio de la actualización:\n`date`\n"

### Mirror para la version: "TESTING" (Lenny)
###
###
### Listado de Mirror:
### http://www.debian.org/mirror/list-full

#DE="ftp.ca.debian.org"
DE='ftp.debian.org'

# 0 corre en modo consola con feedback a stdout
# 1 corre en modo batch con feedback a /var/log/syslog
SILENT=0

##Registro
logdir="/home/mirrorlocal/pub/log/debian/registro-debian_`date +%Y-%m-%d_%H.%M.%S`.log"

#METODO2='--method=http'
METODO1='--method=rsync'

#ROOT2='--root=/debian'
ROOT1='--root=:debian'
DISTRO='--dist=testing'
ARCH='--arch=i386'
#TIEMPO='--timeout=300'
SECCIONES='--section=main,contrib,non-free'
CODIGOS="--nosource"
RSYNC="--rsync-options='-aIL --update --bwlimit=30 --log-file=$logdir'"

##Rutas:
DIRECTORIO='/home/mirrorlocal'

##Archivo
DEBMIRROR="/usr/bin/debmirror"

PROGRESO='-v -p'

EXLCUIR='--exclude=".*-az_.*" --exclude=".*-bg_.*" --exclude=".*-br_.*" --exclude=".*-bs_.*" \
--exclude=".*-cs_.*" --exclude=".*-cy_.*" --exclude=".*-da_.*" \
--exclude=".*-he_.*" --exclude=".*-hi_.*" --exclude="hlatex.*" \
--exclude=".*-hr_.*" --exclude=".*-hu_.*" --exclude="iamerican.*" \
--exclude="ibrazilian.*" --exclude="ibulgarian.*" --exclude="icatalan.*" \
--exclude="iczech.*" --exclude="idanish.*" --exclude="idutch.*" \
--exclude="iesperanto.*" --exclude="ifaroesev.*" --exclude="ifinnish.*" \
--exclude="igaelic.*" --exclude="igalician-minimos.*" \
--exclude="ihungarian.*" --exclude="iiimf.*" --exclude="iirish.*" \
--exclude="iitalian.*" --exclude="ilithuanian.*" \
--exclude="inorwegian.*" --exclude="installation-guide-alpha.*" \
--exclude="installation-guide-powerpc.*" --exclude="iogerman.*" \
--exclude="ipolish.*" --exclude="irussian.*" --exclude=".*-is_.*" \
--exclude="iswedish.*" --exclude="iswiss.*" --exclude=".*-it_.*" \
--exclude="iukrainian.*" --exclude=".*-ja_.*" --exclude="libthai.*" \
--exclude=".*-lv_.*" --exclude=".*-mk_.*" --exclude=".*-mn_.*" --exclude=".*-ms_.*" \ --exclude="nabi.*" --exclude=".*-nb_.*" --exclude=".*-nds_.*" --exclude=".*-nl_.*" --exclude=".*-nn_.*" \
--ignore-release-gpg --ignore-missing-release --ignore-small-errors \
--getcontents --pdiff=none --cleanup'


### Funcion

function mirrorlocal {

  if [ $SILENT -eq 1 ]; then
      /usr/bin/logger "Inicio de sync del mirror $DISTRO"
  else
      echo " ----------------------------------------------------"
      echo "|              INICIANDO                        |"
    echo " ----------------------------------------------------"
    echo "        Distro: $DISTRO"
      echo "        Secciones: $SECCIONES"
      echo "        Server: $DE"
    echo "        Arch: $ARCH"
      echo "        Mirror en: $DIRECTORIO"
  fi

eval "$DEBMIRROR $PROGRESO $RSYNC $METODO1 $ROOT1 $DISTRO $ARCH $SECCIONES $CODIGOS $EXLCUIR $DE $DIRECTORIO" >> /home/mirrorlocal/pub/log/debian/registro-debian-inicial.log 2>&1


  if [ $SILENT -eq 1 ]; then
      /usr/bin/logger "Finalizo de sync del mirror $DISTRO"
  else
    echo " ----------------------------------------------------"
      echo "|              FINALIZADO                       |"
    echo " ----------------------------------------------------"
  fi
}


mirrorlocal

exit 0


Reply to: