You are not logged in.

#1 2023-03-09 06:28:30

gary8588
Member
Registered: 2022-08-09
Posts: 29

clap-host: which provider to choose?

Hello everyone,

I just tried to update however I am presented with a prompt to choose between 2 provider of package clap-host:

$ sudo pacman -Syu
[sudo] password for : 
:: Synchronizing package databases...
 core                                                       156.1 KiB   691 KiB/s 00:00 [###################################################] 100%
 extra                                                     1745.4 KiB  3.34 MiB/s 00:01 [###################################################] 100%
 community                                                    7.3 MiB  3.94 MiB/s 00:02 [###################################################] 100%
:: Starting full system upgrade...
resolving dependencies...
:: There are 2 providers available for clap-host:
:: Repository community
   1) qtractor  2) reaper

Enter a number (default=1):

I tried to lookup what clap-host actually is and it seems to be connected to audio: https://github.com/free-audio/clap-host

Not sure which provider to take. Can somebody help me choose?

Thanks

Last edited by gary8588 (2023-03-09 06:28:46)

Offline

#2 2023-03-09 06:42:32

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: clap-host: which provider to choose?

pacman is suggesting the default for you.

You could always -Qi to see what pulled it in originally.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2023-03-09 07:02:25

gary8588
Member
Registered: 2022-08-09
Posts: 29

Re: clap-host: which provider to choose?

Alright interestingly this seems to be a new package!?

$ pacman -Qi clap-host
error: package 'clap-host' was not found

Offline

#4 2023-03-09 08:08:11

Lithium Sulfate
Member
Registered: 2020-07-01
Posts: 28

Re: clap-host: which provider to choose?

clap-host is a virtual package.

$ pacman -Ss clap-host
community/qtractor 0.9.31-1 (pro-audio)
    Audio/MIDI multitrack sequencer
community/reaper 6.77-1 (pro-audio)
    A complete digital audio production application for computers

You likely had lsp-plugins installed which has been turned into a split/metapackage, with the consequence of it now pulling in all of its split packages as dependencies, including lsp-plugins-clap, which depends on a package providing clap-host (listed by pacman above).

If you don't need lsp-plugins-clap (or any of the other new split packages) you could first uninstall lsp-plugins and then install whichever of the split packages you actually need.

Offline

#5 2023-03-09 08:24:58

gary8588
Member
Registered: 2022-08-09
Posts: 29

Re: clap-host: which provider to choose?

Thank you. I guess I need it. Further investigation of lsp-plugin revealed that it is used by easyeffects for the equalizer part.

So I have chosen the default pacman suggested for me for the virtual package clap-host (qtractor)

Offline

#6 2023-03-09 08:44:45

Lithium Sulfate
Member
Registered: 2020-07-01
Posts: 28

Re: clap-host: which provider to choose?

gary8588 wrote:

Further investigation of lsp-plugin revealed that it is used by easyeffects for the equalizer part.

From what I can tell after quick testing, the equalizer functionality is supplied by lsp-plugins-lv2. I guess the easyeffects depends haven't been updated yet to respect the new split package situation.

EDIT: The optdepends is indeed changed to lsp-plugins-lv2 in the upcoming version of easyeffects

Last edited by Lithium Sulfate (2023-03-09 08:48:05)

Offline

#7 2023-03-09 08:56:45

gary8588
Member
Registered: 2022-08-09
Posts: 29

Re: clap-host: which provider to choose?

Alright thanks. So once this has been changed for easyeffects I can just remove those orphaned dependencies via

$ pacman -Qtdq | pacman -Rns -

correct?

General speaking, is it okay or harmful to run this command to remove orphaned dependencies  regularly?

It seems on my system there are many orphaned packages. Some of them are optionally required.
To me this seems contradicting: How can a package/dependency be orphaned if optionally required AND has been pulled in by a installed package? By definition this is not orphaned anymore.

Is there a way for pacman to only remove orphaned packages that or NOT optionally required?

Last edited by gary8588 (2023-03-09 09:27:43)

Offline

#8 2023-03-09 14:08:32

Lithium Sulfate
Member
Registered: 2020-07-01
Posts: 28

Re: clap-host: which provider to choose?

gary8588 wrote:

General speaking, is it okay or harmful to run this command to remove orphaned dependencies  regularly?

It is generally safe to run this command regularly but pacman -Rs does not respect packages that are still optionally required, even though pacman -Qtd does (-Qttd also includes "optional orphans"), so be mindful of the command's output before confirming.

I don't think there's currently an easy way to recursively remove only the "pure orphans" using pacman -Rs.

To me this seems contradicting: How can a package/dependency be orphaned if optionally required AND has been pulled in by a installed package? By definition this is not orphaned anymore.

I guess this contradiction is explained through the different definitions of "orphaned", depending on whether you ask pacman -Rs or pacman -Qtd.

Offline

Board footer

Powered by FluxBB