Some broken depencies on latest testing update

Skipping packages with broken dependencies:
 compiler-rt                                            i686   18.1.8-2.fc41                   fedora      9.7 MiB
 lld-devel                                              x86_64 18.1.8-2.fc41                   fedora     38.7 KiB
 hipcc                                                  x86_64 18-7.rocm6.2.1.fc41             updates-t 666.3 KiB
 rocm-device-libs                                       x86_64 18-7.rocm6.2.1.fc41             updates-t   3.2 MiB

try to re-run the dnf update command with --enablerepo=updates-testing.
Also, if you wish help, you need to post the entire error message so we can see which packages require the dependencies and why they are broken.

sorry my bad still learning

Problem 1: package compiler-rt-18.1.8-2.fc41.i686 from fedora requires clang-resource-filesystem = 18.1.8, but none of the providers can be installed
  - package hipcc-18-7.rocm6.2.1.fc41.x86_64 from updates-testing requires compiler-rt(major) = 18, but none of the providers can be installed
  - cannot install both compiler-rt-18.1.8-2.fc41.x86_64 from fedora and compiler-rt-19.1.0-1.fc41.x86_64 from @System
  - cannot install both clang-resource-filesystem-18.1.8-3.fc41.noarch from fedora and clang-resource-filesystem-19.1.0-1.fc41.x86_64 from @System
  - cannot install the best update candidate for package hipcc-18-6.rocm6.2.0.fc41.x86_64
  - cannot install the best update candidate for package compiler-rt-19.1.0-1.fc41.x86_64
  - cannot install the best update candidate for package clang-resource-filesystem-19.1.0-1.fc41.x86_64
 Problem 2: lld-devel-18.1.8-2.fc41.i686 from fedora has inferior architecture
  - package rocm-device-libs-18-7.rocm6.2.1.fc41.x86_64 from updates-testing requires lld-devel(major) = 18, but none of the providers can be installed
  - package lld-devel-18.1.8-2.fc41.x86_64 from fedora requires lld(x86-64) = 18.1.8-2.fc41, but none of the providers can be installed
  - cannot install both lld-18.1.8-2.fc41.x86_64 from fedora and lld-19.1.0-1.fc41.x86_64 from @System
  - cannot install the best update candidate for package rocm-device-libs-18-6.rocm6.2.0.fc41.x86_64
  - cannot install the best update candidate for package lld-19.1.0-1.fc41.x86_64

Package                                                     Arch          Version                                                      Repository                            Size
Skipping packages with conflicts:
 clang-resource-filesystem                                  noarch        18.1.8-3.fc41                                                fedora                           522.0   B
 compiler-rt                                                x86_64        18.1.8-2.fc41                                                fedora                            28.0 MiB
 lld                                                        x86_64        18.1.8-2.fc41                                                fedora                           123.4 KiB
Skipping packages with broken dependencies:
 compiler-rt                                                i686          18.1.8-2.fc41                                                fedora                             9.7 MiB
 lld-devel                                                  x86_64        18.1.8-2.fc41                                                fedora                            38.7 KiB
 hipcc                                                      x86_64        18-7.rocm6.2.1.fc41                                          updates-testing                  666.3 KiB
 rocm-device-libs                                           x86_64        18-7.rocm6.2.1.fc41                                          updates-testing                    3.2 MiB

do you need those two packages? did you see they are .i686?

i havent installed any of those unless some of my apps needs those need to check what uses those

phatle@fedora:~$ dnf repoquery --whatrequires lld-devel-18.1.8-2.fc41.i686
Updating and loading repositories:
Repositories loaded.
rocm-device-libs-0:18-7.rocm6.2.1.fc41.x86_64
phatle@fedora:~$ dnf repoquery --whatrequires compiler-rt-18.1.8-2.fc41.i686
Updating and loading repositories:
Repositories loaded.
hipcc-0:18-6.rocm6.2.0.fc41.x86_64
hipcc-0:18-7.rocm6.2.1.fc41.x86_64
honggfuzz-0:2.5-7.fc41.i686
honggfuzz-0:2.5-7.fc41.x86_64
phatle@fedora:~$ dnf repoquery --installed --whatrequires lld-devel-18.1.8-2.fc41.i686
phatle@fedora:~$ dnf repoquery --installed --whatrequires compiler-rt-18.1.8-2.fc41.i686

Try removing those i686 packages and see the results. If they are required by something else it will also try and remove the other packages.

If the removal works with only those packages then you should not really need them for most situations.

phatle@fedora:~$ sudo dnf rm compiler-rt-18.1.8-2.fc41.i686
No packages to remove for argument: compiler-rt-18.1.8-2.fc41.i686

Nothing to do.
phatle@fedora:~$ sudo dnf rm compiler-rt
Package                            Arch     Version                            Repository                 Size
Removing:
 compiler-rt                       x86_64   19.1.0-1.fc41                      updates-testing        36.5 MiB
Removing dependent packages:
 rocm-hip-devel                    x86_64   6.2.1-1.fc41                       updates-testing         2.6 MiB
Removing unused dependencies:
 clang                             x86_64   19.1.0-1.fc41                      updates-testing       184.7 KiB
 clang-devel                       x86_64   19.1.0-1.fc41                      updates-testing        25.5 MiB
 clang-libs                        x86_64   19.1.0-1.fc41                      updates-testing       124.5 MiB
 clang-resource-filesystem         x86_64   19.1.0-1.fc41                      updates-testing        15.3 KiB
 clang-tools-extra                 x86_64   19.1.0-1.fc41                      updates-testing        69.0 MiB
 clang18                           x86_64   18.1.7-5.fc41                      updates-testing       629.1 KiB
 clang18-devel                     x86_64   18.1.7-5.fc41                      updates-testing        23.7 MiB
 clang18-tools-extra               x86_64   18.1.7-5.fc41                      updates-testing        85.3 MiB
 gcc-c++                           x86_64   14.2.1-3.fc41                      fedora                 38.2 MiB
 hipcc                             x86_64   18-6.rocm6.2.0.fc41                fedora                309.8 KiB
 hsakmt                            x86_64   1.0.6-44.rocm6.2.1.fc41            updates-testing       181.5 KiB
 hsakmt-devel                      x86_64   1.0.6-44.rocm6.2.1.fc41            updates-testing       110.3 KiB
 libedit-devel                     x86_64   3.1-53.20240808cvs.fc41            fedora                 59.4 KiB
 libomp                            x86_64   19.1.0-1.fc41                      updates-testing        50.5 MiB
 libomp-devel                      x86_64   19.1.0-1.fc41                      updates-testing        31.2 MiB
 libstdc++-devel                   x86_64   14.2.1-3.fc41                      fedora                 15.4 MiB
 lld                               x86_64   19.1.0-1.fc41                      updates-testing        48.2 KiB
 lld-libs                          x86_64   19.1.0-1.fc41                      updates-testing         6.1 MiB
 lld18-libs                        x86_64   18.1.7-4.fc41                      updates-testing         5.3 MiB
 llvm                              x86_64   19.1.0-1.fc41                      updates-testing        75.3 MiB
 llvm18                            x86_64   18.1.7-6.fc41                      updates-testing       112.2 MiB
 llvm18-devel                      x86_64   18.1.7-6.fc41                      updates-testing        24.2 MiB
 llvm18-googletest                 x86_64   18.1.7-6.fc41                      updates-testing         2.2 MiB
 llvm18-static                     x86_64   18.1.7-6.fc41                      updates-testing       283.7 MiB
 llvm18-test                       x86_64   18.1.7-6.fc41                      updates-testing         1.9 MiB
 ncurses-c++-libs                  x86_64   6.5-2.20240629.fc41                fedora                161.7 KiB
 ncurses-devel                     x86_64   6.5-2.20240629.fc41                fedora                870.1 KiB
 perl-File-Which                   noarch   1.27-12.fc41                       fedora                 30.4 KiB
 rocm-comgr                        x86_64   18-7.rocm6.2.1.fc41                updates-testing         8.9 MiB
 rocm-comgr-devel                  x86_64   18-7.rocm6.2.1.fc41                updates-testing       102.8 KiB
 rocm-device-libs                  x86_64   18-6.rocm6.2.0.fc41                fedora                  3.2 MiB
 rocm-hip                          x86_64   6.2.1-1.fc41                       updates-testing        22.9 MiB
 rocm-runtime                      x86_64   6.2.1-2.fc41                       updates-testing         2.7 MiB
 rocm-runtime-devel                x86_64   6.2.1-2.fc41                       updates-testing       556.1 KiB
 rocminfo                          x86_64   6.2.1-1.fc41                       updates-testing        81.6 KiB

Transaction Summary:
 Removing:          37 packages

I’m running into this as well.

Problem 1: package compiler-rt-18.1.8-2.fc41.i686 from fedora requires clang-resource-filesystem = 18.1.8, but none of the providers can be installed
  - package hipcc-18-7.rocm6.2.1.fc41.x86_64 from updates-testing requires compiler-rt(major) = 18, but none of the providers can be installed
  - cannot install both compiler-rt-18.1.8-2.fc41.x86_64 from fedora and compiler-rt-19.1.0-1.fc41.x86_64 from @System
  - cannot install both clang-resource-filesystem-18.1.8-3.fc41.noarch from fedora and clang-resource-filesystem-19.1.0-1.fc41.x86_64 from @System
  - cannot install the best update candidate for package hipcc-18-6.rocm6.2.0.fc41.x86_64
  - cannot install the best update candidate for package compiler-rt-19.1.0-1.fc41.x86_64
  - cannot install the best update candidate for package clang-resource-filesystem-19.1.0-1.fc41.x86_64
 Problem 2: lld-devel-18.1.8-2.fc41.i686 from fedora has inferior architecture
  - package rocm-device-libs-18-7.rocm6.2.1.fc41.x86_64 from updates-testing requires lld-devel(major) = 18, but none of the providers can be installed
  - cannot install both lld-devel-18.1.8-2.fc41.x86_64 from fedora and lld-devel-19.1.0-1.fc41.x86_64 from @System
  - cannot install the best update candidate for package rocm-device-libs-18-6.rocm6.2.0.fc41.x86_64
  - cannot install the best update candidate for package lld-devel-19.1.0-1.fc41.x86_64

Package                                    Arch       Version                                    Repository                     Size
Skipping packages with conflicts:
 clang-resource-filesystem                 noarch     18.1.8-3.fc41                              fedora                    522.0   B
 compiler-rt                               x86_64     18.1.8-2.fc41                              fedora                     28.0 MiB
 lld-devel                                 x86_64     18.1.8-2.fc41                              fedora                     38.7 KiB
Skipping packages with broken dependencies:
 hipcc                                     x86_64     18-7.rocm6.2.1.fc41                        updates-testing           666.3 KiB
 rocm-device-libs                          x86_64     18-7.rocm6.2.1.fc41                        updates-testing             3.2 MiB
 compiler-rt                               i686       18.1.8-2.fc41                              fedora                      9.7 MiB

Try that again as sudo dnf remove compiler-rt*i686 --noautoerase and see what it will remove for you. That should avoid removing all the dependencies that are shown above. I think the issue is that there was a change in the dependencies and when you upgraded to f41 the older package was retained.

On my f41 system that I upgraded from f40 I see this.

$ sudo dnf list compiler-rt*
Updating and loading repositories:
Repositories loaded.
Available packages
compiler-rt.i686     19.1.0-1.fc41 updates-testing
compiler-rt.x86_64   19.1.0-1.fc41 updates-testing
compiler-rt17.x86_64 17.0.6-6.fc41 fedora
compiler-rt18.x86_64 18.1.7-4.fc41 updates-testing

$ sudo dnf install compiler-rt
Updating and loading repositories:
Repositories loaded.
Package                                     Arch       Version                                     Repository                     Size
Installing:
 compiler-rt                                x86_64     19.1.0-1.fc41                               updates-testing            36.5 MiB
Installing dependencies:
 clang-resource-filesystem                  x86_64     19.1.0-1.fc41                               updates-testing            15.3 KiB

Transaction Summary:
 Installing:         2 packages

Total size of inbound packages is 3 MiB. Need to download 3 MiB.
After this operation, 36 MiB extra will be used (install 36 MiB, remove 0 B).
Is this ok [y/N]: 

Note that is not pulling in any of those packages you show as being removed except the clang-resource-filesystem.

Also note the difference in versions both available and being installed as compared to the i686 package that is causing the conflict.

You are showing several packages that are version 18 to be removed as well as some version 19 for llvm, llvm18, lld-libs, lld18-libs, clang, clang18, .

If necessary it should cause no problems to remove those packages then after the upgrade reinstall compiler-rt which would have only the needed dependencies included.

Note the conflict is that version 18 and 19 conflict for both of you.

this system is not upgraded system fresh 41 beta so that cant be issue on there

sudo dnf remove compiler-rt*i686 --noautoerase is not working on DNF5

Unknown argument "--noautoerase" for command "remove". Add "--help" for more information about the arguments.

only what i can think is these are on installer as 18 and then running updates hits the errors

also as seen on repos it is using Fedora repo not update testing almost all of those

phatle@fedora:~$ sudo dnf list compiler-rt*
Updating and loading repositories:
Repositories loaded.
Installed packages
compiler-rt.x86_64   19.1.0-1.fc41 updates-testing
compiler-rt18.x86_64 18.1.7-4.fc41 updates-testing

Available packages
compiler-rt.i686     19.1.0-1.fc41 updates-testing
compiler-rt17.x86_64 17.0.6-6.fc41 fedora
phatle@fedora:~$ sudo dnf list clang-resource-filesystem
Updating and loading repositories:
Repositories loaded.
Installed packages
clang-resource-filesystem.x86_64 19.1.0-1.fc41 updates-testing

Available packages
clang-resource-filesystem.noarch 18.1.8-3.fc41 fedora
clang-resource-filesystem.i686   19.1.0-1.fc41 updates-testing

The conversation in the comments here might be relevant (rawhide, but still): FEDORA-2024-e9a5fdd899 — enhancement update for clang18, compiler-rt18, & 13 more — Fedora Updates System

1 Like

Those comments may be relevant but it seems compiler-rt and compiler-rt18 are not compatible.
Maybe remove compiler-rt18 and all dependencies then if necessary install (or reinstall) compiler-rt so it gets the latest version

At least in my case, compiler-rt18 isn’t even installed.
The issue seems to be hipcc / rocm-device-libs and other AMD rocm packages requiring compiler-rt18 leading to the conflict.

package hipcc-18-7.rocm6.2.1.fc41.x86_64 from updates-testing requires compiler-rt(major) = 18

Probably needs an update to those packages or the ability for compiler-rt18 and 19 to coexist in order to resolve the conflict or to use compiler-rt 19

EDIT: for now, you could run the update with: dnf update --exclude=hipcc.x86_64,rocm-device-libs.x86_64

1 Like

None of the rocm packages seem to be installed by default on fedora. Having those packages during an upgrade seems to be the cause of the conflicts.

Maybe remove those non-default packages, perform the upgrade, then reinstall if needed.

Simply excluding them from the upgrade may be a matter of pushing the problem off for later resolution.

The conflicts and the packages they are related to probably should be reported as a bug against the f41 Beta.

1 Like

FYI - as of today, the conflicts have been resolved and you should be able to update without excluding any packages.