Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Forum italiano (Italian) Risorse italiane (documentazione e tools)
  • Search

[TIP] update profondo

Forum riservato alla documentazione in italiano.

Moderator: ago

Post Reply
  • Print view
Advanced search
8 posts • Page 1 of 1
Author
Message
shogun_panda
Guru
Guru
User avatar
Posts: 411
Joined: Fri Jul 30, 2004 11:47 am
Location: Campobasso or Rome, Molise or Lazio, Italy, Europe, Earth, Solar system, Milk Way, Universe
Contact:
Contact shogun_panda
Website

[TIP] update profondo

  • Quote

Post by shogun_panda » Thu Dec 07, 2006 10:14 am

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: Select all

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

Code: Select all

$ 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!"
Top
Kernel78
Moderator
Moderator
Posts: 3654
Joined: Fri Jun 24, 2005 6:14 am
Contact:
Contact Kernel78
Website

  • Quote

Post by Kernel78 » Thu Dec 07, 2006 10:38 am

Forse sono fuso e non ho ben capito ma non è più semplice usare subito

Code: Select all

emerge -uD world

Code: Select all

       --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: Select all

grep -vE '(^[[:space:]]*($|(#|!|;|//)))'
Top
shogun_panda
Guru
Guru
User avatar
Posts: 411
Joined: Fri Jul 30, 2004 11:47 am
Location: Campobasso or Rome, Molise or Lazio, Italy, Europe, Earth, Solar system, Milk Way, Universe
Contact:
Contact shogun_panda
Website

  • Quote

Post by shogun_panda » Thu Dec 07, 2006 11:22 am

Kernel78 wrote:Forse sono fuso e non ho ben capito ma non è più semplice usare subito

Code: Select all

emerge -uD world

Code: Select all

       --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!"
Top
cloc3
Advocate
Advocate
User avatar
Posts: 4840
Joined: Tue Jan 13, 2004 10:09 am
Location: http://www.gentoo-users.org/user/cloc3/
Contact:
Contact cloc3
Website

  • Quote

Post by cloc3 » Fri Dec 08, 2006 9:42 am

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
Top
randomaze
Bodhisattva
Bodhisattva
User avatar
Posts: 9985
Joined: Tue Oct 21, 2003 7:55 am
Contact:
Contact randomaze
Website

  • Quote

Post by randomaze » Fri Dec 08, 2006 10:53 am

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!
Top
Kernel78
Moderator
Moderator
Posts: 3654
Joined: Fri Jun 24, 2005 6:14 am
Contact:
Contact Kernel78
Website

  • Quote

Post by Kernel78 » Fri Dec 08, 2006 11:33 am

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: Select all

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: Select all

grep -vE '(^[[:space:]]*($|(#|!|;|//)))'
Top
shogun_panda
Guru
Guru
User avatar
Posts: 411
Joined: Fri Jul 30, 2004 11:47 am
Location: Campobasso or Rome, Molise or Lazio, Italy, Europe, Earth, Solar system, Milk Way, Universe
Contact:
Contact shogun_panda
Website

  • Quote

Post by shogun_panda » Fri Dec 08, 2006 11:38 pm

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!"
Top
cloc3
Advocate
Advocate
User avatar
Posts: 4840
Joined: Tue Jan 13, 2004 10:09 am
Location: http://www.gentoo-users.org/user/cloc3/
Contact:
Contact cloc3
Website

  • Quote

Post by cloc3 » Sat Dec 09, 2006 10:22 am

shogun_panda wrote: Ed infatti...
Vabbè...fate come se non avessi scritto niente...
:lol:
vu vu vu
gentù
mi piaci tu
Top
Post Reply
  • Print view

8 posts • Page 1 of 1

Return to “Risorse italiane (documentazione e tools)”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic