public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Daniel D Jones <ddjones@riddlemaster.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] upgrade all [SOLVED]
Date: Thu, 26 Feb 2009 08:01:36 -0500	[thread overview]
Message-ID: <200902260801.36831.ddjones@riddlemaster.org> (raw)
In-Reply-To: <49A54C71.7040608@yahoo.com.br>

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.)







      parent reply	other threads:[~2009-02-26 13:01 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-25 12:50 [gentoo-user] upgrade all Zhu Sha Zang
2009-02-25 13:02 ` Алексей Белкин
2009-02-25 13:04   ` Alejandro
2009-02-25 13:27     ` Volker Armin Hemmann
2009-02-25 13:33 ` Stroller
2009-02-25 13:49   ` [gentoo-user] upgrade all [SOLVED] Zhu Sha Zang
2009-02-25 13:59     ` Mike Kazantsev
2009-02-25 14:24     ` [gentoo-user] " Nikos Chantziaras
2009-02-25 16:22       ` Neil Bothwick
2009-02-25 21:09         ` Arttu V.
2009-02-25 22:05           ` Neil Bothwick
2009-02-26 13:01     ` Daniel D Jones [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200902260801.36831.ddjones@riddlemaster.org \
    --to=ddjones@riddlemaster.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox