Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
depclean trying to remove system files
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
Twenynge
n00b
n00b


Joined: 08 Jan 2010
Posts: 56

PostPosted: Sun Aug 03, 2014 9:32 am    Post subject: depclean trying to remove system files Reply with quote

I've been working on a fresh installation and am at the point where I'm adding the final few packages I want. After adding vim, conky, and a few other things I updated my entire system then ran
Code:
emerge --ask --depclean
. For whatever reason, Portage is attempting to remove nano even though I have it set as my default editor via eselect. Is this normal behavior? Is it doing this because I installed vim which satisfied the virtual so nano is no longer needed but is still flagged to provide a warning if you try to delete it? I could just emerge it and put it in the world set, but I want to make sure I haven't done anything wrong to cause this issue. Thanks in advance.
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6279

PostPosted: Sun Aug 03, 2014 10:06 am    Post subject: Reply with quote

Your conjectures are completely correct.
eselect has nothing to do with portage - it just sets the EDITOR variable so that some tools will use it.
A quicker solution than reemerging (unless you have already removed nano) is
Quote:
emerge --select -n nano
which will enter nano into your world file.
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10215
Location: Somewhere over Atlanta, Georgia

PostPosted: Sun Aug 03, 2014 11:22 am    Post subject: Reply with quote

Yes, it's normal. For more background, see --depclean wants to remove nano! Moved to Duplicate Threads.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum