public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user]  Emerging virtual/editor installs nano - why?
@ 2007-12-07  9:49 Alexander Skwar
  2007-12-07 12:48 ` Emil Beinroth
       [not found] ` <200712071603.48052.bo.andresen@zlin.dk>
  0 siblings, 2 replies; 12+ messages in thread
From: Alexander Skwar @ 2007-12-07  9:49 UTC (permalink / raw
  To: gentoo-user

Hello.

I installed stage-3 2007.0 and am now trying to configure
it to my liking. For example, I dislike nano and would like
to use vim instead. vim (among other editors) provides
virtual/editor. So I thought, that I could add

        virtual/editor  app-editors/vim

to /etc/portage/profile/virtuals. BUT:

winnb000488 portage # cat /etc/portage/profile/virtuals 
virtual/editor app-editors/vim
winnb000488 portage # emerge -vpt virtual/editor

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild  N    ] virtual/editor-0  0 kB 
[ebuild  N    ]  app-editors/nano-2.0.6  USE="-debug -justify -minimal ncurses nls -slang spell unicode" 1,285 kB 

Total: 2 packages (2 new), Size of downloads: 1,285 kB

Why's that? Why is nano being installed to satisfy the
virtual/editor need?

When I add

        virtual/mta mail-mta/esmtp

to the virtuals file and try to emerge virtual/mta, esmtp
should be installed:

winnb000488 portage # echo virtual/mta mail-mta/esmtp >> profile/virtuals 
winnb000488 portage # emerge -vpt virtual/mta

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild  N    ] mail-mta/esmtp-0.5.0-r1  USE="-mailwrapper" 123 kB 
[ebuild  N    ]  net-libs/libesmtp-1.0.4  USE="-debug ssl" 344 kB 

Total: 2 packages (2 new), Size of downloads: 467 kB

Without that line in the virtuals file, ssmtp is going to be
installed:

winnb000488 portage # grep -v esmtp profile/virtuals > /tmp/dummy ; cat /tmp/dummy > profile/virtuals ; rm /tmp/dummy
winnb000488 portage # cat profile/virtuals
virtual/editor app-editors/vim
winnb000488 portage # emerge -vpt virtual/mta

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild  N    ] mail-mta/ssmtp-2.61-r2  USE="-ipv6 -mailwrapper -md5sum ssl" 53 kB 
[ebuild  N    ]  net-mail/mailbase-1  USE="pam" 0 kB 

Total: 2 packages (2 new), Size of downloads: 53 kB

So, what am I doing wrong with regards to virtual/editor? I know
that I could just install app-editors/vim and be done, but I'd
like to know why emerge virtual/editor doesn't work the way I expect
it to work (or why my expectation is wrong).

Alexander

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2007-12-07 21:14 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-07  9:49 [gentoo-user] Emerging virtual/editor installs nano - why? Alexander Skwar
2007-12-07 12:48 ` Emil Beinroth
2007-12-07 13:29   ` [gentoo-user] " Alexander Skwar
2007-12-07 14:56     ` Stroller
2007-12-07 15:03       ` Alexander Skwar
2007-12-07 15:07     ` Emil Beinroth
2007-12-07 15:15       ` [gentoo-user] " Alexander Skwar
2007-12-07 17:48         ` Emil Beinroth
     [not found] ` <200712071603.48052.bo.andresen@zlin.dk>
2007-12-07 15:21   ` [gentoo-user] " Alexander Skwar
2007-12-07 15:37     ` Bo Ørsted Andresen
2007-12-07 17:58       ` Alexander Skwar
2007-12-07 21:07         ` Bo Ørsted Andresen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox