On 26/03/2019 11:00, Arian Molina Aguilera wrote:
El 26/3/19 a las 7:58, Jose Joaquin Ruiz Silva escribió:
Si tengo el servidor con ntp funcionando como servidor de hora  y me
pincha bien estan todas las maquinas con la misma hora y la misma zona
horaria America/Havana.

On 25/03/2019 17:07, Arian Molina Aguilera wrote:
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??


_______________________________________________
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
Entonces puede que sea problema del mirror top que estás utilizando en
tus orígenes, puedes cambiar de mirror y volver a sincronizar tu
repositorio, luego apt update nuevamente. y por favor no hagas top
posting, contesta los correos debajo como se recomienda en cadenas para
mantener el hilo de la conversación. Esto es una lista de software
libre, el comportamiento de responder en el top, es nativo de clientes
de correos de microsoft como el outlook que no respeta los estándares.


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


esta bien disculpa arian no sabia no hay problema mira probe cambiar a ftp.us.debian.org y descargo todo lo de dists

y me da lo mismo y entonces probe hacer un apt update directo a internet y no me da el error.

@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