Created
June 23, 2020 22:34
-
-
Save ILMostro/6dd12260c030c8def4efe76521a70298 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
emerge -avuDN @world | |
WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict: | |
dev-ruby/xmlrpc:0 | |
(dev-ruby/xmlrpc-0.3.0:0/0::gentoo, ebuild scheduled for merge) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby25 -ruby24 (-ruby26) (-ruby27)" conflicts with | |
>=dev-ruby/xmlrpc-0.2.1[ruby_targets_ruby24] required by (dev-lang/ruby-2.4.10:2.4/2.4::gentoo, installed) USE="berkdb gdbm ipv6 rdoc ssl -debug -doc -examples -jemalloc -libressl -rubytests -socks5 -static-libs -tk -xemacs" ABI_X86="( | |
64)" | |
^^^^^^^^^^^^^^^^^^^ | |
>=dev-ruby/xmlrpc-0.3.0[ruby_targets_ruby26] required by (dev-lang/ruby-2.6.6-r2:2.6/2.6::gentoo, installed) USE="berkdb gdbm ipv6 rdoc ssl -debug -doc -examples -jemalloc -jit -libressl -rubytests -socks5 -static-libs -systemtap -tk - | |
xemacs" ABI_X86="(64)" | |
^^^^^^^^^^^^^^^^^^^ | |
dev-ruby/json:2 | |
(dev-ruby/json-2.3.0:2/2::gentoo, ebuild scheduled for merge) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby25 -ruby24 (-ruby26) (-ruby27)" conflicts with | |
>=dev-ruby/json-2.0.2[ruby_targets_ruby26] required by (dev-lang/ruby-2.6.6-r2:2.6/2.6::gentoo, installed) USE="berkdb gdbm ipv6 rdoc ssl -debug -doc -examples -jemalloc -jit -libressl -rubytests -socks5 -static-libs -systemtap -tk -xe | |
macs" ABI_X86="(64)" | |
^^^^^^^^^^^^^^^^^^^ | |
>=dev-ruby/json-2.0.2[ruby_targets_ruby24] required by (dev-lang/ruby-2.4.10:2.4/2.4::gentoo, installed) USE="berkdb gdbm ipv6 rdoc ssl -debug -doc -examples -jemalloc -libressl -rubytests -socks5 -static-libs -tk -xemacs" ABI_X86="(64 | |
)" | |
^^^^^^^^^^^^^^^^^^^ | |
dev-ruby/kpeg:1 | |
(dev-ruby/kpeg-1.1.0-r1:1/1::gentoo, ebuild scheduled for merge) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby25 -ruby24 (-ruby26) (-ruby27)" conflicts with | |
>=dev-ruby/kpeg-1.1.0-r1[ruby_targets_ruby26(-)] required by (dev-ruby/rdoc-6.2.0:0/0::gentoo, installed) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="(ruby24) ruby25 ruby26 -ruby27" | |
>=dev-ruby/kpeg-1.1.0-r1[ruby_targets_ruby24(-)] required by (dev-ruby/rdoc-6.2.0:0/0::gentoo, installed) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="(ruby24) ruby25 ruby26 -ruby27" | |
!!! The following installed packages are masked: | |
- dev-ruby/did_you_mean-1.1.2::gentoo (masked by: package.mask) | |
/usr/portage/profiles/package.mask: | |
# Hans de Graaff <graaff@gentoo.org> (2020-06-14) | |
# Ruby 2.4 is no longer supported by upstream and no longer gets | |
# security updates since the 2.4.10 release. Use ruby 2.5 or later | |
# instead. | |
- dev-lang/ruby-2.4.10::gentoo (masked by: package.mask) | |
For more information, see the MASKED PACKAGES section in the emerge | |
man page or refer to the Gentoo Handbook. | |
The removed entries from /var/lib/portage/world
, which will be replaced for the time being:
-dev-ruby/abstract
-dev-ruby/asciidoctor
-dev-ruby/asciidoctor-diagram
-dev-ruby/chruby
-dev-ruby/hashicorp-checkpoint
-dev-ruby/nokogiri
-dev-ruby/pkg-config
-dev-ruby/rails
-dev-ruby/rb-inotify
-dev-ruby/rexical
-dev-ruby/ruby-install
-dev-ruby/ruby_dep
-dev-ruby/trollop
-dev-ruby/unf
The removed entries from
/var/lib/portage/world
, which will be replaced for the time being:-dev-ruby/chruby -dev-ruby/ruby-install
^^ These are no longer installed.
Resolution
emerge -Cav dev-lang/ruby:2.4 && emerge -avuDN @world
This is the current state of the ruby upgrades on gentoo. There may be changes to this going forward; but for now, making sure to explicitly --unmerge
the old version is the way to go.
A snippet from #gentoo-ruby on freenode 20200623:
01:28:27 @graaff | All installed packages still have the ruby_targets_ruby24 use flag so that tries to pull in ruby 2.4, and as long as you have 2.4 installed it will also require that use
| flag on a number of packages
01:28:42 @graaff | Would be nice to have completely seamless updates but I'm not sure it can be done.
01:29:21 @graaff | We also want to allow people to unmask ruby 2.4 while it is only masked should they need that, otherwise we could make the ruby24 support a no-op altogether.
01:30:00 @graaff | Perhaps a more structural solution could be found if we did not do this with USE flags
01:31:08 veremitz | yeah however its done it's gonna be a hack
01:36:44 ilmostro | makes sense; thank you for the explanation
01:37:41 ilmostro | The case could be made, though, if it's masked, that it should no longer be supported. Although, then I suspect you have to allow for an older "unstable" version of
| ruby.
01:37:54 ilmostro | But, given that there are no more security updates upstream...
01:38:11 ilmostro | anyway; this seems to have resolved the issue. Thanks again
01:39:31 ilmostro | maybe a news item about impending drop of support for a version before masking it and entirely removing support would be smoother. But, that's just my own assessment,
| as a regular user
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The contents of
/etc/portage/package.accept_keywords/ruby
: