Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: ruby upgrade problems (Read 2531 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

ruby upgrade problems

My upgrades today failed on several ruby related packages.   At the moment, it can't install ruby-stdlib because it can't install ruby-bundled-gems because of several packages which don't seem to exist, including ruby-debug, ruby-matrix, ruby-net-ftp, ruby-net-imap and several others.  Is this just a case of needing to wait  for a bunch of new packages to get uploaded  and make their way out to all the mirrors, might I have a configuration problem, or might there be a real problem with one or more of the new ruby packages?  (I haven't had any upgrade problems in quite a while now, and I have this problem on two different PCs.)

Re: ruby upgrade problems

Reply #1
Is this just a case of needing to wait  for a bunch of new packages to get uploaded  and make their way out to all the mirrors
Most likely yes. If you post actual error messages that may become clearer.

Re: ruby upgrade problems

Reply #2
Quote
Sync Dependency (1): ruby-stdlib-3.2.4-1.1
:: Synchronizing package databases...
 system is up to date
 world is up to date
 galaxy is up to date
 omniverse is up to date
 lib32 is up to date
:: Starting full system upgrade...
warning: lz4: local (1:1.10.0-1) is newer than system (1:1.9.4-3)
resolving dependencies...
warning: cannot resolve "ruby-debug", a dependency of "ruby-bundled-gems"
warning: cannot resolve "ruby-matrix", a dependency of "ruby-bundled-gems"
warning: cannot resolve "ruby-net-ftp", a dependency of "ruby-bundled-gems"
warning: cannot resolve "ruby-net-imap", a dependency of "ruby-bundled-gems"
warning: cannot resolve "ruby-net-pop", a dependency of "ruby-bundled-gems"
warning: cannot resolve "ruby-net-smtp", a dependency of "ruby-bundled-gems"
warning: cannot resolve "ruby-prime", a dependency of "ruby-bundled-gems"
warning: cannot resolve "ruby-rbs", a dependency of "ruby-bundled-gems"
warning: cannot resolve "ruby-rss", a dependency of "ruby-bundled-gems"
warning: cannot resolve "ruby-bundled-gems", a dependency of "ruby-stdlib"
:: The following package cannot be upgraded due to unresolvable dependencies:
      ruby-stdlib
(lz4 is from a local PKGBUILD to try the newest version.  I have seen no other problems from it.)
Any of those deps I have checked for don't seem to exist.

Re: ruby upgrade problems

Reply #3
All that "not resolved" packages are not exist in artix' repos, I don't know why. You can add arch's extra repo where they are exist. Sorry, maybe some developer see this thread and help you more.

Re: ruby upgrade problems

Reply #4
It took me a long time to get rid of using the Arch repos, so I really don't want to add them back for a temporary issue.  Fortunately, I don't actually use Ruby very much, so I can wait.

Re: ruby upgrade problems

Reply #5
All have been added. Don't know how those got passed me. Except for ruby-debug, which got memory-holed for seemingly no reason.

Re: ruby upgrade problems

Reply #6
Thanks.  I had to play with mirror to get one that already got the updates, but all is now good.
Is this still the best place to report such issues?


Re: ruby upgrade problems

Reply #8
I had similar ruby upgrade issues today. Here's the pacman -Syu print out ;

Code: [Select]
# pacman -Syu
:: Synchronizing package databases...
 system is up to date
 world                   4.8 MiB   798 KiB/s 00:06 [######################] 100%
 galaxy is up to date
 lib32 is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 universe is up to date
:: Starting full system upgrade...
warning: gnome-desktop: local (1:44.0-1.1) is newer than world (1:44.0-1)
warning: gnome-desktop-common: local (1:44.0-1.1) is newer than world (1:44.0-1)
warning: rsync-openrc: local (20210505-2) is newer than world (20210502-1)
:: Replace ruby-abbrev with world/ruby? [Y/n] n
:: Replace ruby-abbrev with extra/ruby? [Y/n] n
:: Replace ruby-base64 with world/ruby? [Y/n] n
:: Replace ruby-base64 with extra/ruby? [Y/n] n
:: Replace ruby-benchmark with world/ruby? [Y/n] n
:: Replace ruby-benchmark with extra/ruby? [Y/n] n
:: Replace ruby-bigdecimal with world/ruby? [Y/n] n
:: Replace ruby-bigdecimal with extra/ruby? [Y/n] n
:: Replace ruby-bundledgems with world/ruby-bundled-gems? [Y/n] n
:: Replace ruby-cgi with world/ruby? [Y/n] n
:: Replace ruby-cgi with extra/ruby? [Y/n] n
:: Replace ruby-csv with world/ruby? [Y/n] n
:: Replace ruby-csv with extra/ruby? [Y/n] n
:: Replace ruby-date with world/ruby? [Y/n] n
:: Replace ruby-date with extra/ruby? [Y/n] n
:: Replace ruby-delegate with world/ruby? [Y/n] n
:: Replace ruby-delegate with extra/ruby? [Y/n] n
:: Replace ruby-did_you_mean with world/ruby? [Y/n] n
:: Replace ruby-did_you_mean with extra/ruby? [Y/n] n
:: Replace ruby-digest with world/ruby? [Y/n] n
:: Replace ruby-digest with extra/ruby? [Y/n] n
:: Replace ruby-drb with world/ruby? [Y/n] n
:: Replace ruby-drb with extra/ruby? [Y/n] n
:: Replace ruby-english with world/ruby? [Y/n] n
:: Replace ruby-english with extra/ruby? [Y/n] n
:: Replace ruby-etc with world/ruby? [Y/n] n
:: Replace ruby-etc with extra/ruby? [Y/n] n
:: Replace ruby-fcntl with world/ruby? [Y/n] n
:: Replace ruby-fcntl with extra/ruby? [Y/n] n
:: Replace ruby-fiddle with world/ruby? [Y/n] n
:: Replace ruby-fiddle with extra/ruby? [Y/n] n
:: Replace ruby-fileutils with world/ruby? [Y/n] n
:: Replace ruby-fileutils with extra/ruby? [Y/n] n
:: Replace ruby-find with world/ruby? [Y/n] n
:: Replace ruby-find with extra/ruby? [Y/n] n
:: Replace ruby-forwardable with world/ruby? [Y/n] n
:: Replace ruby-forwardable with extra/ruby? [Y/n] nn
:: Replace ruby-getoptlong with world/ruby? [Y/n] n
:: Replace ruby-getoptlong with extra/ruby? [Y/n] n
:: Replace ruby-io-console with world/ruby? [Y/n] n
:: Replace ruby-io-console with extra/ruby? [Y/n] n
:: Replace ruby-io-nonblock with world/ruby? [Y/n] n
:: Replace ruby-io-nonblock with extra/ruby? [Y/n] n
:: Replace ruby-io-wait with world/ruby? [Y/n] n
:: Replace ruby-io-wait with extra/ruby? [Y/n] n
:: Replace ruby-ipaddr with world/ruby? [Y/n] n
:: Replace ruby-ipaddr with extra/ruby? [Y/n] n
:: Replace ruby-json with world/ruby? [Y/n] n
:: Replace ruby-json with extra/ruby? [Y/n] n
:: Replace ruby-logger with world/ruby? [Y/n] n
:: Replace ruby-logger with extra/ruby? [Y/n] n
:: Replace ruby-mutex_m with world/ruby? [Y/n] n
:: Replace ruby-mutex_m with extra/ruby? [Y/n] n
:: Replace ruby-net-http with world/ruby? [Y/n] n
:: Replace ruby-net-http with extra/ruby? [Y/n] n
:: Replace ruby-open-uri with world/ruby? [Y/n] n
:: Replace ruby-open-uri with extra/ruby? [Y/n] n
:: Replace ruby-psych with world/ruby? [Y/n] n
:: Replace ruby-psych with extra/ruby? [Y/n] n
:: Replace ruby-reline with world/ruby? [Y/n] n
:: Replace ruby-reline with extra/ruby? [Y/n] n
:: Replace ruby-ruby2_keywords with world/ruby? [Y/n] n
:: Replace ruby-ruby2_keywords with extra/ruby? [Y/n] n
:: Replace ruby-stringio with world/ruby? [Y/n] n
:: Replace ruby-stringio with extra/ruby? [Y/n] n
:: Replace ruby-time with world/ruby? [Y/n] n
:: Replace ruby-time with extra/ruby? [Y/n] n
:: Replace ruby-tmpdir with world/ruby? [Y/n] n
:: Replace ruby-tmpdir with extra/ruby? [Y/n] n
:: Replace ruby-uri with world/ruby? [Y/n] n
:: Replace ruby-uri with extra/ruby? [Y/n] n
resolving dependencies...
looking for conflicting packages...
:: ruby-3.2.4-1.1 and ruby-abbrev-0.1.0-5 are in conflict. Remove ruby-abbrev? [y/N] n
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: ruby-3.2.4-1.1 and ruby-abbrev-0.1.0-5 are in conflict

Answering "yes"  to the yes or no questions soon found further conflicts, too.

Then I considered removing Ruby as I don't use it. However "ruby" appears in many program titles. "Pacman -Rs"  requires exact knowledge of Ruby and it's derivatives. So this approach fell short too.

Am wondering what is the pacman command to uninstall any program with a "ruby" in the title ?
*
Or should I wait a few days while the repos catch up with their ruby versioning?
*
Or should I answer yes to each of these type of pacman requests ?;
"
:: ruby-3.2.4-1.1 and ruby-abbrev-0.1.0-5 are in conflict. Remove ruby-abbrev? [y/N] n
"
*
Thanks in advance -   - -

Re: ruby upgrade problems

Reply #9
Does not look like the same issue at all. The ruby package provides all these now.

Or should I answer yes to each of these type of pacman requests ?;

Yes. And if you run into warning: cannot resolve ____ then you can share that here.

Re: ruby upgrade problems

Reply #10
I don't think all the new ruby packages have yet been completely distributed to all the mirrors.  I was only able to complete the upgrade of my systems by playing with my mirrorlist to move to the top mirrors that are apparently sooner to get updated.

Re: ruby upgrade problems

Reply #11
Hello, similar problem here. The whole upgrade is stuck at ruby-debug.

I am taking 404 error in all mirrors. The system cannot download ruby-debug

Code: [Select]
error: failed to download file 'ruby-debug-1.7.1-1.2-x86_64.pkg.tar.zst' from mirror.aarnet.edu.au : The requested URL returned error: 404
The same message appears to all other mirrors.
How can i proceed?


Re: ruby upgrade problems

Reply #13
Except for ruby-debug, which got memory-holed for seemingly no reason.

It got memory-holed again. No sense in re-building it if it's just going to vanish. I'll ask the team if they know why this package is cursed.

Re: ruby upgrade problems

Reply #14
Except for ruby-debug, which got memory-holed for seemingly no reason.

It got memory-holed again. No sense in re-building it if it's just going to vanish. I'll ask the team if they know why this package is cursed.
Could it interfere with debug symbols package for ruby itself?
ARMtix