Re: OT Descargar repositorio de Manjaro desde Debian
----- Original Message -----
From: "Ismael L. Donis Garcia" <slibre@citricos.co.cu>
To: <debian-user-spanish@lists.debian.org>
Sent: Monday, December 29, 2014 3:34 PM
Subject: Fw: OT Descargar repositorio de Manjaro desde Debian
----- Original Message -----
From: "Ismael L. Donis Garcia" <slibre@citricos.co.cu>
To: <debian-user-spanish@lists.debian.org>
Sent: Monday, December 29, 2014 3:18 PM
Subject: OT Descargar repositorio de Manjaro desde Debian
Estoy tratando de bajar el repositorio de manjaro desde mi pc en debian y
me da error el comando rsync, he tratado de encontrar el error pero
parece que mis neuronas hoy no dan para más.
el script es el siguiente:
#!/bin/bash
# Sincroniza el repositorio de Arch del servidor
'mirror.netzspielplatz.de'
# con el directorio /repositorio
# Definición de los parámetros usados:
#
# a, -archive -> archive mode; same as -rlptgoD (no -H)
# v, -verbose -> increase verbosity
# r, -recursive -> recurse into directories
rsync -arv \
-delete-after \
-exclude=iso \
-exclude=x86_64 \
-exclude=images \
-exclude=other \
-exclude=release \
-exclude=unstable \
-exclude=testing \
mirror.netzspielplatz.de::manjaro/ \
/manjaro/
Y el error que me da es el siguiente:
root@clt_iyc_03:/mnt/datos/instalaciones/linux# sh rmanjaro.sh
Unexpected remote arg: mirror.netzspielplatz.de::manjaro/
rsync error: syntax or usage error (code 1) at main.c(1232)
[sender=3.0.9]
root@clt_iyc_03:/mnt/datos/instalaciones/linux#
Alguien me podría dar un empujoncito a ver si puedo hechar a andar el
script?
Desde ya Gracias
========
| ISMAEL |
========
Modifiqué el script quedando de la siguiente forma:
#!/bin/bash
# Sincroniza el repositorio de Arch del servidor
'mirror.netzspielplatz.de'
# con el directorio /repositorio
# Definición de los parámetros usados:
#
# a, -archive -> archive mode; same as -rlptgoD (no -H)
# v, -verbose -> increase verbosity
# r, -recursive -> recurse into directories
#-exclude=iso \
#-exclude=images \
#-exclude=other \
rsync -arv \
-delete-after \
-exclude=x86_64 \
#-exclude=release \
#-exclude=unstable \
#-exclude=testing \
http://mirror.netzspielplatz.de/manjaro/packages/stable/ \
/manjaro/
Y ahora el error que me da es el siguiente:
root@clt_iyc_03:/mnt/datos/instalaciones/linux# sh rmanjaro.sh
sending incremental file list
rsync: link_stat "/mnt/datos/instalaciones/linux/-delete-after" failed: No
such file or directory (2)
sent 12 bytes received 12 bytes 48.00 bytes/sec
total size is 0 speedup is 0.00
rsync error: some files/attrs were not transferred (see previous errors)
(code 23) at main.c(1070) [sender=3.0.9]
rmanjaro.sh: 20: rmanjaro.sh:
http://mirror.netzspielplatz.de/manjaro/packages/stable/: not found
root@clt_iyc_03:/mnt/datos/instalaciones/linux#
Saludos Reiterados
========
| ISMAEL |
========
He seguido probando ahora el script es:
rsync -arv \
--delete-after \
--exclude=x86_64 \
--exclude=testing \
--exclude=unstable \
http://mirror3.layerjet.com/manjaro/ \
~/manjaro/
Y el error que me da es:
root@clt_iyc_03:/mnt/datos/instalaciones/linux# sh rmanjaro.sh
sending incremental file list
rsync: link_stat "/mnt/datos/instalaciones/linux/-delete-after" failed: No
such file or directory (2)
sent 12 bytes received 12 bytes 48.00 bytes/sec
total size is 0 speedup is 0.00
rsync error: some files/attrs were not transferred (see previous errors)
(code 23) at main.c(1070) [sender=3.0.9]
rmanjaro.sh: 20: rmanjaro.sh: http://mirror.netzspielplatz.de/manjaro/: not
found
root@clt_iyc_03:/mnt/datos/instalaciones/linux# sh rmanjaro.sh
rsync: getaddrinfo: mirror.netzspielplatz.de 873: Name or service not known
rsync error: error in socket IO (code 10) at clientserver.c(122)
[Receiver=3.0.9]
root@clt_iyc_03:/mnt/datos/instalaciones/linux# sh rmanjaro.sh
rsync: -http://mirror3.layerjet.com/manjaro/: unknown option
rsync error: syntax or usage error (code 1) at main.c(1453) [client=3.0.9]
root@clt_iyc_03:/mnt/datos/instalaciones/linux# sh rmanjaro.sh
rsync: Failed to exec xclude=unstable: No such file or directory (2)
rsync error: error in IPC code (code 14) at pipe.c(84) [Receiver=3.0.9]
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(605)
[Receiver=3.0.9]
root@clt_iyc_03:/mnt/datos/instalaciones/linux# man rsync
root@clt_iyc_03:/mnt/datos/instalaciones/linux# sh rmanjaro.sh
ssh: Could not resolve hostname http: Name or service not known
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: unexplained error (code 255) at io.c(605) [Receiver=3.0.9]
root@clt_iyc_03:/mnt/datos/instalaciones/linux#
Saludos Reiterados
========
| ISMAEL |
========
Reply to: