Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 507166 - emerge --depclean proposes to uninstall app-editors/nano
Summary: emerge --depclean proposes to uninstall app-editors/nano
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-08 20:07 UTC by Joakim Tjernlund
Modified: 2014-05-29 12:46 UTC (History)
0 users

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 Joakim Tjernlund 2014-04-08 20:07:38 UTC
Whenever I install a stage3 snapshow I get this when running --declean

tu1 ~ # emerge -c -a --with-bdeps=y


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

app-editors/nano: 2.3.2 none none 

All selected packages: app-editors/nano-2.3.2
Would you like to unmerge these packages? [Yes/No] 


Seems to me that anything in the system profile should not be removed by default
when running --depclean
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-04-08 21:32:34 UTC
That means nothing on your system depends on app-editors/nano (which isn't in any profile itself) including virtual/editor (which _is_ in base/packages and thus in your profile).

Do you happen to have a replacement editor installed? Then you don't need nano.
Comment 2 Joakim Tjernlund 2014-04-09 07:33:17 UTC
Not my system, in the image/stage I installed from gentoo.
One would not expect that --depclean will remove stuff from the
system profile, I don't depend on lots of stuff in the image but these
are not removed.
Comment 3 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2014-05-23 12:12:19 UTC
This report is interesting.

Haven't heard this resounding in the halls; I'm unsure about this being a bug.

You can inspect further to see why Portage is not consider app-editors/nano:

 - Is something else that satisfies virtual/editor selected? (Or present?)

   (See usr/portage/virtual/editor/editor-0.ebuild for a list)

   If so, then this isn't a bug; Portage keeps the selected package, whilst removing non-selected packages even if listed before the selected package.

 - Is app-editors/nano masked somehow; or, is it unavailable on your arch?

   This could be a reason that it doesn't see it; if so, it is also not a bug but you could opt to do a keyword and/or stabilization request to make it available.

If it's neither of the above, then it might be a bug; in which case we need more details about the system, the command as well as what has been done in general:

 - Can you comment with `emerge --info` output?

 - Is `emerge -c -a --with-bdeps=y` the complete command you have executed?

 - Which stage3 does this happen with? How do I reproduce this if I want to try?

Thank you in advance.
Comment 4 Joakim Tjernlund 2014-05-29 12:46:16 UTC
(In reply to Tom Wijsman (TomWij) from comment #3)
> This report is interesting.
> 
> Haven't heard this resounding in the halls; I'm unsure about this being a
> bug.
> 
> You can inspect further to see why Portage is not consider app-editors/nano:
> 
>  - Is something else that satisfies virtual/editor selected? (Or present?)
> 
>    (See usr/portage/virtual/editor/editor-0.ebuild for a list)
> 
>    If so, then this isn't a bug; Portage keeps the selected package, whilst
> removing non-selected packages even if listed before the selected package.

Right, I got app-editors/vim installed too so this is why portage wants to remove
nano. Not a bug then -> INVALID