Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 600910 - virtual/editor: removal of nano because of an error in the depend list
Summary: virtual/editor: removal of nano because of an error in the depend list
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-26 13:05 UTC by Fedor_Rus
Modified: 2018-05-17 05:41 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fedor_Rus 2016-11-26 13:05:33 UTC
Calculating dependencies                                  ... done!
>>> Calculating removal order...

>>> These are the packages that would be unmerged:


!!! 'app-editors/nano' (virtual/editor) is part of your system profile.
!!! Unmerging it may be damaging to your system.


 app-editors/nano
    selected: 2.5.3 
   protected: none 
     omitted: none 

All selected packages: =app-editors/nano-2.5.3

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

Would you like to unmerge these packages? [Yes/No] no

Quitting.

Error are here:
/usr/portage/virtual/editor/editor-0.ebuild
RDEPEND="|| ( app-editors/nano
        app-editors/dav
        app-editors/e3
        app-editors/ee
        app-editors/efte
        app-editors/elvis
        app-editors/emacs


editor-0.diff
15,16c15,16
< RDEPEND="|| ( app-editors/nano
< 	app-editors/dav
---
> RDEPEND="app-editors/nano
> 	|| ( app-editors/dav
Comment 1 nvinson234 2016-11-26 19:51:56 UTC
I'm not seeing an error here.  Not everyone wants nano, so it makes sense to remove it if another editor is installed.  To keep nano just run 'emerge --noreplace nano'
Comment 2 SpanKY gentoo-dev 2016-11-26 21:09:12 UTC
the virtual/editor ebuild has been that way for years now (almost a decade).  the stages should have it selected by default.

what command exactly are you running ?
Comment 3 Fedor_Rus 2016-11-27 04:33:04 UTC
emerge complains
> !!! 'app-editors/nano' (virtual/editor) is part of your system profile.
> !!! Unmerging it may be damaging to your system.

> what command exactly are you running ?

emerge -ca
Comment 4 Ulrich Müller gentoo-dev 2018-05-17 05:41:43 UTC
*** Bug 655906 has been marked as a duplicate of this bug. ***