Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 640980 - Gentoo complain remove sys-apps/openrc is dangerous when emerge --depclean
Summary: Gentoo complain remove sys-apps/openrc is dangerous when emerge --depclean
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Profiles (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-14 06:39 UTC by Joe Chen
Modified: 2017-12-16 14:44 UTC (History)
2 users (show)

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


Attachments
emerge --info (emerge-info.txt,7.74 KB, text/plain)
2017-12-14 06:39 UTC, Joe Chen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Chen 2017-12-14 06:39:22 UTC
Created attachment 509988 [details]
emerge --info

when emerge --depclean,
Gentoo complain

!!! 'sys-apps/openrc' (virtual/service-manager) is part of your system profile.
!!! Unmerging it may be damaging to your system.

Pls help how to fix it.

Thankns

p.s. emerge --info is attached.
Comment 1 Joe Chen 2017-12-14 06:41:21 UTC
[0]tbanb ~ # emerge --depclean -a

 * Always study the list of packages to be cleaned for any obvious
 * mistakes. Packages that are part of the world set will always
 * be kept.  They can be manually added to this set with
 * `emerge --noreplace <atom>`.  Packages that are listed in
 * package.provided (see portage(5)) will be removed by
 * depclean, even if they are part of the world set.
 * 
 * As a safety measure, depclean will not remove any packages
 * unless *all* required dependencies have been resolved.  As a
 * consequence of this, it often becomes necessary to run 
 * `emerge --update --newuse --deep @world` prior to depclean.

Calculating dependencies... done!
>>> Calculating removal order...

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

 dev-libs/jsoncpp
    selected: 1.8.1 
   protected: none 
     omitted: none 

 dev-python/beautifulsoup
    selected: 4.5.1 
   protected: none 
     omitted: none 

 dev-libs/libgit2
    selected: 0.24.6 
   protected: none 
     omitted: none 

 app-eselect/eselect-electron
    selected: 2.1 
   protected: none 
     omitted: none 

 dev-python/simplejson
    selected: 3.10.0 
   protected: none 
     omitted: none 

 dev-python/beautifulsoup
    selected: 3.2.1-r1 
   protected: none 
     omitted: none 

 dev-perl/JSON
    selected: 2.900.0 
   protected: none 
     omitted: none 

 net-libs/nodejs
    selected: 6.11.5 
   protected: none 
     omitted: none 

 dev-libs/re2
    selected: 0.2016.05.01 
   protected: none 
     omitted: none 

 dev-libs/libuv
    selected: 1.10.2 
   protected: none 
     omitted: none 

 net-misc/netifrc
    selected: 0.5.1 
   protected: none 
     omitted: none 


!!! 'sys-apps/openrc' (virtual/service-manager) is part of your system profile.
!!! Unmerging it may be damaging to your system.


 sys-apps/openrc
    selected: 0.34.11 
   protected: none 
     omitted: none 

 sys-apps/sysvinit
    selected: 2.88-r9 
   protected: none 
     omitted: none 

 virtual/tmpfiles
    selected: 0 
   protected: none 
     omitted: none 

All selected packages: =dev-python/beautifulsoup-3.2.1-r1 =dev-perl/JSON-2.900.0 =sys-apps/openrc-0.34.11 =net-libs/nodejs-6.11.5 =net-misc/netifrc-0.5.1 =virtual/tmpfiles-0 =sys-apps/sysvinit-2.88-r9 =dev-python/beautifulsoup-4.5.1 =dev-python/simplejson-3.10.0 =dev-libs/re2-0.2016.05.01 =app-eselect/eselect-electron-2.1 =dev-libs/jsoncpp-1.8.1 =dev-libs/libgit2-0.24.6 =dev-libs/libuv-1.10.2

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

Would you like to unmerge these packages? [Yes/No]
Comment 2 Jonas Stein gentoo-dev 2017-12-16 14:44:32 UTC
It is sad to read that you have problems with the software. The situation seems to be a bit more complicate and requires some analysis.
We can not help you efficiently via bug tracker. The bug tracker aims rather on specific problems in .ebuilds and less on individual systems. 

I have had very good experience on the gentoo IRC [1] with questions like this. Of course there are also forums and mailing lists [2,3].
I hope you understand, that I will close the bug here therefore and wish you good luck on one of the mentioned channels [4].
Please reopen the ticket in order to provide an indication for an specific error in an ebuild or any gentoo related product.

[1] https://www.gentoo.org/get-involved/irc-channels/
[2] https://forums.gentoo.org/
[3] https://www.gentoo.org/get-involved/mailing-lists/all-lists.html
[4] https://www.gentoo.org/support/