swayfx: Error: Transaction test error when trying to install swayfx on Fedora Linux 37

  • Swayfx Version:

    • 0.1-1.fc37
  • Debug Log:

➜  sudo dnf install swayfx                                            
Dependencies resolved.
==========================================================================================
 Package                    Arch   Version       Repository                          Size
==========================================================================================
Installing:
 swayfx                     x86_64 0.1-1.fc37    copr:copr.fedorainfracloud.org:swayfx:swayfx
                                                                                    365 k
Installing dependencies:
 fcft                       x86_64 3.1.5-1.fc37  fedora                              72 k
 libseat                    x86_64 0.7.0-2.fc37  fedora                              28 k
 python3-dbus-next          noarch 0.2.3-4.fc37  fedora                             154 k
 python3-i3ipc              noarch 2.2.1-6.fc37  fedora                              71 k
 python3-psutil             x86_64 5.9.1-1.fc37  fedora                             271 k
 python3-tenacity           noarch 8.0.1-6.fc37  fedora                              60 k
 python3-xlib               noarch 0.31-5.fc37   fedora                             351 k
 sway                       x86_64 1.7-3.fc37    fedora                             366 k
 swaybg                     x86_64 1.1.1-2.fc37  fedora                              24 k
 utf8proc                   x86_64 2.7.0-3.fc37  fedora                              80 k
 wlroots                    x86_64 0.15.1-4.fc37 fedora                             319 k
Installing weak dependencies:
 desktop-backgrounds-compat noarch 37.0.0-4.fc37 updates                            9.0 k
 dmenu                      x86_64 5.1-2.fc37    fedora                              31 k
 foot                       x86_64 1.13.1-1.fc37 fedora                             305 k
 foot-terminfo              x86_64 1.13.1-1.fc37 fedora                              12 k
 sway-systemd               noarch 0.2.2-2.fc37  fedora                              18 k
 swayidle                   x86_64 1.7.1-2.fc37  fedora                              27 k
 swaylock                   x86_64 1.6-2.fc37    fedora                              42 k

Transaction Summary
==========================================================================================
Install  19 Packages

Total download size: 2.5 M
Installed size: 8.0 M
Is this ok [Y/n]: 
Downloading Packages:
(1/19): dmenu-5.1-2.fc37.x86_64.rpm                       133 kB/s |  31 kB     00:00    
(2/19): fcft-3.1.5-1.fc37.x86_64.rpm                      238 kB/s |  72 kB     00:00    
(3/19): foot-terminfo-1.13.1-1.fc37.x86_64.rpm            156 kB/s |  12 kB     00:00    
(4/19): libseat-0.7.0-2.fc37.x86_64.rpm                   370 kB/s |  28 kB     00:00    
(5/19): swayfx-0.1-1.fc37.x86_64.rpm                      685 kB/s | 365 kB     00:00    
(6/19): foot-1.13.1-1.fc37.x86_64.rpm                     1.0 MB/s | 305 kB     00:00    
(7/19): python3-dbus-next-0.2.3-4.fc37.noarch.rpm         999 kB/s | 154 kB     00:00    
(8/19): python3-tenacity-8.0.1-6.fc37.noarch.rpm          780 kB/s |  60 kB     00:00    
(9/19): python3-psutil-5.9.1-1.fc37.x86_64.rpm            1.7 MB/s | 271 kB     00:00    
(10/19): sway-1.7-3.fc37.x86_64.rpm                       3.9 MB/s | 366 kB     00:00    
(11/19): python3-i3ipc-2.2.1-6.fc37.noarch.rpm            236 kB/s |  71 kB     00:00    
(12/19): python3-xlib-0.31-5.fc37.noarch.rpm              2.1 MB/s | 351 kB     00:00    
(13/19): sway-systemd-0.2.2-2.fc37.noarch.rpm             235 kB/s |  18 kB     00:00    
(14/19): swaybg-1.1.1-2.fc37.x86_64.rpm                   319 kB/s |  24 kB     00:00    
(15/19): swayidle-1.7.1-2.fc37.x86_64.rpm                 356 kB/s |  27 kB     00:00    
(16/19): swaylock-1.6-2.fc37.x86_64.rpm                   538 kB/s |  42 kB     00:00    
(17/19): utf8proc-2.7.0-3.fc37.x86_64.rpm                 1.0 MB/s |  80 kB     00:00    
(18/19): wlroots-0.15.1-4.fc37.x86_64.rpm                 3.8 MB/s | 319 kB     00:00    
(19/19): desktop-backgrounds-compat-37.0.0-4.fc37.noarch. 122 kB/s | 9.0 kB     00:00    
------------------------------------------------------------------------------------------
Total                                                     911 kB/s | 2.5 MB     00:02     
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction test error:
  file /etc/sway/config conflicts between attempted installs of swayfx-0.1-1.fc37.x86_64 and sway-1.7-3.fc37.x86_64
  file /usr/bin/sway conflicts between attempted installs of swayfx-0.1-1.fc37.x86_64 and sway-1.7-3.fc37.x86_64
  file /usr/bin/swaybar conflicts between attempted installs of swayfx-0.1-1.fc37.x86_64 and sway-1.7-3.fc37.x86_64
  file /usr/bin/swaymsg conflicts between attempted installs of swayfx-0.1-1.fc37.x86_64 and sway-1.7-3.fc37.x86_64
  file /usr/bin/swaynag conflicts between attempted installs of swayfx-0.1-1.fc37.x86_64 and sway-1.7-3.fc37.x86_64
  file /usr/share/man/man1/sway.1.gz conflicts between attempted installs of swayfx-0.1-1.fc37.x86_64 and sway-1.7-3.fc37.x86_64
  file /usr/share/man/man1/swaymsg.1.gz conflicts between attempted installs of swayfx-0.1-1.fc37.x86_64 and sway-1.7-3.fc37.x86_64
  file /usr/share/man/man1/swaynag.1.gz conflicts between attempted installs of swayfx-0.1-1.fc37.x86_64 and sway-1.7-3.fc37.x86_64
  file /usr/share/man/man5/sway-bar.5.gz conflicts between attempted installs of swayfx-0.1-1.fc37.x86_64 and sway-1.7-3.fc37.x86_64
  file /usr/share/man/man5/sway-input.5.gz conflicts between attempted installs of swayfx-0.1-1.fc37.x86_64 and sway-1.7-3.fc37.x86_64
  file /usr/share/man/man5/sway-output.5.gz conflicts between attempted installs of swayfx-0.1-1.fc37.x86_64 and sway-1.7-3.fc37.x86_64
  file /usr/share/man/man5/sway.5.gz conflicts between attempted installs of swayfx-0.1-1.fc37.x86_64 and sway-1.7-3.fc37.x86_64
  file /usr/share/man/man5/swaynag.5.gz conflicts between attempted installs of swayfx-0.1-1.fc37.x86_64 and sway-1.7-3.fc37.x86_64
  file /usr/share/man/man7/sway-ipc.7.gz conflicts between attempted installs of swayfx-0.1-1.fc37.x86_64 and sway-1.7-3.fc37.x86_64
  file /usr/share/man/man7/swaybar-protocol.7.gz conflicts between attempted installs of swayfx-0.1-1.fc37.x86_64 and sway-1.7-3.fc37.x86_64
  • Description:
    • I enabled the copr repo doing sudo yum copr enable swayfx/swayfx then I did sudo dnf update --refresh followed by sudo dnf install swayfx. Seems that I can’t install swayfx because two packages are providing the same file names?

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 17 (7 by maintainers)

Most upvoted comments

Works for me now! Had to disable and enable the copr repo…

sudo dnf copr disable swayfx/swayfx && sudo dnf copr enable swayfx/swayfx

~ 
❯ sudo dnf install swayfx            
Copr repo for swayfx owned by swayfx                                                                                                18 kB/s | 3.3 kB     00:00    
Copr repo for swayfx owned by swayfx                                                                                                16 kB/s |  11 kB     00:00    
Dependencies resolved.
===================================================================================================================================================================
 Package                         Architecture              Version                           Repository                                                       Size
===================================================================================================================================================================
Installing:
 swayfx                          x86_64                    0.1-2.fc37                        copr:copr.fedorainfracloud.org:swayfx:swayfx                    365 k
Installing weak dependencies:
 sway-systemd                    noarch                    0.2.2-2.fc37                      fedora                                                           18 k

Transaction Summary
===================================================================================================================================================================
Install  2 Packages

done! Let me know if it is working now and I’ll close this issue

@WillPower3309, could you try bumping https://github.com/WillPower3309/swayfx/blob/7ccabdad2f0699735a79a001dc1af5a4a46dc5cd/build-scripts/swayfx.rpkg.spec#L11

to 2? Don’t really want to create yet another branch for such a small change 🙃

@WillPower3309 after waiting a day just in case the changes would take some time to upload, the problem persists.

Apologies for this issue, I’ll take another look at fixing it this evening.

@ErikReider looks like the issue is still around

@WillPower3309 It looks like the issue is that it recommends sway-systemd, which requires sway.

Yup, that’d be it! Taking a look now 😃

@WillPower3309 Not currently. I removed it before enabling the COPR repo.