1 |
Hello. |
2 |
|
3 |
I installed stage-3 2007.0 and am now trying to configure |
4 |
it to my liking. For example, I dislike nano and would like |
5 |
to use vim instead. vim (among other editors) provides |
6 |
virtual/editor. So I thought, that I could add |
7 |
|
8 |
virtual/editor app-editors/vim |
9 |
|
10 |
to /etc/portage/profile/virtuals. BUT: |
11 |
|
12 |
winnb000488 portage # cat /etc/portage/profile/virtuals |
13 |
virtual/editor app-editors/vim |
14 |
winnb000488 portage # emerge -vpt virtual/editor |
15 |
|
16 |
These are the packages that would be merged, in reverse order: |
17 |
|
18 |
Calculating dependencies... done! |
19 |
[ebuild N ] virtual/editor-0 0 kB |
20 |
[ebuild N ] app-editors/nano-2.0.6 USE="-debug -justify -minimal ncurses nls -slang spell unicode" 1,285 kB |
21 |
|
22 |
Total: 2 packages (2 new), Size of downloads: 1,285 kB |
23 |
|
24 |
Why's that? Why is nano being installed to satisfy the |
25 |
virtual/editor need? |
26 |
|
27 |
When I add |
28 |
|
29 |
virtual/mta mail-mta/esmtp |
30 |
|
31 |
to the virtuals file and try to emerge virtual/mta, esmtp |
32 |
should be installed: |
33 |
|
34 |
winnb000488 portage # echo virtual/mta mail-mta/esmtp >> profile/virtuals |
35 |
winnb000488 portage # emerge -vpt virtual/mta |
36 |
|
37 |
These are the packages that would be merged, in reverse order: |
38 |
|
39 |
Calculating dependencies... done! |
40 |
[ebuild N ] mail-mta/esmtp-0.5.0-r1 USE="-mailwrapper" 123 kB |
41 |
[ebuild N ] net-libs/libesmtp-1.0.4 USE="-debug ssl" 344 kB |
42 |
|
43 |
Total: 2 packages (2 new), Size of downloads: 467 kB |
44 |
|
45 |
Without that line in the virtuals file, ssmtp is going to be |
46 |
installed: |
47 |
|
48 |
winnb000488 portage # grep -v esmtp profile/virtuals > /tmp/dummy ; cat /tmp/dummy > profile/virtuals ; rm /tmp/dummy |
49 |
winnb000488 portage # cat profile/virtuals |
50 |
virtual/editor app-editors/vim |
51 |
winnb000488 portage # emerge -vpt virtual/mta |
52 |
|
53 |
These are the packages that would be merged, in reverse order: |
54 |
|
55 |
Calculating dependencies... done! |
56 |
[ebuild N ] mail-mta/ssmtp-2.61-r2 USE="-ipv6 -mailwrapper -md5sum ssl" 53 kB |
57 |
[ebuild N ] net-mail/mailbase-1 USE="pam" 0 kB |
58 |
|
59 |
Total: 2 packages (2 new), Size of downloads: 53 kB |
60 |
|
61 |
So, what am I doing wrong with regards to virtual/editor? I know |
62 |
that I could just install app-editors/vim and be done, but I'd |
63 |
like to know why emerge virtual/editor doesn't work the way I expect |
64 |
it to work (or why my expectation is wrong). |
65 |
|
66 |
Alexander |
67 |
|
68 |
-- |
69 |
gentoo-user@g.o mailing list |