PreguntasLinux

Versión Completa: Continuar descarga con Aria2 (solucionado)
Actualmente estas viendo una versión simplificada de nuestro contenido. Para ver la versión completa en el formato correcto, dale click aquí
Hola 1-wink
tengo problemas para continuar la descarga una vez que reinicio el soft aria2.
Estos datos me tira

Cita:
localhost t # aria2c -M openSUSE-10_2-GM-i386-CD1_iso.metalink
File ./openSUSE-10.2-GM-i386-CD1.iso exists, but ./openSUSE-10.2-GM-i386-CD1.iso.aria2 does not exist. The download was canceled in order to prevent your file from being truncated to 0. If you are sure to download file all over again, then delete it or add --allow-overwrite=true option and restart aria2.


Y al continuar descarga

Cita:
localhost t # aria2c -M openSUSE-10_2-GM-i386-CD1_iso.metalink
File ./openSUSE-10.2-GM-i386-CD1.iso exists, but ./openSUSE-10.2-GM-i386-CD1.iso.aria2 does not exist. The download was canceled in order to prevent your file from being truncated to 0. If you are sure to download file all over again, then delete it or add --allow-overwrite=true option and restart aria2.


Ke puedo hacer 1-wink

probaste con:

localhost t # aria2c -M openSUSE-10_2-GM-i386-CD1_iso.metalink --allow-overwrite=true

P.D: nunca use el aria

Salu2!
Existe ./openSUSE-10.2-GM-i386-CD1.iso ?

porque no te tiras un

Código:
ls -l  ./openSUSE-10.2-GM-i386-CD1*



ojo, con --allow-overwrite=true "rompes el resume"


./openSUSE-10.2-GM-i386-CD1.iso.aria2 -> ha de ser un temporal de aria2 (existe?)

openSUSE-10_2-GM-i386-CD1_iso.metalink -> xml con los links a "mirrors" (existe?)

http://en.wikipedia.org/wiki/Metalink
http://www.metalinker.org/

Configuration File

As of 0.10.2, aria2 supports configuration file. It must be placed under ~/.aria2 and must be named as aria2.conf. In each line, there is 1 parameter whose syntax is name=value pair, where name is the long command-line option name without '--' prefix. The lines beginning '#' are treated as comments.

Example:

# sample configuration file for aria2c
file-allocation=prealloc
listen-port=60000
seed-ratio=1.0
max-upload-limit=40K
ftp-pasv=true


Dependency

For HTTPS support, you need GNU TLS or OpenSSL.
For BitTorrent support, you need GNU TLS+libgcrypt or OpenSSL.
In order to enable Metalink support, you need libxml2. Optionally GNU TLS+libgcrypt or OpenSSL are required for checksum checking support(MD5, SHA1).
For asynchronous DNS support, you need c-ares or ares.

http://aria2.sourceforge.net/
./openSUSE-10.2-GM-i386-CD1.iso exists, but ./openSUSE-10.2-GM-i386-CD1.iso.aria2 no
Hi 1-wink
Discrepo, NO soy Vaguito, busco ser Hacker!!
Antes de abrir el post ya habia leido la page oficial de aria2c.
a) y si en verdad he usado la opcion "c" y he logrado los rdos ke ya postee en el 1° mensaje.

b) Tambien me percate de ke existe un archivo metalink, puesto ke el problema ke pretende resolver el post es continuar una descarga. No tendria sentido continuar una descarga que no se haya iniciado, Verdad? 1-wink

c) Tambien es evidente Ya! en el 1° mensaje de que exite ./openSUSE-10.2-GM-i386-CD1.iso exists, but ./openSUSE-10.2-GM-i386-CD1.iso.aria2 no. Tampoco otro, con distinta extension, seria OVio ke este ocuparia el lugar de aria2, Sinedo ademas una de mis primeras acciones antes de postear. Amo el Hacking!!!

d) He intentado probar cambiando la extension del archivo descargado ./openSUSE-10.2-GM-i386-CD1.iso por ./openSUSE-10.2-GM-i386-CD1.iso.aria2; para luego continuar descarga pero sin exito.

Y ta bueno tu post p_eter "Como hacer una pregunta inteligente" 1-wink
Y creo haberla hecho desde el 1° mensaje 1-wink
Gracias 1-wink
Estimado angelm, no entiendo tanta efusividad.. parece te has sentido ofendido, lo lamento.
Ha se ser por lo de vaguito, no? Lo dije en tono simpático, hace tiempo que posteas en PL y asumí cierta confianza. No creo haberlo dicho de mal modo.

Veamos, haces referencia al fragmento de "Preguntas inteligentes por Eric S. Raymond".
¡Ajá, las respuestas tan efusivas tienen el tinte de haber asumido que ese post estaba dirigido a tí en particular!

Pues no. Es solo un documento, de varios a publicar. A raiz de una atinada observación de Whiskola se generó un interesante debate interno para mejorar PL, fomentar la cooperación comunitaria, etc. Ya vas a ir viendo algunos cambios en la semana.

Creo solo leiste la 1er parte, te invito a leer el resto: http://www.preguntaslinux.org/showthread...56#pid9756

Lo fundamental es no olvidar que todos estamos aprendiendo y el foro en para cooperar mutuamente.

¿No se si me expliqué?

Saludos
Sip no problem 1-wink
Disculp mi efucividad, me trae de cabeza este tema de aria2c, no le encuentro la vuelta, me parece ke es un bug 1-wink
Por ahi dicen la persona es la persona mas su contexto, y muy acertad es esta verdad 1-wink
Tenia los pelos de punta luego de haber intentado sin exito varias altenativas por eso cuando postee no fue en mi mejor momento 1-wink
Angel, sorry la demora.. como puedes ver anda, espero puedas sacar de esta pegatina algo útil.
un abrazo!

:~/down/iso> ls
PCBSD-1.3.01-x86-CD1.iso.metalink
:~/down/iso> aria2c -M PCBSD-1.3.01-x86-CD1.iso.metalink
66,581,403/724,103,168 Bytes 9% 3h02m02s 62.25 KB/s 5 connections
stopping application...
done

:~/down/iso> aria2c -M PCBSD-1.3.01-x86-CD1.iso.metalink
67,894,958/724,103,168 Bytes 9% 3h14m13s 65.05 KB/s 15 connections
stopping application...
done

:~/down/iso> ls -l
total 66472
-rw------- 1 p_eter users 724103168 may 21 12:35 PCBSD-1.3.01-x86-CD1.iso
-rw-r--r-- 1 p_eter users 1483 may 21 12:35 PCBSD-1.3.01-x86-CD1.iso.aria2
-rw-r--r-- 1 p_eter users 16797 may 21 12:03 PCBSD-1.3.01-x86-CD1.iso.metalink

:~/down/iso> aria2c -M PCBSD-1.3.01-x86-CD1.iso.metalink
69,117,211/724,103,168 Bytes 9% 3h20m01s 58.99 KB/s 15 connections
stopping application...
done

:~/down/iso> aria2c -M PCBSD-1.3.01-x86-CD1.iso.metalink
69,972,954/724,103,168 Bytes 9% 3h16m03s 58.10 KB/s 15 connections

El config no tiene nada mas que lo sugerido:
cat ~/.aria2
# sample configuration file for aria2c
file-allocation=prealloc
listen-port=60000
seed-ratio=1.0
max-upload-limit=40K
ftp-pasv=true

Ver:
~/down/iso> aria2c -v
aria2c version 0.10.2+1
**Configuration**
http: yes
https: yes
ftp: yes
bittorrent: yes
metalink: yes
message digest: yes
async dns: yes
localhost ~ # aria2c -v
aria2c version 0.10.2+1
**Configuration**
http: yes
https: yes
ftp: yes
bittorrent: yes
metalink: yes
message digest: yes
async dns: yes

Copyright © 2006, 2007 Tatsuhiro Tsujikawa

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Contact Info: Tatsuhiro Tsujikawa <tujikawa at users dot sourceforge dot net>

localhost ~ # aria2c -M openSUSE-10_2-GM-i386-CD1_iso.metalink
1,055,068/703,004,672 Bytes 0% 2h13m22s 108.00 KB/s 15 connections
[2]+ Stopped aria2c -M openSUSE-10_2-GM-i386-CD1_iso.metalink
localhost ~ # ls
openSUSE-10.2-GM-i386-CD1.iso
openSUSE-10_2-GM-i386-CD1_iso.metalink
localhost ~ # aria2c -M openSUSE-10_2-GM-i386-CD1_iso.metalink
File ./openSUSE-10.2-GM-i386-CD1.iso exists, but ./openSUSE-10.2-GM-i386-CD1.iso.aria2 does not exist. The download was canceled in order to prevent your file from being truncated to 0. If you are sure to download file all over again, then delete it or add --allow-overwrite=true option and restart aria2.
localhost ~ # ls
openSUSE-10.2-GM-i386-CD1.iso
openSUSE-10_2-GM-i386-CD1_iso.metalink

Mira ke raro a mi no me crea el fichero .aria2 ni antes, durante o despues de realizar decarga 1-wink
Ok, si andas con tiempo da para investigarlo. De primera y para probar sobre algo seguro y que se sabe anda, te diría que uses la misma config, mismo metalink, etc. por mi parte no lo hice con root, y desde una carpeta que cuelga del home. Solo como prueba si ok, sigues (1ero lo obvio o mas sencillo, luego subes en complejidad:my rule)
///:~/down/iso> aria2c -M PCBSD-1.3.01-x86-CD1.iso.metalink

ed: Fijate en man, en algun lado te está mandando el *aria2
Páginas: 1 2
URLs de Referencia