On Tue, Jul 03, 2007 at 03:39:11AM +0300, Daniel Iliev
wrote:
> On Mon, 2 Jul 2007 14:06:25 -1000
> Joshua Hoblitt <jhoblitt ifa.hawaii.edu> wrote:
>
> > Is there a CLI utility to add/remove values from
'world' without
> > causing packages to be emerged/unemerged? Even
the emerge --inject
> > functionality is gone. Or for that mater, is there
even a way of
> > listing what's in world? I've gotten into the
habit of editing
> > /var/lib/portage/world by hand but I always feel
'dirty' for doing
> > this.
> >
> > -J
> >
> > --
>
>
> From "man emerge"
>
> --noreplace (-n)
> Skips the packages specified on the
command-line
> that have already been installed. Without
this option, any
> packages, ebuilds, or deps you specify on
the command-line
> will cause Portage to remerge the package, even
if it is already
> installed. Note that Portage will not remerge
dependencies by
> default.
>
> This adds packages to "world". I manually
edit the file when I want to
> remove some packages from "world" w/o
actually uninstalling them.
Yes, I agree that -n will causes packages to be added to
world but it
also causes them to be emerged immediately which is not
always desired.
A practically example of this usage case is where your about
to run an
`emerge -DNuva world` or `emerge -e world` and you want to
make
modifications to 'world'.
-J
--
|