View previous topic :: View next topic |
Author |
Message |
Jack Krauser Apprentice

Joined: 19 Jan 2011 Posts: 211
|
Posted: Sat Apr 13, 2019 3:44 am Post subject: [SOLVED]Problemas con ruby/json en actualización |
|
|
Hola a tod@s.
El día de hoy actualicé el árbol de portage y al momento de actualizar el sistema me topé con ésto que no puedo solucionar:
Code: | # emerge -avuND @world
* IMPORTANT: config file '/etc/portage/package.use/paraInstalarXorg' needs updating.
* See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
* sections of the emerge man page to learn how to update config files.
These are the packages that would be merged, in order:
Calculating dependencies... done!
!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:
dev-lang/rust:stable
(dev-lang/rust-1.34.0-r1:stable/1.34::gentoo, ebuild scheduled for merge) pulled in by
=dev-lang/rust-1.34.0* required by (virtual/rust-1.34.0:0/0::gentoo, ebuild scheduled for merge)
^ ^^^^^^^
(dev-lang/rust-1.33.0:stable/1.33::gentoo, installed) pulled in by
=dev-lang/rust-1.33.0* required by (virtual/cargo-1.33.0:0/0::gentoo, installed)
^ ^^^^^^^
It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously. If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously.
For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.
emerge: there are no ebuilds to satisfy ">=dev-ruby/json-1.8.3[ruby_targets_ruby23]".
(dependency required by "dev-lang/ruby-2.3.8-r1::gentoo" [ebuild])
(dependency required by "dev-ruby/rubygems-2.7.7-r1::gentoo" [installed])
(dependency required by "virtual/rubygems-14::gentoo[ruby_targets_ruby24]" [ebuild])
(dependency required by "dev-ruby/racc-1.4.14::gentoo" [installed])
(dependency required by "dev-ruby/rdoc-6.0.4::gentoo[ruby_targets_ruby24]" [ebuild])
(dependency required by "dev-lang/ruby-2.4.5::gentoo[rdoc]" [installed])
(dependency required by "dev-ruby/minitest-5.11.3::gentoo[ruby_targets_ruby24]" [ebuild])
(dependency required by "dev-lang/ruby-2.5.5::gentoo" [installed])
(dependency required by "dev-ruby/net-telnet-0.2.0::gentoo[ruby_targets_ruby25]" [ebuild]) |
En "make.conf" tengo
Code: | RUBY_TARGETS="ruby24 ruby25" |
Y en "eselect ruby list" tengo
Code: | Available Ruby profiles:
[1] ruby24 (with Rubygems)
[2] ruby25 (with Rubygems) * |
No sé a qué se deberá el problema. Espero me puedan ayudar
Muchas gracias
Last edited by Jack Krauser on Mon Apr 15, 2019 1:52 pm; edited 1 time in total |
|
Back to top |
|
 |
quilosaq Veteran

Joined: 22 Dec 2009 Posts: 1562
|
Posted: Sat Apr 13, 2019 4:21 pm Post subject: Re: Problemas con ruby/json en actualización |
|
|
Jack Krauser wrote: |
(dev-lang/rust-1.33.0:stable/1.33::gentoo, installed) pulled in by
=dev-lang/rust-1.33.0* required by (virtual/cargo-1.33.0:0/0::gentoo, installed)
^ ^^^^^^^
| Es posible que tengas limitada la actualización de virtual/cargo en tus archivos de configuración.
Que dice Code: | grep -R virtual/cargo /etc/portage | ? |
|
Back to top |
|
 |
Jack Krauser Apprentice

Joined: 19 Jan 2011 Posts: 211
|
Posted: Sat Apr 13, 2019 6:56 pm Post subject: Re: Problemas con ruby/json en actualización |
|
|
quilosaq wrote: | Jack Krauser wrote: |
(dev-lang/rust-1.33.0:stable/1.33::gentoo, installed) pulled in by
=dev-lang/rust-1.33.0* required by (virtual/cargo-1.33.0:0/0::gentoo, installed)
^ ^^^^^^^
| Es posible que tengas limitada la actualización de virtual/cargo en tus archivos de configuración.
Que dice Code: | grep -R virtual/cargo /etc/portage | ? |
Muchas gracias por tu respuesta quilosaq.
Esta es lo que me dice el comando "grep":
Code: | # grep -R virtual/cargo /etc/portage
/etc/portage/package.accept_keywords/update12:=virtual/cargo-1.29.1 ~amd64
/etc/portage/package.accept_keywords/update15:=virtual/cargo-1.32.0 ~amd64
/etc/portage/package.accept_keywords/update21:=virtual/cargo-1.33.0 ~amd64 |
|
|
Back to top |
|
 |
quilosaq Veteran

Joined: 22 Dec 2009 Posts: 1562
|
Posted: Sat Apr 13, 2019 7:25 pm Post subject: |
|
|
Tienes que añadir a alguno de los archivos en /etc/portage/package.accept_keywords/
Code: | =virtual/cargo-1.34.0 ~amd64 |
O si prefieres no volver a tener este problema en otra actualización pon simplemente:
Code: | virtual/cargo ~amd64 |
|
|
Back to top |
|
 |
Jack Krauser Apprentice

Joined: 19 Jan 2011 Posts: 211
|
Posted: Sat Apr 13, 2019 10:24 pm Post subject: |
|
|
quilosaq wrote: | Tienes que añadir a alguno de los archivos en /etc/portage/package.accept_keywords/
Code: | =virtual/cargo-1.34.0 ~amd64 |
O si prefieres no volver a tener este problema en otra actualización pon simplemente:
Code: | virtual/cargo ~amd64 |
|
Haciendo lo que me sugieres no tengo el primer problema pero aún mantengo el segundo problema:
Code: | # emerge -avuND @world
These are the packages that would be merged, in order:
Calculating dependencies... done!
emerge: there are no ebuilds to satisfy ">=dev-ruby/json-1.8.3[ruby_targets_ruby23]".
(dependency required by "dev-lang/ruby-2.3.8-r1::gentoo" [ebuild])
(dependency required by "dev-ruby/rubygems-2.7.7-r1::gentoo" [installed])
(dependency required by "virtual/rubygems-14::gentoo[ruby_targets_ruby25]" [ebuild])
(dependency required by "dev-ruby/json-2.2.0::gentoo[ruby_targets_ruby25,-test]" [installed])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument]) |
El problema es que el paquete "json" se quiere instalar con la dependencia de ruby23 la cual ya no uso y mucho menos la tengo declarada en mis archivos de configuración :/ |
|
Back to top |
|
 |
quilosaq Veteran

Joined: 22 Dec 2009 Posts: 1562
|
Posted: Sat Apr 13, 2019 10:43 pm Post subject: |
|
|
¿Qué pasa si añades a rubygems a la actualización?
Code: | (root)# emerge -avuND @world dev-ruby/rubygems |
|
|
Back to top |
|
 |
Jack Krauser Apprentice

Joined: 19 Jan 2011 Posts: 211
|
Posted: Sat Apr 13, 2019 11:28 pm Post subject: |
|
|
quilosaq wrote: | ¿Qué pasa si añades a rubygems a la actualización?
Code: | (root)# emerge -avuND @world dev-ruby/rubygems |
|
Al hacerlo me pide añada la "USE" a rubygems pero el otro error sigue apareciendo:
Code: | # emerge -avuND @world dev-ruby/rubygems
These are the packages that would be merged, in order:
Calculating dependencies... done!
!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:
dev-ruby/rubygems:0
(dev-ruby/rubygems-2.7.9:0/0::gentoo, ebuild scheduled for merge) pulled in by
dev-ruby/rubygems (Argument)
(dev-ruby/rubygems-2.7.7-r1:0/0::gentoo, installed) pulled in by
>=dev-ruby/rubygems-2.7.3[ruby_targets_ruby25] required by (virtual/rubygems-14:0/0::gentoo, ebuild scheduled for merge)
^^^^^^^^^^^^^^^^^^^
It might be possible to solve this slot collision
by applying all of the following changes:
- dev-ruby/rubygems-2.7.9 (Change USE: +ruby_targets_ruby25)
emerge: there are no ebuilds to satisfy ">=dev-ruby/json-1.8.3[ruby_targets_ruby23]".
(dependency required by "dev-lang/ruby-2.3.8-r1::gentoo" [ebuild])
(dependency required by "dev-ruby/rubygems-2.7.7-r1::gentoo" [installed])
(dependency required by "virtual/rubygems-14::gentoo[ruby_targets_ruby24]" [ebuild])
(dependency required by "dev-ruby/json-2.2.0::gentoo[ruby_targets_ruby25,-test]" [installed])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument]) |
No sé porqué ese bendito "json" pide a ruby23 cuando ya no lo tengo instalado siquiera  |
|
Back to top |
|
 |
quilosaq Veteran

Joined: 22 Dec 2009 Posts: 1562
|
Posted: Sun Apr 14, 2019 1:48 am Post subject: |
|
|
Desinstala dev-ruby/rubygems-2.7.7-r1 y prueba de nuevo. |
|
Back to top |
|
 |
Jack Krauser Apprentice

Joined: 19 Jan 2011 Posts: 211
|
Posted: Sun Apr 14, 2019 5:59 am Post subject: |
|
|
quilosaq wrote: | Desinstala dev-ruby/rubygems-2.7.7-r1 y prueba de nuevo. |
Wooooow amigo. Eso solucionó mi problema. Al fin se pudo avanzar con la actualización de mi sistema. Muchísisisisimas gracias
Aprovecho la oportunidad para preguntar sobre las letras que aparecen al lado de la palabra "ebuild" cuando el sistema se actualiza, por ejemplo:
Code: | These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild U ] media-libs/jbig2dec-0.14::gentoo [0.13-r4::gentoo] USE="png -static-libs -test" 453 KiB
[ebuild N ~] dev-ruby/rubygems-3.0.3::gentoo USE="-server -test" RUBY_TARGETS="ruby24 ruby25 (-ruby23) -ruby26" 883 KiB
[ebuild N ] virtual/rubygems-14::gentoo RUBY_TARGETS="ruby24 ruby25 (-rbx)" 0 KiB |
Por obvias razones "U" de "update". "N" de nuevo paquete. "R" de reinstalar por cambio de uses. Lo que me he encontrado con ésta actualización es la letra "D" que no sé lo que significa |
|
Back to top |
|
 |
quilosaq Veteran

Joined: 22 Dec 2009 Posts: 1562
|
|
Back to top |
|
 |
Jack Krauser Apprentice

Joined: 19 Jan 2011 Posts: 211
|
Posted: Mon Apr 15, 2019 1:51 pm Post subject: |
|
|
Muchas gracias quilosaq. Muy buena información y una vez más: Gracias por tu ayuda  |
|
Back to top |
|
 |
|