Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
aria2 e portage
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano
View previous topic :: View next topic  
Author Message
Kernel78
Moderator
Moderator


Joined: 24 Jun 2005
Posts: 3654

PostPosted: Fri Oct 19, 2007 8:21 pm    Post subject: aria2 e portage Reply with quote

Ciao a tutti, ho la solita domanda per voi ...
Basandomi su questo avrei voluto sfruttare aria2 al posto di wget per scaricarmi i distfile.
Mi leggo la guida, mi leggo /etc/make.conf.example ma il massimo che riesco a ottenere è
Code:
FETCHCOMMAND="/usr/bin/aria2c -d \${DISTDIR} \${URI}"
RESUMECOMMAND="/usr/bin/aria2c -d \${DISTDIR} \${URI}"

tralasciando che potrei usare l'opzione -s per spezzare il file in più parti (fino a 5) e scaricarle contemporaneamente ma io volevo riuscire a passare ad aria2 tutti i mirror specificati in GENTOO_MIRRORS per far scaricare il file simultaneamente da più siti senza "sovraccaricarne" nessuno di richieste.
Siete a conoscenza di qualche metodo diretto per aiutarmi a ottenere il risultato desiderato ?
_________________
Le tre grandi virtù di un programmatore: pigrizia, impazienza e arroganza. (Larry Wall).
Prima di postare un file togli i commenti con
Code:
grep -vE '(^[[:space:]]*($|(#|!|;|//)))'
Back to top
View user's profile Send private message
CarloJekko
Veteran
Veteran


Joined: 31 Mar 2005
Posts: 1315
Location: Baia Domizia :-)

PostPosted: Sat Oct 20, 2007 1:05 pm    Post subject: Reply with quote

non voglio rispondere alla questione, è solo una domanda: come mai aria e non axel?
_________________
C.
Back to top
View user's profile Send private message
comio
Advocate
Advocate


Joined: 03 Jul 2003
Posts: 2191
Location: Taranto

PostPosted: Sat Oct 20, 2007 1:28 pm    Post subject: Re: aria2 e portage Reply with quote

Kernel78 wrote:
Ciao a tutti, ho la solita domanda per voi ...
Basandomi su questo avrei voluto sfruttare aria2 al posto di wget per scaricarmi i distfile.
Mi leggo la guida, mi leggo /etc/make.conf.example ma il massimo che riesco a ottenere è
Code:
FETCHCOMMAND="/usr/bin/aria2c -d \${DISTDIR} \${URI}"
RESUMECOMMAND="/usr/bin/aria2c -d \${DISTDIR} \${URI}"

tralasciando che potrei usare l'opzione -s per spezzare il file in più parti (fino a 5) e scaricarle contemporaneamente ma io volevo riuscire a passare ad aria2 tutti i mirror specificati in GENTOO_MIRRORS per far scaricare il file simultaneamente da più siti senza "sovraccaricarne" nessuno di richieste.
Siete a conoscenza di qualche metodo diretto per aiutarmi a ottenere il risultato desiderato ?


SRC_URI non lo vede? Non so però se la sintassi gli possa andare bene... vedi mirror://.

ciao
_________________
RTFM!!!!

e

http://www.comio.it
:)
Back to top
View user's profile Send private message
.:deadhead:.
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 2963
Location: Milano, Italy

PostPosted: Sat Oct 20, 2007 1:54 pm    Post subject: Reply with quote

CarloJekko wrote:
non voglio rispondere alla questione, è solo una domanda: come mai aria e non axel?
Forse perchè axel non è + sviluppato l'ultimo rilascio è di aprile 05 e l'autore stesso dichiara tale sw come non più mantenuto. O forse perchè aria2 ha maggiori features.
_________________
Proudly member of the Gentoo Documentation Project: the Italian Conspiracy ! ;)
Back to top
View user's profile Send private message
Kernel78
Moderator
Moderator


Joined: 24 Jun 2005
Posts: 3654

PostPosted: Sat Oct 20, 2007 7:36 pm    Post subject: Reply with quote

@comio
se sostiuisco URI con SRC_URI ottengo solo un numero di errori come questo
Code:
>>> Downloading 'http://gentoo.ynet.sk/pub/distfiles/firefox-2.0.0.8.tar.gz'

2007-10-20 21:24:29 ERROR - Unrecognized URI or unsupported protocol:

Download Results:
idx|stat|path/URI
===+====+======================================================================
  1|ERR |

Some downloads were not complete because of errors. Check the log.
aria2 will resume download if the transfer is restarted.
pari al numero di mirror + il sito predefinito per il download.

@CarloJekko
Non sapevo che axel non fosse più supportato, ho scelto aria2 perchè supporta anche i torrent e i metalink. Il fatto è che il mio problema rimarrebbe anche se usassi axel, visto che quella quida mostra soltanto come far si che axel (o prozilla) scarichino da un unico mirror mediante più connessioni contemporanee mentre io voglio effettuare una sola connessione per mirror ma sfruttare più mirror contemporaneamente.
_________________
Le tre grandi virtù di un programmatore: pigrizia, impazienza e arroganza. (Larry Wall).
Prima di postare un file togli i commenti con
Code:
grep -vE '(^[[:space:]]*($|(#|!|;|//)))'
Back to top
View user's profile Send private message
bandreabis
Advocate
Advocate


Joined: 18 Feb 2005
Posts: 2495
Location: イタリアのロディで

PostPosted: Fri Nov 09, 2007 10:29 pm    Post subject: Reply with quote

Up.
Attendo trepidante il mio bisbetico più simpatico per sfruttare la sua bravura nel trovare nuove soluzioni... :P
_________________
Il numero di post non fa di me un esperto! Anzi!
Back to top
View user's profile Send private message
Kernel78
Moderator
Moderator


Joined: 24 Jun 2005
Posts: 3654

PostPosted: Fri Nov 09, 2007 10:43 pm    Post subject: Reply with quote

bandreabis wrote:
Up.
Attendo trepidante il mio bisbetico più simpatico per sfruttare la sua bravura nel trovare nuove soluzioni... :P

Per adesso l'unica cosa che riesco a fare è di dare l'output di emerge -uDpfN world in pasto a aria2 (dopo un veloce restyling), purtroppo ancora non sono riuscito a trovare il modo per passare configurare il make.conf per ottenere quello che voglio ...
_________________
Le tre grandi virtù di un programmatore: pigrizia, impazienza e arroganza. (Larry Wall).
Prima di postare un file togli i commenti con
Code:
grep -vE '(^[[:space:]]*($|(#|!|;|//)))'
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum