public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Albert W. Hopkins" <marduk@letterboxes.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] portage wants to remove less and nano
Date: Fri, 07 Oct 2011 08:22:56 -0400	[thread overview]
Message-ID: <1317990176.3665.7.camel@localhost.localdomain> (raw)
In-Reply-To: <4E8EE2D7.2090200@linuxsystems.it>

On Fri, 2011-10-07 at 13:30 +0200, Niccolò Belli wrote:
> Il 07/10/2011 13:25, Willie Wong ha scritto:
> > Most likely you've never set them.
> 
> Shouldn't it ship with a default setting? Anyway even after setting a 
> default, portage still wants to remove both less and nano. I had to put 
> them in the world set.

I'll chime in.  I know this has been discussed so many times... but it
seems the discussion recurs.

You *can* get away with not putting virtuals in your world file, even
with the new portage behavior.  The trick is to not have any other
package satisfy the virtual.  For example, I use most as my pager and
gvim as my editor.  I uninstalled nano because I can't stand it and
never use it.  I also uninstalled less because I use most.  My world
file has neither most nor gvim in it, but because nothing else satisfies
the dependencies for virtual/pager and virtual/editor then they don't
get depclean'ed.

Of course this won't work for everyone.  If you have to have 2 pagers
installed, for example. Where I think some people will come into a
problem is with sys-apps/util-linux[ncurses].  This satisfies the
virtual/pager dep so it may want to clean sys-apps/more.  I don't have
the "ncurses" flag set for util-linux, so I don't have that issue.

Anyway a lot of people don't like the "new" behavior (which isn't really
new anymore).  I can't say I'm enthused about the change, but if you
think about (for a while) it makes sense, and it's not like it's going
to kill you to put nano/more/whatever in your world file.

-a





      reply	other threads:[~2011-10-07 12:24 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-06 20:47 [gentoo-user] portage wants to remove less and nano Niccolò Belli
2011-10-06 21:02 ` Alex Schuster
2011-10-06 21:15   ` [gentoo-user] " Nikos Chantziaras
2011-10-06 21:31     ` Michael Schreckenbauer
2011-10-06 21:04 ` [gentoo-user] " Florian Philipp
2011-10-06 21:09 ` David Abbott
2011-10-07  2:06   ` Dale
2011-10-07  2:19     ` Michael Orlitzky
2011-10-07  7:30       ` Alan McKinnon
2011-10-07 14:03         ` Michael Orlitzky
2011-10-07  9:15   ` Niccolò Belli
2011-10-07 11:25     ` Willie Wong
2011-10-07 11:30       ` Niccolò Belli
2011-10-07 12:22         ` Albert W. Hopkins [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=1317990176.3665.7.camel@localhost.localdomain \
    --to=marduk@letterboxes.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