Bugzilla – Bug 1220821
Cannot install musescore in 15.6 alpha
Last modified: 2024-05-02 20:25:24 UTC
Problem: the to be installed musescore-4.2.1-bp156.1.1.x86_64 requires '(alsa-plugins-pulse if pulseaudio)', but this requirement cannot be provided not installable providers: alsa-plugins-pulse-1.2.7.1-150500.1.1.x86_64[os-repo-oss] VM3:~ # zypper in musescore Loading repository data... Warning: Repository 'Update repository of openSUSE Backports' metadata expired since 2023-09-29 04:08:32 CDT. Warning: Repository 'Update Repository (Non-Oss)' metadata expired since 2023-09-21 07:47:58 CDT. Warning: Repository 'Update repository of openSUSE Backports' metadata expired since 2023-09-29 04:08:32 CDT. Warning: Repository metadata expired: Check if 'autorefresh' is turned on (zypper lr), otherwise manually refresh the repository (zypper ref). If this does not solve the issue, it could be that you are using a broken mirror or the server has actually discontinued to support the repository. Reading installed packages... Resolving package dependencies... Problem: the to be installed musescore-4.2.1-bp156.1.1.x86_64 requires '(alsa-plugins-pulse if pulseaudio)', but this requirement cannot be provided not installable providers: alsa-plugins-pulse-1.2.7.1-150500.1.1.x86_64[os-repo-oss] Solution 1: Following actions will be done: deinstallation of pulseaudio-17.0-150600.1.1.x86_64 deinstallation of pulseaudio-lang-17.0-150600.1.1.noarch deinstallation of pulseaudio-module-bluetooth-17.0-150600.1.1.x86_64 deinstallation of pulseaudio-module-lirc-17.0-150600.1.1.x86_64 deinstallation of pulseaudio-module-zeroconf-17.0-150600.1.1.x86_64 Solution 2: Following actions will be done: deinstallation of pipewire-alsa-1.0.3-150600.1.1.x86_64 deinstallation of pipewire-1.0.3-150600.1.1.x86_64 deinstallation of pipewire-lang-1.0.3-150600.1.1.noarch deinstallation of wireplumber-0.4.17-150600.1.1.x86_64 deinstallation of wireplumber-lang-0.4.17-150600.1.1.noarch deinstallation of wireplumber-zsh-completion-0.4.17-150600.1.1.x86_64 Solution 3: do not install musescore-4.2.1-bp156.1.1.x86_64 Solution 4: break musescore-4.2.1-bp156.1.1.x86_64 by ignoring some of its dependencies Choose from above solutions by number or cancel [1/2/3/4/c/d/?] (c): VM3:~ #
What happens when you choose solution 1 or 2? This seems to me a conflict between pipewire and pulseaudio. One needs to be chosen. Solution 1 gives you pipewire as default and 2 pulseaudio. I add the Leap maintainer here in the CC, because this seems a configuration issue in Leap.
If you choose either 1 or 2 you loose sound on reboot. It was working until last week when it complained and I was force to uninstall it as choice 3 and 4 were ignored by zypper. (uninstall or install but ignore requirements)
zypper dup would not complete I had to zypper rm musescore then zypper dup to continue.
Some background. This is related to the following two lines in the spec: Requires: ( alsa-plugins-pulse if pulseaudio ) Requires: ( pipewire-alsa if pipewire ) The reason for this is in the following comment in the changelog and the reference to the discussion, which continues after that comment. Sun Jan 1 11:11:45 UTC 2023 - Marcus Rueckert <mrueckert@suse.de> - Fix audio playback support in muse score https://github.com/musescore/MuseScore/issues/11220#issuecomment-1365822403 - Fix jack finder by backporting 0dde64eef84.patch: Though the jack code in Musescore seems to be unused and only alsa seems supported - Require alsa-plugins-pulse or pipewire-alsa to make playing out of the box To me the solution should work. I'm adding the pipewire and alsa maintainers to cc. Maybe they can help.
You already installed both pulseaudio and pipewire-alsa packages on your system? That makes no sense. I'm afraid that your system was already messed up. If you don't need pipewire audio, don't install pipewire-alsa (but you can keep pipewire itself for graphics). That is, if you keep pulseaudio, uninstall pipewire-alsa, and install alsa-plugins-pulse.
OK, Selecting 1 or 2 in zypper did nothing same as 3 and 4 did. I got it to install by zypper rm alsa* zypper in musescore It hung the machine - then I realized that I needed to reboot to remove the alsa code After reboot musescore loaded but does not play midi other than a note or 2 a second. Not sure new bug on zypper and musescore not playing correctly? Do I reinstall alsa and uninstall pulseaudio and try again?
(In reply to Larry Rainey from comment #6) > OK, > > Selecting 1 or 2 in zypper did nothing same as 3 and 4 did. > > I got it to install by > > zypper rm alsa* This will blow all things, of course! You need to uninstall *only* pipewire-alsa package, nothing else. > zypper in musescore > > It hung the machine - then I realized that I needed to reboot to remove the > alsa code > > After reboot musescore loaded but does not play midi other than a note or 2 > a second. > > Not sure new bug on zypper and musescore not playing correctly? > > Do I reinstall alsa and uninstall pulseaudio and try again? You must have messed up more badly now.... Better to have a clean system.
I went back to March 3 backup and did the zypper dup selected option 1 and it installed eveything but musescore played at 1 note per second I gave up an uninstalled OpenSuse MuseScore and installed their appimage and the appimage works pefectly.
(In reply to Larry Rainey from comment #8) > I went back to March 3 backup and did the zypper dup > > selected option 1 and it installed eveything but musescore played at 1 note > per second > > I gave up an uninstalled OpenSuse MuseScore and installed their appimage and > the appimage works pefectly. OK, closing this bug. The slowness is a different issue.
Although this bug was already closed, I have to warn you, Larry. When musescore package installation leads to the dependency issue, it means that your system was already messed up at the state. You have to uninstall pipewire-alsa package and install alsa-plugins-pulse package instead. Or, switch to pipewire completely from pulseaudio, just by installing pipewire-pulseaudio package (that will replace relevant packages automatically).
I'm reopening this bug report because the problem still exists. Background: Do a fresh leap 15.6 beta installation. Choose the plasma or gnome role. Complete the installation and then run: zypper in musescore, result: Problem: the to be installed musescore-4.2.1-bp156.1.2.x86_64 requires '(pipewire-alsa if pipewire)', but this requirement cannot be provided not installable providers: pipewire-alsa-1.0.4-150600.1.6.x86_64[disk_v_oss] pipewire-alsa-1.0.4-150600.2.pm.29.x86_64[packman_disk_Essentials] Solution 1: Following actions will be done: deinstallation of pipewire-1.0.4-150600.1.6.x86_64 deinstallation of pipewire-lang-1.0.4-150600.1.6.noarch deinstallation of plasma5-session-wayland-5.27.11-bp156.1.4.x86_64 deinstallation of wireplumber-0.5.1-150600.1.1.x86_64 deinstallation of wireplumber-lang-0.5.1-150600.1.1.noarch Solution 2: Following actions will be done: deinstallation of alsa-plugins-pulse-1.2.7.1-150500.1.1.x86_64 deinstallation of pulseaudio-17.0-150600.2.2.x86_64 deinstallation of pulseaudio-lang-17.0-150600.2.2.noarch deinstallation of pulseaudio-module-bluetooth-17.0-150600.2.2.x86_64 deinstallation of pulseaudio-module-gsettings-17.0-150600.2.2.x86_64 deinstallation of pulseaudio-module-x11-17.0-150600.2.2.x86_64 deinstallation of pulseaudio-module-zeroconf-17.0-150600.2.2.x86_64 Solution 3: do not install musescore-4.2.1-bp156.1.2.x86_64 Solution 4: break musescore-4.2.1-bp156.1.2.x86_64 by ignoring some of its dependencies The musescore specfile contains: Requires: ( alsa-plugins-pulse if pulseaudio ) Requires: ( pipewire-alsa if pipewire ) So if pulseaudio is installed, install alsa-plugins-pulse if pipewire is installed, install pipewire-alsa It is assumed that both pulseaudio and pipewire are not installed at the same time otherwise both alsa-plugins-pulse and pipewire-alsa would be installed which is not possible because they conflict with each other. That's exactly what is happening with the fresh installation: You got installed pulseaudio, alsa-plugins-pulse and pipewire. musescore then wants to install pipewire-alsa causing the resolution dilemma. In tumbleweed this does not happens because after a fresh installation you have: pipewire and pipewire-alsa installed but not pulseaudio. The problem with leap 15.6 seems to be that you end up with both pulseaudio and pipewire installed. Is that configuration allowed?
(In reply to Giacomo Comes from comment #11) > The musescore specfile contains: > Requires: ( alsa-plugins-pulse if pulseaudio ) > Requires: ( pipewire-alsa if pipewire ) The latter one is the culprit, and it's an utterly unnecessary dependency. The misunderstanding is that the installation of pipewire doesn't mean to use it for the audio at all. I'd suggest rather to drop the second line while keeping the first one.
(In reply to Takashi Iwai from comment #12) > (In reply to Giacomo Comes from comment #11) > > The musescore specfile contains: > > Requires: ( alsa-plugins-pulse if pulseaudio ) > > Requires: ( pipewire-alsa if pipewire ) > > The latter one is the culprit, and it's an utterly unnecessary dependency. > > The misunderstanding is that the installation of pipewire doesn't mean to > use it for the audio at all. I'd suggest rather to drop the second line > while keeping the first one. Submitted a request with this change.
This is an autogenerated message for OBS integration: This bug (1220821) was mentioned in https://build.opensuse.org/request/show/1170822 Factory / musescore
The change is accepted in Leap 15.6.