Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge, scaricare senza compilare! [FAQ]
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
zilog80
Tux's lil' helper
Tux's lil' helper


Joined: 21 Aug 2003
Posts: 77
Location: Venice Italy

PostPosted: Tue Nov 04, 2003 3:28 pm    Post subject: emerge, scaricare senza compilare! [FAQ] Reply with quote

Ciao mi chiedevo:

è possibile fare un emerge di un pacchetto (ad esempio kde) con tutti i vari pacchetti legati senza doverli compilare subito?

cioè scaricare in un primo momento e poi in un secondo rilanciare l'emerge per la compilazione??

Grazie!
Back to top
View user's profile Send private message
codadilupo
Advocate
Advocate


Joined: 05 Aug 2003
Posts: 3135

PostPosted: Tue Nov 04, 2003 3:30 pm    Post subject: Re: emerge, scaricare senza compilare! Reply with quote

zilog80 wrote:
è possibile fare un emerge di un pacchettocon tutti i vari pacchetti legati senza doverli compilare subito?


dal man di portage, versetto 19 e successivi:

OPTIONS:

--fetchonly

Code:
emerge -f nomepacchetto


Coda
Back to top
View user's profile Send private message
abissiblu
Tux's lil' helper
Tux's lil' helper


Joined: 14 Oct 2003
Posts: 75

PostPosted: Tue Nov 04, 2003 3:36 pm    Post subject: Reply with quote

io ho fatto cosi
Quote:

emerge -ufd kde


in questo modo scarica tutte le dipendenze aggiornate
Back to top
View user's profile Send private message
zilog80
Tux's lil' helper
Tux's lil' helper


Joined: 21 Aug 2003
Posts: 77
Location: Venice Italy

PostPosted: Tue Nov 04, 2003 3:49 pm    Post subject: Reply with quote

che dire i versetti parlano chiaro!
e si che avevo adocchiato la bibbia..

THX
Back to top
View user's profile Send private message
bsolar
Bodhisattva
Bodhisattva


Joined: 12 Jan 2003
Posts: 2764

PostPosted: Tue Nov 04, 2003 4:29 pm    Post subject: Reply with quote

abissiblu wrote:
io ho fatto cosi
Quote:

emerge -ufd kde


in questo modo scarica tutte le dipendenze aggiornate

Per quale motivo -d (--debug) e non -D (--deep)? :roll:
_________________
I may not agree with what you say, but I'll defend to the death your right to say it.
Back to top
View user's profile Send private message
neon
l33t
l33t


Joined: 04 Aug 2003
Posts: 759
Location: Catania, Italy, Europe

PostPosted: Tue Nov 04, 2003 5:25 pm    Post subject: Reply with quote

aggiungi RISOLTO al titolo :wink:
_________________
Io credo che le tecnologie siano moralmente neutrali fino a quando non le utilizziamo - William Gibson

LINEE GUIDA DEL FORUM
Back to top
View user's profile Send private message
abissiblu
Tux's lil' helper
Tux's lil' helper


Joined: 14 Oct 2003
Posts: 75

PostPosted: Wed Nov 05, 2003 12:33 pm    Post subject: Reply with quote

bsolar wrote:

Per quale motivo -d (--debug) e non -D (--deep)? :roll:


ignoranza,
grazie
Back to top
View user's profile Send private message
Su-34
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jan 2004
Posts: 110
Location: Sky

PostPosted: Wed Mar 03, 2004 8:55 pm    Post subject: Reply with quote

ed è possbile scaricare l intero sytema cosi?
ad esempio

emerge -f system

tra un oretta dovrei aver finito il bootstrap e quindi devo installare il sistema, che mi dite? nn vorrei rimanere connesso perchè ogni tanto telecom mi disconnette
Back to top
View user's profile Send private message
Alakhai
Apprentice
Apprentice


Joined: 16 Oct 2003
Posts: 151

PostPosted: Wed Mar 03, 2004 9:03 pm    Post subject: Reply with quote

certo
io lo uso spesso
mi scarico i pacchetti sul portatile e poi metto a compilare quando ho tempo
_________________
Gentoo Linux 64Bit User
Back to top
View user's profile Send private message
paolo
l33t
l33t


Joined: 23 Jul 2002
Posts: 768
Location: SBT (AP)

PostPosted: Wed Mar 03, 2004 9:21 pm    Post subject: Reply with quote

Madonna che domande ragazzi...

P.
_________________
Nihil sine magno labore
Back to top
View user's profile Send private message
sendai
n00b
n00b


Joined: 27 Feb 2004
Posts: 29
Location: Rome / Berlin

PostPosted: Thu Mar 04, 2004 10:14 am    Post subject: Reply with quote

Alakhai wrote:
certo
io lo uso spesso
mi scarico i pacchetti sul portatile e poi metto a compilare quando ho tempo


idem

Code:


emerge -f world



e di notte il portatile lavora per me :D


Last edited by sendai on Thu Mar 04, 2004 10:34 am; edited 1 time in total
Back to top
View user's profile Send private message
dirac3000
n00b
n00b


Joined: 03 Sep 2003
Posts: 33
Location: Italy

PostPosted: Thu Mar 04, 2004 10:21 am    Post subject: Reply with quote

Già che siamo in argomento... c'era un mio amico che ha il 56k e voleva mettere gentto ma aveva paura dalla "dipendenza" da internet di portage. E' possibile dire a portage che si scolleghi automaticamente da internet una volta terminate le operazioni (che queste siano emerge -f pacchetto o emerge sync)?
Sarebbe carino un'opzione in make.conf che permettesse di farlo!

(Penso che l'alternativa potrebbe essere uno stupidissimo script bash...)
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Thu Mar 04, 2004 11:18 am    Post subject: Reply with quote

dirac3000 wrote:

(Penso che l'alternativa potrebbe essere uno stupidissimo script bash...)


Ti sembra brutto:

Code:

emerge -f pacchetto ; ./disconnect.sh


:?:
_________________
Ciao da me!
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31470
Location: here

PostPosted: Thu Mar 04, 2004 5:31 pm    Post subject: Reply with quote

Non è il caso anche qui di mettere un bel tag [FAQ] al titolo?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
shev
Bodhisattva
Bodhisattva


Joined: 03 Feb 2003
Posts: 4084
Location: Italy

PostPosted: Thu Mar 04, 2004 5:45 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Non è il caso anche qui di mettere un bel tag [FAQ] al titolo?


L'ho fatto proprio adesso, appena aperto il topic :D
_________________
Se per vivere ti dicono "siediti e stai zitto" tu alzati e muori combattendo
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4810
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Thu Mar 04, 2004 8:32 pm    Post subject: Reply with quote

Aggiungo ancora un'osservazione, per quanto banale.

Talvolta mi è capitato di fare emerge -f di un pacchetto che avevo già precedentemente scaricato, ma per qualche ragione, corrotto.

Noi niubbi amiano trastularci con le ricompilazioni...

Purtroppo, in questi casi, emerge si limitava a segnalare l'errore, anzichè assumersi la responsabilità di ripetere il download. Perchè questo comportamento?
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
cerri
Bodhisattva
Bodhisattva


Joined: 05 Mar 2003
Posts: 2957
Location: # init S

PostPosted: Fri Mar 05, 2004 5:12 am    Post subject: Reply with quote

Perchè il file era già scaricato. Va cancellato a mano, prima di poter ripetere il download.
_________________
Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito
Back to top
View user's profile Send private message
shev
Bodhisattva
Bodhisattva


Joined: 03 Feb 2003
Posts: 4084
Location: Italy

PostPosted: Fri Mar 05, 2004 11:31 am    Post subject: Reply with quote

cerri wrote:
Perchè il file era già scaricato. Va cancellato a mano, prima di poter ripetere il download.


Credo che la domanda del nostro amico però fosse più indirizzata a sapere perchè di questa scelta, perchè con emerge s'è scelto di segnalare l'errore anzichè eliminare il file automaticamente e riscaricarlo.

Imho (e ripeto, imho) è una scelta arbitraria, fatta in base ai pregi e difetti che hanno l'una e l'altra soluzione. Un esempio: mettiamo che ad essere corrotto sia il file presente sul mirror utilizzato; se emerge facesse tutto automaticamente si rischierebbe di entrare in un loop irritante (scarica -> corrotto -> elimina -> scarica -> corrotto -> ...), chiedendo invece l'intervento manuale si evitano loop e si è sicuri che si sistemi l'errore.
Come questo esempio se ne potrebbero fare molti altri, ho solo citato il primo che m'è venuto in mente.

My 2 cents
_________________
Se per vivere ti dicono "siediti e stai zitto" tu alzati e muori combattendo
Back to top
View user's profile Send private message
codadilupo
Advocate
Advocate


Joined: 05 Aug 2003
Posts: 3135

PostPosted: Fri Mar 05, 2004 12:23 pm    Post subject: Reply with quote

Shev wrote:
Un esempio: mettiamo che ad essere corrotto sia il file presente sul mirror utilizzato; se emerge facesse tutto automaticamente si rischierebbe di entrare in un loop irritante (scarica -> corrotto -> elimina -> scarica -> corrotto -> ...)


senza considerare che la segnalazione di file corrotto potrebbe esssere essa stessa* un errore (magari di digest fallato).
Prima di cancella OOffice.org o kde per scoprire che dovevo cambiare l'ultimo carattere di controllo del md5... magari é meglio dare un'occhiata ;-)

* evviva l'allitterazione :D

Coda
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