|
|||||||||||
|
[gentoo-user] Emerging virtual/editor installs nano - why?
From: Alexander Skwar <alexanders.mailinglists+nospam(at)gmail.com>
Date: Fri Dec 07 2007 - 04:49:42 EST
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
These are the packages that would be merged, in reverse order:
Calculating dependencies... done!
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!
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
These are the packages that would be merged, in reverse order:
Calculating dependencies... done!
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 listReceived on Fri Dec 7 04:51:20 2007 This archive was generated by hypermail 2.1.8 : Thu Jun 05 2008 - 18:10:29 EDT |
||||||||||
|
|||||||||||