El 25/3/19 a las 16:36, Jose Joaquin Ruiz Silva escribió:
> Buenas tengo un repo local con debmirror de debian 9 este ese el script
>
> #!/bin/bash
>
> proxy=http://user:pass@ip:3128/
>
> ARQUITECTURA=amd64,i386
> METODO=http
> ROOT=debian
> RAMA=stretch
> HOST=ftp.es.debian.org
> TO=/mnt/Debian/stretch
>
> SECCIONES=main,contrib,non-free
> # -----
> LOGDIR=/mnt
> 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 \
> --omit-suite-symlinks \
> --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
>
> y descarga bien pero cuando le doy a una maquina en linux apt update
>
> me da un error de la suma hash difiere
>
> Probem executing scripts APT::Update::Post-Invoke-Success 'test -x
> /usr/bin/apt-show-versions || exit 0; apt-show-versions -i'
> Sub-process returned an error code
>
> que puede ser y como arreglarlo
>
> saludos
>
>
> _______________________________________________
> Gutl-l mailing list -- gutl-l@listas.jovenclub.cu
> To unsubscribe send an email to gutl-l-le...@listas.jovenclub.cu

Tienes la fecha y hora bien en ambas pc??

-- 
Arian Molina Aguilera 
Administrador de Redes y Servicios Telemáticos 
Linux Usuario Registrado #392892 
Telfs: +53(7)696-7510 ext 236
jabber: linuxc...@teknik.io 
Brascuba Cigarrillos S.A. La Habana. Cuba.
“Nunca consideres el estudio como una obligación, 
sino como una oportunidad para penetrar en el bello 
y maravilloso mundo del saber. Albert Einstein”


Attachment: signature.asc
Description: OpenPGP digital signature

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

Responder a