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