Mano pon el error que te da para saber este es el que uso yo

#!/bin/bash

proxy=http://user:password@ip:3128/

ARQUITECTURA=amd64
METODO=http
ROOT=debian
RAMA=stretch
HOST=ftp.us.debian.org
TO=/mnt/3000GB/Debian/stretch

SECCIONES=main,contrib,non-free
# -----
LOGDIR=/mnt/3000GB/Logs_Repos
LOGFILE=stretch.log

date >$LOGDIR/$LOGFILE

if [ -f $LOGDIR/stretch.pid ]; then
    echo "La actualizacion del mirror se esta ejecutando."
else
    echo $$ > $LOGDIR/stretch.pid


echo "==================================================================="
echo "Actualizando los repositorios PRINCIPALES; main, contrib, non-free"
echo "==================================================================="
echo ""

debmirror -a ${ARQUITECTURA} \
--debug \
--diff=none \
-s ${SECCIONES} \
-h ${HOST} \
-r ${ROOT} \
-d ${RAMA} \
-e ${METODO} \
--proxy=$proxy \
--passive \
--progress \
--verbose \
--source \
--postcleanup \
--getcontents \
--rsync-extra=none \
--i18n --exclude='/Translation-.*\.bz2$' --include='/Translation-es.*\.bz2$' --include='/Translation-en.*\.bz2$' \ --exclude='/l10n-.*\.deb$' --include='/l10-es.*\.deb$' --include='/l10-en.*\.deb$' \
--ignore-release-gpg \
--ignore-missing-release \
${TO} >$LOGDIR/$LOGFILE 2>&1

 (cd $LOGDIR; savelog $LOGFILE)
 rm $LOGDIR/stretch.pid
fi
exit 0


On 22/07/2019 04:46 p.m., Yoandris Savon wrote:
HAsta ahora no se que estoy haceindo mal que no me funciona tampoco.

El lun., 22 jul. 2019 a las 16:43, Yoel Villarreal (<magodeoz.virt...@gmail.com <mailto:magodeoz.virt...@gmail.com>>) escribió:

    Con debmirror, ya te dieron un ejemplo

    El lun., 22 jul. 2019 a las 8:49, Yoandris Savon
    (<yoandris.savo...@gmail.com <mailto:yoandris.savo...@gmail.com>>)
    escribió:

        Saludos Colegas, alguien me pudiera ayudar con una guia
        bastante aterrizada de como bajar los repos de Debian desde
        Internet a mi maquina local, y mantener mis equipos
        actualizados. Le agradezco cualquier ayuda que me puedan
        brindar y perdonen mi ignorancia.
        _______________________________________________
        Gutl-l mailing list -- gutl-l@listas.jovenclub.cu
        <mailto:gutl-l@listas.jovenclub.cu>
        To unsubscribe send an email to
        gutl-l-le...@listas.jovenclub.cu
        <mailto:gutl-l-le...@listas.jovenclub.cu>



-- "Success in life is a matter no so much of talent and opportunity
    as of concentration and perseverance"
    _______________________________________________
    Gutl-l mailing list -- gutl-l@listas.jovenclub.cu
    <mailto:gutl-l@listas.jovenclub.cu>
    To unsubscribe send an email to gutl-l-le...@listas.jovenclub.cu
    <mailto:gutl-l-le...@listas.jovenclub.cu>



_______________________________________________
Gutl-l mailing list -- gutl-l@listas.jovenclub.cu
To unsubscribe send an email to gutl-l-le...@listas.jovenclub.cu

_______________________________________________
Gutl-l mailing list -- gutl-l@listas.jovenclub.cu
To unsubscribe send an email to gutl-l-le...@listas.jovenclub.cu

Responder a