Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 371621

Summary: emerge -va --depclean tries to remove products that are part of the system profile
Product: Portage Development Reporter: Tanktalus
Component: Core - DependenciesAssignee: Portage team <dev-portage>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tanktalus 2011-06-14 13:27:02 UTC
Using portage 2.2.0_alpha41

Running depclean gets me the warning:

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

If it's part of the system, shouldn't depclean be already taking into consideration that it's a dependency?  If I explicitly ask to remove nano directly, then the warning is valid.  However, I would think the system requirements would, by default, be part of the dependency tree checked by depclean.

Reproducible: Always
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2011-06-14 15:06:07 UTC
Expected behavior, read the duplicate bug or the portage FAQ for more info.

http://www.gentoo.org/proj/en/portage/doc/faq.xml (question #4)

*** This bug has been marked as a duplicate of bug 370295 ***