Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Come installare su due sistemi gli stessi pacchetti?
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
shanghai
Guru
Guru


Joined: 08 Feb 2004
Posts: 493
Location: Roma, Italia, GeekLand

PostPosted: Tue May 25, 2004 4:29 pm    Post subject: Come installare su due sistemi gli stessi pacchetti? Reply with quote

Ciao!
Vorrei buttare giu il PC e ricompilare tutto da zero, senza dover riemergere i pacchetti uno alla volta: mi spiego meglio.
Come faccio a costruire una lista di pacchetti installati completa presa dal sistema "vecchio" in maniera che poi, utilizzandola con un solo comando con emerge, tutto il sistema mi venga riemerso esattamente come prima? (Considerando che avrò cura di non cambiare use e cflags)
L'alternativa che ho usato finora è stata la memoria (funziona, finché la lista di pacchetti non raggiunge i 2-300 :) )
A toutes l'heures :)
S.
_________________
Il sonno della ragione genera mostri.
Back to top
View user's profile Send private message
OKreZ
Guru
Guru


Joined: 27 Apr 2003
Posts: 372
Location: Padova (IT)

PostPosted: Tue May 25, 2004 4:32 pm    Post subject: Reply with quote

probabilmente ti interessa questo topic
_________________
(HCS)OKreZ
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Tue May 25, 2004 5:57 pm    Post subject: Reply with quote

Copia il world file dal primo pc al secondo (/var/cache/edb/world) e dai un emerge -u world.
_________________
"Larry the Cow was a bit frustrated at the current state of Linux Distributions..."
Back to top
View user's profile Send private message
shanghai
Guru
Guru


Joined: 08 Feb 2004
Posts: 493
Location: Roma, Italia, GeekLand

PostPosted: Tue May 25, 2004 7:30 pm    Post subject: Reply with quote

Grazie a entrambi. Probabilmente usero un mix dei due: prima pacchettizzo tutto (suppongo si conservino anche le impostazioni dei files di configurazione, visto che la pacchettizzazione si effettua su ebuild già installati) e poi copio il file world e faccio emerge -uk: così dovrei riemergere tutti i pacchetti istallati.
Ultima questioncella: come faccio coi pacchetti installati non presenti nel file world? :)
_________________
Il sonno della ragione genera mostri.
Back to top
View user's profile Send private message
doom.it
Guru
Guru


Joined: 23 May 2003
Posts: 430
Location: Pavia, Italy

PostPosted: Tue May 25, 2004 7:31 pm    Post subject: Reply with quote

se vuoi l'elenco completo usa

qpkg -I -v
_________________
I have discovered photography. Now I can kill myself. I have nothing else to learn.
Pablo Picasso
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Tue May 25, 2004 7:32 pm    Post subject: Reply with quote

shanghai wrote:
Ultima questioncella: come faccio coi pacchetti installati non presenti nel file world? :)


In teoria, se non sono stati installati con --oneshot, dovrebbero essere dipendenze di pacchetti contenuti in world e quindi verranno installate automaticamente.
_________________
"Larry the Cow was a bit frustrated at the current state of Linux Distributions..."
Back to top
View user's profile Send private message
shanghai
Guru
Guru


Joined: 08 Feb 2004
Posts: 493
Location: Roma, Italia, GeekLand

PostPosted: Tue May 25, 2004 7:38 pm    Post subject: Reply with quote

Mi è venuta un idea. Per verificare che anche quelli siano aggiunti potrei fare un emerge -p --depclean e analizzare l'output. Filtrando ciò che non è realmente necessario potrei decidere anche della sorte dei pacchetti non presenti in world.
Grazie ragazzi
_________________
Il sonno della ragione genera mostri.
Back to top
View user's profile Send private message
X-Drum
Advocate
Advocate


Joined: 24 Aug 2003
Posts: 2517
Location: ('Modica','Trieste','Ferrara') Italy

PostPosted: Wed May 26, 2004 12:30 am    Post subject: Reply with quote

shanghai wrote:
prima pacchettizzo tutto (suppongo si conservino anche le impostazioni dei files di configurazione, visto che la pacchettizzazione si effettua su ebuild già installati)


se intendi: le modifiche apportate ad esempio a /etc/fstab
sono presenti quando installi il pacchetto....
la risposta è No: ti installa il file di configurazione "standard"
_________________
"...There are two sort of lies, lies and benchmarks..."
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Wed May 26, 2004 7:35 am    Post subject: Reply with quote

shanghai wrote:
Per verificare che anche quelli siano aggiunti potrei fare un emerge -p --depclean e analizzare l'output.


Con quel comando dovresti visualizzare solo l'elenco delle dipendenze "tendenzialmente da rimuovere".

L'elenco omnicomprensivo dei pacchetti installati dovrebbe essere:
Code:

emerge -ep world

_________________
Ciao da me!
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