View previous topic :: View next topic |
Author |
Message |
mikexx n00b
Joined: 24 Aug 2018 Posts: 53
|
Posted: Wed Dec 30, 2020 6:47 pm Post subject: Change ruby targets |
|
|
Hi all,
I am trying to update ruby. I forgot to remove ruby24 from the RUBY_TARGETS in the make.conf. However, due to a conflict I removed it and tried to update the ruby installation:
Code: |
RUBY_TARGETS="ruby25 ruby 27 ruby30"
|
Code: |
emerge --ask --oneshot --update dev-lang/ruby
|
However, the update cannot be executed due to the following conflict:
Code: |
virtual/rubygems:0
(virtual/rubygems-16:0/0::gentoo, ebuild scheduled for merge) USE="" ABI_X86="(64)" RUBY_TARGETS="ruby25 ruby26 ruby27 ruby30" conflicts with
virtual/rubygems[ruby_targets_ruby24] required by (dev-lang/ruby-2.4.10:2.4/2.4::gentoo, installed) USE="ipv6 rdoc ssl -berkdb -debug -doc -examples -gdbm -jemalloc -libressl -rubytests -socks5 -static-libs -tk -xemacs" ABI_X86="(64)"
^^^^^^^^^^^^^^^^^^^
virtual/rubygems[ruby_targets_ruby24] required by (dev-ruby/did_you_mean-1.1.2:2.4/2.4::gentoo, installed) USE="-test" ABI_X86="(64)" RUBY_TARGETS="(ruby24)"
^^^^^^^^^^^^^^^^^^^
|
At the moment I do not know how I can resolve that conflict.
Best regards
mike |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30915 Location: here
|
Posted: Wed Dec 30, 2020 7:15 pm Post subject: |
|
|
When you change a use flag best way is to run emerge --changed-use --deep @world to rebuild packages with changed use flag. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
mikexx n00b
Joined: 24 Aug 2018 Posts: 53
|
Posted: Thu Dec 31, 2020 8:30 pm Post subject: |
|
|
That does not work. The same conflict exists there.
cheers
milke |
|
Back to top |
|
|
Buffoon Veteran
Joined: 17 Jun 2015 Posts: 1369 Location: EU or US
|
Posted: Thu Dec 31, 2020 8:48 pm Post subject: |
|
|
dev-ruby/did_you_mean-1.1.2 is even not in portage any more. You keep an outdated package in your system which depends on an old version of ruby and you wonder how to solve this? I suggest time travel, wind back the clock. |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21633
|
Posted: Thu Dec 31, 2020 9:54 pm Post subject: |
|
|
mikexx, do you need dev-ruby/did_you_mean? Will emerge --ask --verbose --depclean dev-ruby/did_you_mean remove it? You need to either remove or update it to proceed. |
|
Back to top |
|
|
mikexx n00b
Joined: 24 Aug 2018 Posts: 53
|
Posted: Sat Jan 02, 2021 12:56 pm Post subject: |
|
|
Hu wrote: | mikexx, do you need dev-ruby/did_you_mean? Will emerge --ask --verbose --depclean dev-ruby/did_you_mean remove it? You need to either remove or update it to proceed. |
That worked:
Code: | emerge --ask --verbose --depclean dev-ruby/did_you_mean =dev-lang/ruby-2.4.10 |
Thx! |
|
Back to top |
|
|
|