Swayfx and scenefx are in conflict. Remove scenefx?

Sway users will see a package replacement prompt when next updating:

:: swayfx-0.5.1-3.3 and scenefx-0.2.1-4 are in conflict. Remove scenefx? [y/N] 

TL;DR

Yes, respond “y” to the prompt and remove the scenefx package.


What happened?

In the aftermath of the wlroots package maintainers deciding to switch to a versioned packaging scheme, the SceneFX project (a dependency of SwayFX which replaces the wlroots scene API) has ended up going to a versioned package scheme as well. See this related issue:

Unfortunately, this solution does not work well for our implementation of SwayFX because when the dependency changes to a new package that doesn’t exist in any repo (the new packages are only added to the AUR), Pacman can’t reconcile the dependency and the automated build routine fails over and over until some kind of intervention occurs.

To resolve this issue, scenefx will now be statically linked to the Chaotic repo version of swayfx. feat(swayfx): update interfere, static link scenefx · chaotic-aur/packages@d6c9ff9 · GitHub. In other words, scenefx will be effectively bundled with the Chaotic version of the swayfx package when it is built (using whatever version of scenefx and related libraries that happen to be required at the time).

Since we don’t need to pull it in separately anymore, the scenefx package has been dropped from the Chaotic repo and should be uninstalled when updating to the new version of swayfx.

14 Likes
 update
:: Synchronisation des bases de données de paquets…
 garuda est à jour
 core est à jour
 extra est à jour
 multilib est à jour
 chaotic-aur est à jour

--> Refreshing mirrorlists using rate-mirrors, please be patient..🍵

:: Synchronisation des bases de données de paquets…
téléchargement de garuda…
téléchargement de core…
téléchargement de extra…
téléchargement de multilib…
téléchargement de chaotic-aur…
spawn pacman -Su
:: Starting full system upgrade...
warning: snapper-tools: local (1.3.1-1.6) is newer than chaotic-aur (1.3.1-1)
resolving dependencies...
looking for conflicting packages...
:: swayfx-0.5.1-3.3 and scenefx-0.3-1 are in conflict. Remove scenefx? [y/N] y

Unexpected user input required. Try again without --noconfirm⏎

Ok with pacman -Syu

This should be handled automatically in the new garuda-update:

8 Likes

It works fine with garuda-update as well, however as your error message indicates you cannot pass the --noconfirm flag if user interaction is required.

If you are not sure why this flag has been set, probably you are updating from RANI.

That’s perfect, great idea! I will mark this the “solution”, thank you! :partying_face:

6 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.