You are not logged in.

#1 2024-08-24 00:43:27

Strangiato
Member
Registered: 2020-01-10
Posts: 395

ruby-debug packages from two repositories

Hello

The package ruby-debug 1.7.1-1 is installed on my system:

$ pacman -Qi ruby-debug
Name            : ruby-debug
Version         : 1.7.1-1
Description     : Debugging functionality for Ruby
Architecture    : x86_64
URL             : https://github.com/ruby/debug
Licenses        : BSD-2-Clause
Groups          : None
Provides        : None
Depends On      : ruby  ruby-irb  ruby-reline
Optional Deps   : None
Required By     : ruby-bundled-gems
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 592,33 KiB
Packager        : Andreas Schleifer <segaja@archlinux.org>
Build Date      : dom 02 jun 2024 13:02:27
Install Date    : sex 16 ago 2024 08:39:21
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

When I run "pacman -Syu", no update is found for this package.
However, both Discover app store of KDE Plasma and "pkcon update" command find a "update":

$ pkcon update
Getting updates                         [=========================]         
Finished                                [=========================]         
Downloading list of packages            [=========================]         
Testing changes                         [=========================]         
Finished                                [                         ] (0%)  
The following packages have to be updated:
 ruby-debug-3.2.4-1.x86_64      Detached debugging symbols for ruby
Proceed with changes? [N/y] 

The "update" comes from some of these debug repos enabled on my system:

[core-debug]

[extra-debug]

[multilib-debug]

Is this a packing bug?
How to make Discover to ignore the "update"?
I don't want to uninstall ruby-debug (pacman wants to remove other packages together) nor install the "update", because it is the debug package of ruby 3.2.4-1 also installed on my system and it replaces the currently installed ruby-debug 1.7.1-1. I also don't want to disable the debug repos.

Thanks.

Offline

#2 2024-08-24 09:54:35

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,926

Re: ruby-debug packages from two repositories

Description     : Debugging functionality for Ruby

 ruby-debug-3.2.4-1.x86_64      Detached debugging symbols for ruby

I doubt the update found by discover / packagekit is an archlinux package .

Please post the output of printenv DEBUGINFOD_URLS .


Added:
Also check the colored box at https://wiki.archlinux.org/title/Pacman … #Graphical .

Last edited by Lone_Wolf (2024-08-24 09:56:55)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2024-08-24 11:29:08

Strangiato
Member
Registered: 2020-01-10
Posts: 395

Re: ruby-debug packages from two repositories

$ printenv DEBUGINFOD_URLS
https://debuginfod.archlinux.org

Offline

#4 2024-08-24 13:04:49

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,926

Re: ruby-debug packages from two repositories

that's the normal location .

Looked at things and it seems there are currently 2 ruby packages in extra : ruby (3.2.4) & ruby2.7 .
Both have their own debug packages in extra-debug .

The extra/ruby-debug has only 3 commits and the source url it uses points to a ruby gem that follows a different version scheme then ruby itself.

I never used ruby, but it does look like extra/ruby-debug and extra-debug/ruby-debug are two different packages that should not share the same pkgname .
If that's correct, renaming extra/ruby-debug seems the proper solution to solve this conflict .

Please create an issue at https://gitlab.archlinux.org/archlinux/ … g/-/issues .

Added:
please change the thread title to something like :
Why are there 2 ruby-debug packages ?

Last edited by Lone_Wolf (2024-08-24 13:09:44)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#5 2024-08-30 18:40:56

loqs
Member
Registered: 2014-03-06
Posts: 18,034

Re: ruby-debug packages from two repositories

Offline

#6 2024-08-30 18:43:42

Strangiato
Member
Registered: 2020-01-10
Posts: 395

Re: ruby-debug packages from two repositories

Thank you very much for your bug report, loqs.

Offline

Board footer

Powered by FluxBB