List Info

Thread: portage 'world' maintenance




portage 'world' maintenance
country flaguser name
United States
2007-07-02 19:06:25
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

--
Re: portage 'world' maintenance
country flaguser name
Bulgaria
2007-07-02 19:39:11
On Mon, 2 Jul 2007 14:06:25 -1000
Joshua Hoblitt <jhoblittifa.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.

HTH

-- 
Best regards,
Daniel

--
gentoo-amd64gentoo.org mailing list


Re: portage 'world' maintenance
country flaguser name
United States
2007-07-02 19:55:16
On Tue, Jul 03, 2007 at 03:39:11AM +0300, Daniel Iliev
wrote:
> On Mon, 2 Jul 2007 14:06:25 -1000
> Joshua Hoblitt <jhoblittifa.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

--
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )