View previous topic :: View next topic |
Author |
Message |
fturco Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 08 Dec 2010 Posts: 1181 Location: Italy
|
Posted: Tue Jan 08, 2013 9:53 pm Post subject: [SOLVED] emerge wants to install ruby packages for no reason |
|
|
I'd like to remove ruby and all related packages (those in the dev-ruby category) from my system, as I don't need them for the moment. So I put -ruby in make.conf, recompiled and removed them manually (because depclean didn't want to remove them). But now emerge wants to reinstall them:
Code: |
# emerge -uDNpv --with-bdeps=y @world -t
These are the packages that would be merged, in reverse order:
Calculating dependencies... done!
[nomerge ] dev-ruby/json-1.7.6 USE="-doc {-test}" RUBY_TARGETS="ruby18 ruby19 -jruby -ree18"
[nomerge ] dev-ruby/rake-0.9.2.2 USE="-bash-completion -doc {-test}" RUBY_TARGETS="ruby18 ruby19 -jruby -ree18"
[nomerge ] virtual/rubygems-4:ruby19 RUBY_TARGETS="(ruby19)"
[nomerge ] dev-lang/ruby-1.9.3_p286:1.9 USE="berkdb gdbm ncurses rdoc readline ssl yaml -debug -doc -examples -ipv6 -rubytests -socks5 -tk -xemacs"
[ebuild N ] dev-ruby/rdoc-3.12 USE="-doc {-test}" RUBY_TARGETS="ruby18 ruby19 -jruby -ree18" 0 kB
[ebuild N ] dev-ruby/json-1.7.6 USE="-doc {-test}" RUBY_TARGETS="ruby18 ruby19 -jruby -ree18" 0 kB
[ebuild N ] dev-ruby/racc-1.4.9 USE="-doc {-test}" RUBY_TARGETS="ruby18 ruby19 -jruby" 0 kB
[ebuild N ] dev-ruby/rake-0.9.2.2 USE="-bash-completion -doc {-test}" RUBY_TARGETS="ruby18 ruby19 -jruby -ree18" 0 kB
[ebuild N ] virtual/rubygems-1:ruby18 RUBY_TARGETS="(ruby18)" 0 kB
[ebuild N ] virtual/rubygems-4:ruby19 RUBY_TARGETS="(ruby19)" 0 kB
[ebuild N ] dev-ruby/rubygems-1.8.24 USE="-server {-test}" RUBY_TARGETS="ruby18 ruby19 -jruby -ree18" 0 kB
[ebuild N ] dev-lang/ruby-1.9.3_p286:1.9 USE="berkdb gdbm ncurses rdoc readline ssl yaml -debug -doc -examples -ipv6 -rubytests -socks5 -tk -xemacs" 0 kB
[ebuild N ] dev-lang/ruby-1.8.7_p370:1.8 USE="berkdb gdbm ncurses readline ssl -debug -doc -examples -ipv6 -libedit -rubytests -socks5 -threads -tk -xemacs" 0 kB
Total: 9 packages (9 new), Size of downloads: 0 kB
|
I can't understand which package causes this, as it's not really clear to me the meaning of "nomerge" at the beginning and the reason for the first 4 packages to be listed two times.
Any idea? Thank you.
Last edited by fturco on Wed Jan 09, 2013 12:59 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
John R. Graham Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/1323583785534df64897db0.jpg)
Joined: 08 Mar 2005 Posts: 10589 Location: Somewhere over Atlanta, Georgia
|
Posted: Tue Jan 08, 2013 10:21 pm Post subject: |
|
|
Probably there is a reason. Could you post the output of Code: | grep ruby /var/lib/portage/world | please?
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Cynede Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/5711089155b991626bf229.png)
Joined: 30 Nov 2012 Posts: 56
|
Posted: Wed Jan 09, 2013 6:08 am Post subject: |
|
|
[nomerge] is shown just to show the dependency tree (-t). Maybe you already have got something installed? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jathlon Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 26 Sep 2006 Posts: 89 Location: Canada
|
Posted: Wed Jan 09, 2013 7:58 am Post subject: |
|
|
net-libs/webkit-gtk-1.10.2-r300 started pulling in a bunch of ruby stuff. Motivated me to add -webkit to my /etc/make.conf. Don't see any mention of webkit in the OP post, however.
joe |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fturco Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 08 Dec 2010 Posts: 1181 Location: Italy
|
Posted: Wed Jan 09, 2013 10:55 am Post subject: |
|
|
John R. Graham wrote: | Probably there is a reason. Could you post the output of Code: | grep ruby /var/lib/portage/world | please? |
It returns nothing. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fturco Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 08 Dec 2010 Posts: 1181 Location: Italy
|
Posted: Wed Jan 09, 2013 11:05 am Post subject: |
|
|
jathlon wrote: | net-libs/webkit-gtk-1.10.2-r300 started pulling in a bunch of ruby stuff. Motivated me to add -webkit to my /etc/make.conf. Don't see any mention of webkit in the OP post, however. |
Yes, I have net-libs/webkit-gtk-1.10.2-r300 installed, but in the ebuild it seems it only pulls ruby if python-2 is not installed:
Code: | DEPEND="${RDEPEND}
...
=dev-lang/python-2*
|| ( virtual/rubygems[ruby_targets_ruby19]
virtual/rubygems[ruby_targets_ruby18] )
... |
Of course I have python-2 installed (dev-lang/python-2.7.3-r3 to be precise). |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Veldrin Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/gallery/StarCraft/starcraft_protoss_darktempl.gif)
Joined: 27 Jul 2004 Posts: 1945 Location: Zurich, Switzerland
|
Posted: Wed Jan 09, 2013 11:15 am Post subject: |
|
|
Quote: | Yes, I have net-libs/webkit-gtk-1.10.2-r300 installed, but in the ebuild it seems it only pulls ruby if python-2 is not installed: |
actually webkit needs python2 and either rubygems-1.9 or rubygems-1.8 (which explains the need for ruby).
V _________________ read the portage output!
If my answer is too concise, ask for an explanation. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fturco Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 08 Dec 2010 Posts: 1181 Location: Italy
|
Posted: Wed Jan 09, 2013 12:59 pm Post subject: |
|
|
Oh. You're right. I just read http://devmanual.gentoo.org/general-concepts/dependencies/index.html (section "Any of Many Dependencies") and it's clear that I interpreted the meaning of the || operator in the wrong way. Thank you.
I'm going to keep ruby then, as webkit seems to be needed by GNOME. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|