Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Distfiles per installation party
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)
View previous topic :: View next topic  
Author Message
Merlink
Tux's lil' helper
Tux's lil' helper


Joined: 01 Sep 2004
Posts: 104
Location: Agrigento, Italy

PostPosted: Wed Apr 06, 2005 7:09 pm    Post subject: Distfiles per installation party Reply with quote

Salve a tutti.
Al prossimo installation party, vorrei portare un mirror completo dei distfiles per la 2005.0.
Sapete come fare?

Fin ora ho portato solo i packages per tutte le architetture piu' vari install-cd, ma spesso serve altro.
Avevo pensato di mirrorare qualche ... mirror appunto, ma prenderei pure le versioni dei programmi che non mi servono... in particolare, dato che sono quasi tutti miei colleghi non dotati di connessione, speravo di avere distfiles + binari per lo snapshot di portage incluso nell'install-cd...in modo da copiare tutto a tutti e renderli autonomi.

Spero di essere stato chiaro riguardo le richieste :)

Grazie mille in anticipo.

Saluti
Back to top
View user's profile Send private message
Ghostraider
Guru
Guru


Joined: 01 Sep 2004
Posts: 582

PostPosted: Wed Apr 06, 2005 8:36 pm    Post subject: Reply with quote

Bè un'idea sarebbe scaricare da un mirror direttamente gli stages e lo snapshot di Portage e masterizzarli.

Per i distfiles potresti pensare a cosa potrebbe servire e se non sono presenti già sul tuo pc scaricarli con un bel emerge -f nomepacchetto, poi masterizzare la tua cartella /usr/portage/distfiles così avrai tutti i pacchetti disponibili da cd :wink:
_________________
"Questo business è binario: o sei 1 o sei 0. O sei vivo o sei morto. Non esistono secondi classificati." Gary Winston - SYNAPSE"

Be an IT superhero. Go home early.

Registered Linux user # 381558
Back to top
View user's profile Send private message
Merlink
Tux's lil' helper
Tux's lil' helper


Joined: 01 Sep 2004
Posts: 104
Location: Agrigento, Italy

PostPosted: Wed Apr 06, 2005 8:43 pm    Post subject: Reply with quote

Ciao :)
La parte riguardate stages e snapshot e' gia fatta...

la seconda e' improponibile, perche' non so a priori cosa vorra' installare chi, e dato che non tutti hanno a disposizione una connessione, speravo ci fosse un qualche comando dipo: "fetchall" :D

Grazie per i suggerimenti ^_^

See Ya
Back to top
View user's profile Send private message
comio
Advocate
Advocate


Joined: 03 Jul 2003
Posts: 2191
Location: Taranto

PostPosted: Wed Apr 06, 2005 8:46 pm    Post subject: Reply with quote

per scaricare brutalmente tutte le ultime versioni (da usare con cautela!):

Code:

# cd /usr/portage
# find .|cut -f 2-3 -d "/" --output-delimiter="/"|grep "/"|sort -u > ~/packs.lst
# emerge -f `cat ~/packs.lst|xargs`


non so assolutamente quanti giga ci vogliano...

ciao
_________________
RTFM!!!!

e

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


Joined: 05 Aug 2003
Posts: 3135

PostPosted: Wed Apr 06, 2005 8:50 pm    Post subject: Reply with quote

il problema, secondo me, che si pone, é un'altro: come faccio a sapere - a priori - quali versioni di pacchetti chiede lo snapshot di portage che ho scaricato ?

Coda
Back to top
View user's profile Send private message
comio
Advocate
Advocate


Joined: 03 Jul 2003
Posts: 2191
Location: Taranto

PostPosted: Wed Apr 06, 2005 8:52 pm    Post subject: Reply with quote

comio wrote:
per scaricare brutalmente tutte le ultime versioni (da usare con cautela!):

Code:

# cd /usr/portage
# find .|cut -f 2-3 -d "/" --output-delimiter="/"|grep "/"|sort -u > ~/packs.lst
# emerge -f `cat ~/packs.lst|xargs`


non so assolutamente quanti giga ci vogliano...

ciao


dato che uscirebbero 9000 pacchetti... suggerirei di fare con un for:
Code:

# for i in `cat ~/packs.lst`; do emerge -f $i; done;

_________________
RTFM!!!!

e

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


Joined: 03 Jul 2003
Posts: 2191
Location: Taranto

PostPosted: Wed Apr 06, 2005 8:52 pm    Post subject: Reply with quote

codadilupo wrote:
il problema, secondo me, che si pone, é un'altro: come faccio a sapere - a priori - quali versioni di pacchetti chiede lo snapshot di portage che ho scaricato ?

Coda


porterei anche un bel tar del portage di riferimento :)

ciao
_________________
RTFM!!!!

e

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


Joined: 20 Jul 2004
Posts: 321

PostPosted: Wed Apr 06, 2005 8:53 pm    Post subject: Reply with quote

Io farei un sync sul mio pc e userei quello che snapshot
e quindi scaricherei tutte e "solo" le ultime versioni stabili che mi vengono proposte

Non userei lo snapshot sul web perche' alcuni pacchetti potrebbero essere gia' cambiati
Back to top
View user's profile Send private message
comio
Advocate
Advocate


Joined: 03 Jul 2003
Posts: 2191
Location: Taranto

PostPosted: Wed Apr 06, 2005 8:54 pm    Post subject: Reply with quote

una domanda... ma c'è un modo per dire ad emerge di leggere da un file la lista dei pacchchetti che si vogliono installare, piuttosto che passarli tutti sulla riga di comando?

ciao
_________________
RTFM!!!!

e

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


Joined: 20 Jul 2004
Posts: 321

PostPosted: Wed Apr 06, 2005 8:56 pm    Post subject: Reply with quote

Non credo...pero' con un semplicissimo script come quello che hai fatto tu risolvi il problema
Back to top
View user's profile Send private message
comio
Advocate
Advocate


Joined: 03 Jul 2003
Posts: 2191
Location: Taranto

PostPosted: Wed Apr 06, 2005 8:58 pm    Post subject: Reply with quote

grentis wrote:
Non credo...pero' con un semplicissimo script come quello che hai fatto tu risolvi il problema


non risolvo poprio tutto... se volessi calcolare lo spazio impiegato... mi diventa problematico fare un emerge -pv ... da cui la mia domanda...

ciao
_________________
RTFM!!!!

e

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


Joined: 21 Dec 2004
Posts: 455
Location: Genova

PostPosted: Wed Apr 06, 2005 8:58 pm    Post subject: Reply with quote

comio wrote:
una domanda... ma c'è un modo per dire ad emerge di leggere da un file la lista dei pacchchetti che si vogliono installare, piuttosto che passarli tutti sulla riga di comando?

ciao

Andando a naso ho fatto:
Code:

emerge `cat ./.../.../prova`
Back to top
View user's profile Send private message
comio
Advocate
Advocate


Joined: 03 Jul 2003
Posts: 2191
Location: Taranto

PostPosted: Wed Apr 06, 2005 8:59 pm    Post subject: Reply with quote

BikE wrote:
comio wrote:
una domanda... ma c'è un modo per dire ad emerge di leggere da un file la lista dei pacchchetti che si vogliono installare, piuttosto che passarli tutti sulla riga di comando?

ciao

Andando a naso ho fatto:
Code:

emerge `cat ./.../.../prova`


prova a mettere 9000 pacchetti in prova e dimmi se funziona :D

ciao
_________________
RTFM!!!!

e

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


Joined: 08 Mar 2003
Posts: 30967
Location: here

PostPosted: Wed Apr 06, 2005 9:09 pm    Post subject: Reply with quote

Eccolo https://forums.gentoo.org/viewtopic-t-319661.html
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
comio
Advocate
Advocate


Joined: 03 Jul 2003
Posts: 2191
Location: Taranto

PostPosted: Wed Apr 06, 2005 9:15 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Eccolo https://forums.gentoo.org/viewtopic-t-319661.html

Quindi potrebbe fare questo: crearsi un dvd con tutto quello scaricato, e condividerlo facendo questo disfiles repository fai-da-te...

e magari un rsync server :)

ciao
_________________
RTFM!!!!

e

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


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Wed Apr 06, 2005 9:46 pm    Post subject: Reply with quote

comio wrote:

non so assolutamente quanti giga ci vogliano...


Mi pare siano circa una quarantina.
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
comio
Advocate
Advocate


Joined: 03 Jul 2003
Posts: 2191
Location: Taranto

PostPosted: Thu Apr 07, 2005 5:43 am    Post subject: Reply with quote

gutter wrote:
comio wrote:

non so assolutamente quanti giga ci vogliano...


Mi pare siano circa una quarantina.


40 giga se conti le varie versioni per ogni ebuild... quindi mi aspetto meno se si scaricano solo le ultime versioni.

ciao
_________________
RTFM!!!!

e

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


Joined: 13 Mar 2003
Posts: 897
Location: Italy Romagna

PostPosted: Thu Apr 07, 2005 8:27 am    Post subject: Reply with quote

comio wrote:

40 giga se conti le varie versioni per ogni ebuild... quindi mi aspetto meno se si scaricano solo le ultime versioni.

ciao


Io sul mirror ne conto al momento 50 solo di distfiles.

PS. se hai una macchina con più di 50 giga liberi ti conviene fare il sync di tutti i distfiles con app-admin/gentoo-rsync-mirror
Back to top
View user's profile Send private message
Merlink
Tux's lil' helper
Tux's lil' helper


Joined: 01 Sep 2004
Posts: 104
Location: Agrigento, Italy

PostPosted: Thu Apr 07, 2005 9:20 am    Post subject: Reply with quote

Argh.... 50 gb?
diamine :|

Grazie mille per le info
Back to top
View user's profile Send private message
comio
Advocate
Advocate


Joined: 03 Jul 2003
Posts: 2191
Location: Taranto

PostPosted: Thu Apr 07, 2005 9:40 am    Post subject: Reply with quote

Merlink wrote:
Argh.... 50 gb?
diamine :|

Grazie mille per le info


se scarichi solo le ultime versioni dei programmi dovebbero essere molto meno...

ciao
_________________
RTFM!!!!

e

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


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Thu Apr 07, 2005 3:17 pm    Post subject: Reply with quote

comio wrote:

se scarichi solo le ultime versioni dei programmi dovebbero essere molto meno...


Sicuramente ;)
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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