public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Hans-Werner Hilse <hilse@web.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] In need of script/command that will parse out all the packages from "emerge -avu world"
Date: Mon, 20 Nov 2006 23:50:55 +0100	[thread overview]
Message-ID: <20061120235055.47772361.hilse@web.de> (raw)
In-Reply-To: <200611202216.kAKMGmgI026425@robin.gentoo.org>

Hi,

On Mon, 20 Nov 2006 14:18:39 -0800
"Daevid Vincent" <daevid@daevid.com> wrote:

> > This script doesn't use the --oneshot option when merging, so it will
> > add all updating packages to your world file.  I hope you haven't used
> > this... :-(
> 
> I don’t understand this --oneshot option? I've never used it in all my
> gentoo years. Why wouldn't I want packages in my world file? Isn't that how
> they get updated when new ones come out? Anything in my 'emerge -avu world',
> I would not have a --oneshot for, so why would I do it any different if I
> manually did 'emerge -av pkg1 pkg2 pkg3 ...'?

An "emerge -uD" will check all dependencies for updates. So that's how
one is supposed to make a full update. You most certainly don't want
all packages in your world file. This would include dependency packages
(e.g. libraries), which might not be dependencies tomorrow (changed
software, changed USE flags, etc.pp.). And when you do the occasional
"emerge --depclean", it can't take those "stale dependencies" into
account, because they are in the world file. So e.g. libraries not
linked anymore to anything would still be left on the precious disc
space, because they're in the world file.

I regularly take an editor and trim down my world file (I forget about
--oneshot very often) to the packages I want to use. Then I run "emerge
--depclean" to get rid of old cruft (to be sure, I could have done a
"emerge -pvDn world" before, but I trust myself enough not to shoot
myself in the foot).

-hwh

-- 
gentoo-user@gentoo.org mailing list



  parent reply	other threads:[~2006-11-20 22:53 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-20  6:37 [gentoo-user] In need of script/command that will parse out all the packages from "emerge -avu world" Daevid Vincent
2006-11-20  8:27 ` Mark M
2006-11-20 20:59   ` Richard Fish
2006-11-20 22:18     ` Daevid Vincent
2006-11-20 22:36       ` Boris Fersing
2006-11-21  0:15         ` b.n.
2006-11-21  1:41           ` Richard Fish
2006-11-21 22:59             ` b.n.
2006-11-20 22:50       ` Hans-Werner Hilse [this message]
2006-11-21  9:13     ` Mark M
2006-11-21 10:14       ` Bo Ørsted Andresen
2006-11-20  8:36 ` Bo Ørsted Andresen
2006-11-21 22:59   ` Daevid Vincent

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=20061120235055.47772361.hilse@web.de \
    --to=hilse@web.de \
    --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