Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[TIP] update profondo
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) Risorse italiane (documentazione e tools)
View previous topic :: View next topic  
Author Message
shogun_panda
Guru
Guru


Joined: 30 Jul 2004
Posts: 411
Location: Campobasso or Rome, Molise or Lazio, Italy, Europe, Earth, Solar system, Milk Way, Universe

PostPosted: Thu Dec 07, 2006 10:14 am    Post subject: [TIP] update profondo Reply with quote

Salve a tutti...
Ho notato che quando qualcuno fa "emerge -u world" il buon portage cerca i pacchetti da updatare sono nel file world...
Per essere sicuri che venga aggiornato tutto, si può usare eix per sapere quali pacchetti necessitano di update:
Code:
 $ eix -u


A questo punto, mettendo in pipe l'output opportunamente formattato, si può far partire emerge...Ad esempio:
Code:

$ eix -u -c --format-compact "<category>/<name>" | grep "^[^\[F]" >> pkg_list
$ emerge -na $(<pkg_list)


A me funziona...Dopo consiglio un revdep-rebuild...
Che ne pensate?
_________________
Greetings by the Shogun! - Home page

1-"Prima di dare consigli agli altri, sperimentateli su voi stessi..."
2-"In medio stat virtus!"
Back to top
View user's profile Send private message
Kernel78
Moderator
Moderator


Joined: 24 Jun 2005
Posts: 3654

PostPosted: Thu Dec 07, 2006 10:38 am    Post subject: Reply with quote

Forse sono fuso e non ho ben capito ma non è più semplice usare subito
Code:
emerge -uD world
Code:
       --deep (-D)
              When used in conjunction with --update, this flag forces  emerge
              to  consider  the entire dependency tree of packages, instead of
              checking only the immediate dependencies of the packages.  As an
              example, this catches updates in libraries that are not directly
              listed in the dependencies of a package.

_________________
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
shogun_panda
Guru
Guru


Joined: 30 Jul 2004
Posts: 411
Location: Campobasso or Rome, Molise or Lazio, Italy, Europe, Earth, Solar system, Milk Way, Universe

PostPosted: Thu Dec 07, 2006 11:22 am    Post subject: Reply with quote

Kernel78 wrote:
Forse sono fuso e non ho ben capito ma non è più semplice usare subito
Code:
emerge -uD world
Code:
       --deep (-D)
              When used in conjunction with --update, this flag forces  emerge
              to  consider  the entire dependency tree of packages, instead of
              checking only the immediate dependencies of the packages.  As an
              example, this catches updates in libraries that are not directly
              listed in the dependencies of a package.


D'OH! Mi sa che c'hai ragione! :oops:
Ma quanto sono rinco***nito? :oops: :lol:
Vabbè...fate come se non avessi scritto niente...
_________________
Greetings by the Shogun! - Home page

1-"Prima di dare consigli agli altri, sperimentateli su voi stessi..."
2-"In medio stat virtus!"
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


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

PostPosted: Fri Dec 08, 2006 9:42 am    Post subject: Reply with quote

shogun_panda wrote:

Vabbè...fate come se non avessi scritto niente...

Oramai è fatta :) .
Forse a questo punto sarebbe il caso di consigliare un `revdep-rebuild -pv` (app-portage/gentoolkit) frequente.
Il motivo per cui emerge richiede l'uso esplicito del'opzione -D è proprio questo.

Usando -D può accadere di aggiornare la versione di una libreria, rendendo inutilizzabili i programmi linkati alla versione precedente.
In questo caso, revdep-rebuild li individua e ne imposta la ricompilazione.
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Fri Dec 08, 2006 10:53 am    Post subject: Reply with quote

cloc3 wrote:
shogun_panda wrote:

Vabbè...fate come se non avessi scritto niente...

Oramai è fatta :) .


Beh si potrebbe evolvere andando a prendere da genlop i tempi di compilazione per stimare il tempo di update ;-)
_________________
Ciao da me!
Back to top
View user's profile Send private message
Kernel78
Moderator
Moderator


Joined: 24 Jun 2005
Posts: 3654

PostPosted: Fri Dec 08, 2006 11:33 am    Post subject: Reply with quote

randomaze wrote:
cloc3 wrote:
shogun_panda wrote:

Vabbè...fate come se non avessi scritto niente...

Oramai è fatta :) .


Beh si potrebbe evolvere andando a prendere da genlop i tempi di compilazione per stimare il tempo di update ;-)

dici facendo una cosa simile a
Code:
emerge -uDpvN world | genlop -p
:?:
_________________
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
shogun_panda
Guru
Guru


Joined: 30 Jul 2004
Posts: 411
Location: Campobasso or Rome, Molise or Lazio, Italy, Europe, Earth, Solar system, Milk Way, Universe

PostPosted: Fri Dec 08, 2006 11:38 pm    Post subject: Reply with quote

cloc3 wrote:

Forse a questo punto sarebbe il caso di consigliare un `revdep-rebuild -pv` (app-portage/gentoolkit) frequente.


Ed infatti...
shogun_panda wrote:

A me funziona...Dopo consiglio un revdep-rebuild...


:lol:
_________________
Greetings by the Shogun! - Home page

1-"Prima di dare consigli agli altri, sperimentateli su voi stessi..."
2-"In medio stat virtus!"
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


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

PostPosted: Sat Dec 09, 2006 10:22 am    Post subject: Reply with quote

shogun_panda wrote:

Ed infatti...

Vabbè...fate come se non avessi scritto niente...
:lol:
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Risorse italiane (documentazione e tools) 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