Artix Linux Forum

Artix Linux => Package management => Topic started by: gentermnl on 10 August 2024, 18:04:41

Title: ruby upgrade problems
Post by: gentermnl on 10 August 2024, 18:04:41
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.)
Title: Re: ruby upgrade problems
Post by: Ambie on 10 August 2024, 18:59:13
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.
Title: Re: ruby upgrade problems
Post by: gentermnl on 10 August 2024, 19:22:21
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.
Title: Re: ruby upgrade problems
Post by: Ambie on 10 August 2024, 20:23:52
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.
Title: Re: ruby upgrade problems
Post by: gentermnl on 10 August 2024, 20:56:28
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.
Title: Re: ruby upgrade problems
Post by: corysanin on 10 August 2024, 22:23:55
All have been added. Don't know how those got passed me. Except for ruby-debug, which got memory-holed for seemingly no reason.
Title: Re: ruby upgrade problems
Post by: gentermnl on 10 August 2024, 22:52:34
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?
Title: Re: ruby upgrade problems
Post by: corysanin on 10 August 2024, 23:59:45
Is this still the best place to report such issues?

Yes.
Title: Re: ruby upgrade problems
Post by: protoshop on 11 August 2024, 00:34:20
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 -   - -
Title: Re: ruby upgrade problems
Post by: corysanin on 11 August 2024, 03:02:04
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.
Title: Re: ruby upgrade problems
Post by: gentermnl on 11 August 2024, 05:02:45
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.
Title: Re: ruby upgrade problems
Post by: AntonyZ0 on 11 August 2024, 09:18:49
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?
Title: Re: ruby upgrade problems
Post by: Ambie on 11 August 2024, 09:27:38
Wait until mirrors fully sync.
Title: Re: ruby upgrade problems
Post by: corysanin on 11 August 2024, 10:04:41
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.
Title: Re: ruby upgrade problems
Post by: phoenix_king_rus on 11 August 2024, 10:18:12
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?
Title: Re: ruby upgrade problems
Post by: gentermnl on 11 August 2024, 17:26:57
I did get ruby-debug installed before it got pulled again.  Is there anything I can do to test potential problems, or perhaps prove there aren't any?
Title: Re: ruby upgrade problems
Post by: l3u on 11 August 2024, 19:37:13
ruby-debug-1.7.1-1.2-x86_64.pkg.tar.zst is my problem here … it's not available on most mirrors (404), and the one that is finally fetched from wherever has an invalid signature … still a server sync problem I guess?
Title: Re: ruby upgrade problems
Post by: corysanin on 11 August 2024, 20:14:02
still a server sync problem I guess?

No. Maybe a pesky cleanup script misbehaving. Still investigating. In the meantime you can build the package manually (https://gitea.artixlinux.org/packages/ruby-debug/src/branch/master/PKGBUILD). Sorry, folks.

Title: Re: ruby upgrade problems
Post by: l3u on 11 August 2024, 21:23:07
Thanks for the follow-up!

Building the package manually doesn't work though, it fails here with
Code: [Select]
<internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- test/unit/rr (LoadError)
        from <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
        from /home/tobias/tmp/artix/my_AUR/ruby-debug/src/ruby-debug/test/console/color_test.rb:6:in `<top (required)>'
        from <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
        from <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
        from /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:21:in `block in <main>'
        from /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:6:in `select'
        from /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:6:in `<main>'
rake aborted!
Command failed with status (1)

Tasks: TOP => test_console
(See full trace by running task with --trace)
==> ERROR: A failure occurred in check().
    Aborting...
Title: Re: ruby upgrade problems
Post by: corysanin on 11 August 2024, 21:36:53
You might run into issues if you have out-of-date dependencies. Otherwise makepkg -si works. Maybe --nocheck will take care of it.
Title: Re: ruby upgrade problems
Post by: l3u on 11 August 2024, 21:47:48
--nocheck did the trick. Most probably, my system was too out of date. However, I could now update my system with the self-built package being installed. Thanks a lot again for the help :-)
Title: Re: ruby upgrade problems
Post by: protoshop on 11 August 2024, 22:33:36
Experiencing the same ruby-debug package issue, with that package being unheard of. If it were a real package would it be located at a World or Extra repo ? - i.e., would it be stored @ the Artix or the Arch repo's?

Will this issue self-correct as the Artix / Arch maintainers operate?

Any further advice for newbies, re manually building the required file? Or better to wait until the system self-corrects?

Thanks in advance, thanks all  - - -
Title: Re: ruby upgrade problems
Post by: corysanin on 11 August 2024, 22:49:28
If it were a real package would it be located at a World or Extra repo ? - i.e., would it be stored @ the Artix or the Arch repo's?
ruby-debug is a real package. It's supposed to be in Artix's world repo.
Will this issue self-correct as the Artix / Arch maintainers operate?
We're aware of the issue and hopefully will get it resolved soon. Read the rest of the thread for more info.
Any further advice for newbies, re manually building the required file? Or better to wait until the system self-corrects?
I'll temporarily make ruby-debug an optional dependency so it doesn't block upgrades. If you really need ruby-debug you'll have to build it yourself. makepkg --nocheck -si ought to do it if you absolutely need to.
Title: Re: ruby upgrade problems
Post by: protoshop on 12 August 2024, 00:24:53
"'ll temporarily make ruby-debug an optional dependency so it doesn't block upgrades."

Great idea.

Tried ignoring ruby-debug in /etc/pacman.conf, which didn't work. (It usually does).
Title: Re: ruby upgrade problems
Post by: hyperb0rea on 17 August 2024, 14:44:51
Hello, just wanted to ask if there's any solution in sight.
Still getting 404 errors for "ruby-debug" on all mirrors, stalling updates - rechecked my mirrorlist, did -Syyu but to no avail.

I tried manually building this package with "makepkg --nocheck -si", however then the attempted system update resulted in a bunch of "file already exists" errors, which led me to downgrading again. Probably a stupid move to begin with.

Is it safe to alternatively install this package from Arch repo temporarily?

Thank you.
Title: Re: ruby upgrade problems
Post by: corysanin on 17 August 2024, 20:19:29
Is it safe to alternatively install this package from Arch repo temporarily?

Yes.
Title: Re: ruby upgrade problems
Post by: omnigenous on 25 August 2024, 19:51:35
I had to exclude ruby stuff for weeks now when updating.

https://packages.artixlinux.org/packages/world/x86_64/ruby-debug/ > Download from Mirror > 404

All of my mirrors in /etc/pacman.d/mirrorlist rerturn 404 (mirrors generated 2024-07-24)

-Syyu doesn't help


What are command to safely replace artix ruby-debug with arch package? (they are not same version as well `1.7.1-1` and `1.7.1-1.2` btw)
Title: Re: ruby upgrade problems
Post by: DirtDog on 26 August 2024, 23:32:59
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 -   - -


I had the exact same issue. I did this to fix it:


sudo pacman -S archlinux-keyring
Title: Re: ruby upgrade problems
Post by: omnigenous on 27 August 2024, 03:03:32
@DirtDog, didn't help in my case
Title: Re: ruby upgrade problems
Post by: DirtDog on 27 August 2024, 23:56:03
Dang, it worked for me. It took 15 minutes to upgrade. No more Ruby issues afterwards
Title: Re: ruby upgrade problems
Post by: Flmkane on 04 September 2024, 02:01:26
Hey ya'll. This package is still causing upgrade issues on my system.

ruby-debug just refuses to download.
Title: Re: ruby upgrade problems
Post by: corysanin on 04 September 2024, 02:08:41
Hey ya'll. This package is still causing upgrade issues on my system.

ruby-debug just refuses to download.


Solution is still to either build the package yourself or install from Arch. Or figure out why you need ruby-debug in the first place, as no Artix packages explicitly require it.
Title: Re: ruby upgrade problems
Post by: Flmkane on 05 September 2024, 11:17:59
Hey ya'll. This package is still causing upgrade issues on my system.

ruby-debug just refuses to download.


Solution is still to either build the package yourself or install from Arch. Or figure out why you need ruby-debug in the first place, as no Artix packages explicitly require it.

Thanks for the response.

I do know WHY I need ruby. It's a dependency for asciidoctor, which is a dependency for Freecad.
Title: Re: ruby upgrade problems
Post by: corysanin on 05 September 2024, 17:24:53
The only issue is a missing ruby-debug package, which is only necessary for debugging Ruby. Installing ruby itself and ruby-bundled-gems should, in theory, work.
Title: Re: ruby upgrade problems
Post by: cbp on 05 September 2024, 18:56:33
This is what worked for me:
1. Build and install ruby-debug 1.7.1-1.2 manually as indicated further above.
2. Run pacman -Syu. You get a bunch of lines like these:
Code: [Select]
ruby: /usr/lib/ruby/gems/3.2.0/gems/debug-1.7.1/CONTRIBUTING.md exists in filesystem (owned by ruby-debug)
ruby: /usr/lib/ruby/gems/3.2.0/gems/debug-1.7.1/Gemfile exists in filesystem (owned by ruby-debug)
ruby: /usr/lib/ruby/gems/3.2.0/gems/debug-1.7.1/LICENSE.txt exists in filesystem (owned by ruby-debug)
3. Rename/back up all these files.
4. Run pacman -Syu. The update completes normally.
Title: Re: ruby upgrade problems
Post by: corysanin on 05 September 2024, 21:17:39
Might be premature in saying this 🤞 but going to declare this problem solved until proven otherwise. ruby-debug should be propagated to most mirrors at this time.