View previous topic :: View next topic |
Author |
Message |
zilog80 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 21 Aug 2003 Posts: 77 Location: Venice Italy
|
Posted: Tue Nov 04, 2003 3:28 pm Post subject: emerge, scaricare senza compilare! [FAQ] |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
codadilupo Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 05 Aug 2003 Posts: 3135
|
Posted: Tue Nov 04, 2003 3:30 pm Post subject: Re: emerge, scaricare senza compilare! |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
abissiblu Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Funny_Figure/owner.gif)
Joined: 14 Oct 2003 Posts: 75
|
Posted: Tue Nov 04, 2003 3:36 pm Post subject: |
|
|
io ho fatto cosi
in questo modo scarica tutte le dipendenze aggiornate |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
zilog80 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 21 Aug 2003 Posts: 77 Location: Venice Italy
|
Posted: Tue Nov 04, 2003 3:49 pm Post subject: |
|
|
che dire i versetti parlano chiaro!
e si che avevo adocchiato la bibbia..
THX |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bsolar Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/806967053f23f4aede2da.jpg)
Joined: 12 Jan 2003 Posts: 2764
|
Posted: Tue Nov 04, 2003 4:29 pm Post subject: |
|
|
abissiblu wrote: | io ho fatto cosi
in questo modo scarica tutte le dipendenze aggiornate |
Per quale motivo -d (--debug) e non -D (--deep)? ![Rolling Eyes :roll:](images/smiles/icon_rolleyes.gif) _________________ I may not agree with what you say, but I'll defend to the death your right to say it. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
neon l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/131469653841f394dcae34a.gif)
Joined: 04 Aug 2003 Posts: 759 Location: Catania, Italy, Europe
|
Posted: Tue Nov 04, 2003 5:25 pm Post subject: |
|
|
aggiungi RISOLTO al titolo ![Wink :wink:](images/smiles/icon_wink.gif) _________________ Io credo che le tecnologie siano moralmente neutrali fino a quando non le utilizziamo - William Gibson
LINEE GUIDA DEL FORUM |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
abissiblu Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Funny_Figure/owner.gif)
Joined: 14 Oct 2003 Posts: 75
|
Posted: Wed Nov 05, 2003 12:33 pm Post subject: |
|
|
bsolar wrote: |
Per quale motivo -d (--debug) e non -D (--deep)? ![Rolling Eyes :roll:](images/smiles/icon_rolleyes.gif) |
ignoranza,
grazie |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Su-34 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/330922840446736c11fa.jpg)
Joined: 27 Jan 2004 Posts: 110 Location: Sky
|
Posted: Wed Mar 03, 2004 8:55 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Alakhai Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/602197464476e3608acbf4.jpg)
Joined: 16 Oct 2003 Posts: 151
|
Posted: Wed Mar 03, 2004 9:03 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
paolo l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/3152398534026854723eba.jpg)
Joined: 23 Jul 2002 Posts: 768 Location: SBT (AP)
|
Posted: Wed Mar 03, 2004 9:21 pm Post subject: |
|
|
Madonna che domande ragazzi...
P. _________________ Nihil sine magno labore |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sendai n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/12524147240eea5023f954.jpg)
Joined: 27 Feb 2004 Posts: 29 Location: Rome / Berlin
|
Posted: Thu Mar 04, 2004 10:14 am Post subject: |
|
|
Alakhai wrote: | certo
io lo uso spesso
mi scarico i pacchetti sul portatile e poi metto a compilare quando ho tempo |
idem
e di notte il portatile lavora per me ![Very Happy :D](images/smiles/icon_biggrin.gif)
Last edited by sendai on Thu Mar 04, 2004 10:34 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dirac3000 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/15536939403f5661be12fe1.png)
Joined: 03 Sep 2003 Posts: 33 Location: Italy
|
Posted: Thu Mar 04, 2004 10:21 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
randomaze Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/191195238462262e08ea92.jpg)
Joined: 21 Oct 2003 Posts: 9985
|
Posted: Thu Mar 04, 2004 11:18 am Post subject: |
|
|
dirac3000 wrote: |
(Penso che l'alternativa potrebbe essere uno stupidissimo script bash...) |
Ti sembra brutto:
Code: |
emerge -f pacchetto ; ./disconnect.sh
|
![Question :?:](images/smiles/icon_question.gif) _________________ Ciao da me! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fedeliallalinea Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/161653968057192eb39329f.jpg)
Joined: 08 Mar 2003 Posts: 31470 Location: here
|
Posted: Thu Mar 04, 2004 5:31 pm Post subject: |
|
|
Non è il caso anche qui di mettere un bel tag [FAQ] al titolo? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
shev Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/8449159314dcae72b62db4.jpg)
Joined: 03 Feb 2003 Posts: 4084 Location: Italy
|
Posted: Thu Mar 04, 2004 5:45 pm Post subject: |
|
|
fedeliallalinea wrote: | Non è il caso anche qui di mettere un bel tag [FAQ] al titolo? |
L'ho fatto proprio adesso, appena aperto il topic ![Very Happy :D](images/smiles/icon_biggrin.gif) _________________ Se per vivere ti dicono "siediti e stai zitto" tu alzati e muori combattendo |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cloc3 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/39525275142a0fd302dc7e.gif)
Joined: 13 Jan 2004 Posts: 4810 Location: http://www.gentoo-users.org/user/cloc3/
|
Posted: Thu Mar 04, 2004 8:32 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
cerri Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/7000506493e7cdb5c136c3.jpg)
Joined: 05 Mar 2003 Posts: 2957 Location: # init S
|
Posted: Fri Mar 05, 2004 5:12 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
shev Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/8449159314dcae72b62db4.jpg)
Joined: 03 Feb 2003 Posts: 4084 Location: Italy
|
Posted: Fri Mar 05, 2004 11:31 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
codadilupo Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 05 Aug 2003 Posts: 3135
|
Posted: Fri Mar 05, 2004 12:23 pm Post subject: |
|
|
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
Coda |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|