Re: [gentoo-user] upgrade all [SOLVED]
On Wednesday 25 February 2009 08:49:37 Zhu Sha Zang wrote: Stroller escreveu: On 25 Feb 2009, at 12:50, Zhu Sha Zang wrote: ... I know that i can do a emerge -uDN world and upgrade all programs that in the world enviroment. But some time ago i see in this list a way to check and upgrade all programs installed in system. Someone remember or know how i can do it? Could it have been this thread: http://thread.gmane.org/gmane.linux.gentoo.user/202559 I think there were some warnings there against it, but IIRC I didn't find them terribly specific or compelling, so 'emerge -1 `eix -Iu --only-names`' works here. I would think your need for this would be rare, however, and you should be sure to run revdep-rebuild afterwards. Stroller. Thakns Stroller, i'm using something like this eix -u upgrade.txt vi upgrade.txt (editing lines that useless and adding emerge -vauDN) sh upgrade.txt. SOLVED at all. Thanks again. Try this if you want to save yourself a lot of editing: eix -u | awk '/^\[/{print emerge -vauDN , $2}' If want to redirect to an executable file, then use this: eix -u | awk 'BEGIN{print # /usr/bin/bash\n} /^\[/{print emerge -vauDN , $2}' (Above should be all one line.)
Re: [gentoo-user] upgrade all [SOLVED]
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stroller escreveu: On 25 Feb 2009, at 12:50, Zhu Sha Zang wrote: ... I know that i can do a emerge -uDN world and upgrade all programs that in the world enviroment. But some time ago i see in this list a way to check and upgrade all programs installed in system. Someone remember or know how i can do it? Could it have been this thread: http://thread.gmane.org/gmane.linux.gentoo.user/202559 I think there were some warnings there against it, but IIRC I didn't find them terribly specific or compelling, so 'emerge -1 `eix -Iu --only-names`' works here. I would think your need for this would be rare, however, and you should be sure to run revdep-rebuild afterwards. Stroller. Thakns Stroller, i'm using something like this eix -u upgrade.txt vi upgrade.txt (editing lines that useless and adding emerge -vauDN) sh upgrade.txt. SOLVED at all. Thanks again. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkmlTHEACgkQ35zeJy7JhCj6IgCfYAXUTR4M4a8L+ob+p0UV/Dtl gfsAniMY6glJn1FgA5axOpOniLsBPMvA =tfi5 -END PGP SIGNATURE-
Re: [gentoo-user] upgrade all [SOLVED]
On Wed, 25 Feb 2009 10:49:37 -0300 Zhu Sha Zang zhushaz...@yahoo.com.br wrote: Thakns Stroller, i'm using something like this eix -u upgrade.txt vi upgrade.txt (editing lines that useless and adding emerge -vauDN) sh upgrade.txt. SOLVED at all. Thanks again. Alternatively, you can look at portage-2.2, where you can just emerge -u @installed. -- Mike Kazantsev // fraggod.net signature.asc Description: PGP signature