1 |
On Dec 23, 2011 2:42 AM, "Mick" <michaelkintzios@×××××.com> wrote: |
2 |
> |
3 |
> On Thursday 22 Dec 2011 19:07:02 Alan McKinnon wrote: |
4 |
> > On Thu, 22 Dec 2011 19:58:32 +0100 |
5 |
> > |
6 |
> > Jarry <mr.jarry@×××××.com> wrote: |
7 |
> > > On 22-Dec-11 19:38, Mark Knecht wrote: |
8 |
> > > >> Why does portage want to unmerge sys-apps/less when it is |
9 |
> > > >> a part of system? |
10 |
> > > > |
11 |
> > > > I didn't like it either so I've been adding it to |
12 |
> > > > /var/lib/portage/world just to stop it. I've seen this on one |
13 |
> > > > machine or another for 6 months to a year I think. |
14 |
> > > |
15 |
> > > Some time ago emerge wanted to uninstall "nano" - part of system. |
16 |
> > > Now "less". I just tried to update one more comp, and guess what? |
17 |
> > > |
18 |
> > > # emerge --depclean |
19 |
> > > Calculating dependencies... done! |
20 |
> > > |
21 |
> > > >>> Calculating removal order... |
22 |
> > > |
23 |
> > > !!! 'sys-fs/udev' (virtual/dev-manager) is part of your system |
24 |
> > > profile. !!! Unmerging it may be damaging to your system. |
25 |
> > > |
26 |
> > > >>> Waiting 10 seconds before starting... |
27 |
> > > >>> (Control-C to abort)... |
28 |
> > > |
29 |
> > > Press Ctrl-C to Stop in: 10 9 |
30 |
> > > |
31 |
> > > LOL, what the hell is going on? Porgage went crazy or what? |
32 |
> > |
33 |
> > This has been in unstable for many months now. Basically there's now a |
34 |
> > virtual for $EDITOR and $PAGER so you can pick the one you want. If you |
35 |
> > don't pick one, portage will take the default and --depclean is likely |
36 |
> > to remove the others that are not in world. |
37 |
> > |
38 |
> > This was all discussed to death months ago :-) |
39 |
> > |
40 |
> > Just add your editor and pager of choice to world and continue as |
41 |
> > normal. It's not a big issue - you already know you want less and have |
42 |
> > no intention of removing it, so just add it like any other package. |
43 |
> |
44 |
> $ cat /etc/env.d/99editor |
45 |
> # Configuration file for eselect |
46 |
> # This file has been automatically generated. |
47 |
> EDITOR="/usr/bin/vi" |
48 |
> |
49 |
> You could replace for nano, or indeed add both in world file. Ditto for |
50 |
pager |
51 |
> (more/less/most, etc). |
52 |
> |
53 |
|
54 |
'eselect pager list' and 'eselect editor list' will show what alternatives |
55 |
are available (with a write-in candidate support). |
56 |
|
57 |
Rgds, |