Can't install rocm

Hello, I had those packages installed : rocm-clinfo rocm-hip rocm-opencl rocminfo but I couldn’t update because of “Conflicting requests”. I though that uninstalling rocm, updating and reinstalling rocm would fix the issue, but now I can’t reinstall rocm.
Here’s the error :

error: Could not depsolve transaction; 1 problem detected:
 Problem: conflicting requests
  - package rocm-hip-6.0.0-3.fc40.x86_64 from fedora requires hipcc = 6.0.0-3.fc40, but none of the providers can be installed
  - package rocm-hip-6.0.2-2.fc40.x86_64 from updates requires hipcc = 6.0.2-2.fc40, but none of the providers can be installed
  - package rocm-hip-6.0.2-2.fc40.x86_64 from updates-archive requires hipcc = 6.0.2-2.fc40, but none of the providers can be installed
  - package hipcc-6.0.0-3.fc40.noarch from fedora requires clang, but none of the providers can be installed
  - package hipcc-6.0.2-2.fc40.noarch from updates-archive requires clang17, but none of the providers can be installed
  - package hipcc-6.0.2-2.fc40.noarch from updates requires clang17, but none of the providers can be installed
  - package clang-18.1.6-3.fc40.x86_64 from updates requires gcc-c++, but none of the providers can be installed
  - package clang-18.1.1-1.fc40.x86_64 from fedora requires gcc-c++, but none of the providers can be installed
  - package clang17-17.0.6-7.fc40.x86_64 from fedora requires gcc-c++, but none of the providers can be installed
  - package gcc-c++-14.1.1-5.fc40.x86_64 from updates requires gcc = 14.1.1-5.fc40, but none of the providers can be installed
  - package gcc-14.1.1-5.fc40.x86_64 from updates requires glibc-devel >= 2.2.90-12, but none of the providers can be installed
  - package clang-18.1.6-3.fc40.i686 from updates requires libc.so.6(GLIBC_2.34), but none of the providers can be installed
  - package glibc-devel-2.39-13.fc40.i686 from updates requires glibc = 2.39-13.fc40, but none of the providers can be installed
  - package glibc-devel-2.39-13.fc40.x86_64 from updates requires glibc = 2.39-13.fc40, but none of the providers can be installed
  - package clang-18.1.1-1.fc40.i686 from fedora requires libc.so.6(GLIBC_2.34), but none of the providers can be installed
  - package clang17-17.0.6-7.fc40.i686 from fedora requires libc.so.6(GLIBC_2.34), but none of the providers can be installed
  - package glibc-devel-2.39-13.fc40.x86_64 from updates-archive requires glibc = 2.39-13.fc40, but none of the providers can be installed
  - package glibc-devel-2.39-6.fc40.i686 from fedora requires glibc = 2.39-6.fc40, but none of the providers can be installed
  - package glibc-devel-2.39-6.fc40.x86_64 from fedora requires glibc = 2.39-6.fc40, but none of the providers can be installed
  - package gcc-c++-14.0.1-0.15.fc40.i686 from fedora requires gcc = 14.0.1-0.15.fc40, but none of the providers can be installed
  - package gcc-c++-14.0.1-0.15.fc40.x86_64 from fedora requires gcc = 14.0.1-0.15.fc40, but none of the providers can be installed
  - package gcc-c++-14.1.1-1.fc40.x86_64 from updates-archive requires libstdc++ = 14.1.1-1.fc40, but none of the providers can be installed
  - glibc-2.39-13.fc40.i686 from updates  does not belong to a distupgrade repository
  - glibc-2.39-6.fc40.i686 from fedora  does not belong to a distupgrade repository
  - package glibc-devel-2.39-8.fc40.x86_64 from updates-archive requires glibc = 2.39-8.fc40, but none of the providers can be installed
  - package gcc-14.0.1-0.15.fc40.x86_64 from fedora requires cpp = 14.0.1-0.15.fc40, but none of the providers can be installed
  - cannot install both libstdc++-14.1.1-1.fc40.x86_64 from updates-archive and libstdc++-14.1.1-5.fc40.x86_64 from @System
  - cannot install both glibc-2.39-13.fc40.x86_64 from updates and glibc-2.39-15.fc40.x86_64 from @System
  - cannot install both glibc-2.39-6.fc40.x86_64 from fedora and glibc-2.39-15.fc40.x86_64 from @System
  - cannot install both glibc-2.39-13.fc40.x86_64 from updates-archive and glibc-2.39-15.fc40.x86_64 from @System
  - cannot install both glibc-2.39-8.fc40.x86_64 from updates-archive and glibc-2.39-15.fc40.x86_64 from @System
  - cannot install both cpp-14.0.1-0.15.fc40.x86_64 from fedora and cpp-14.1.1-5.fc40.x86_64 from @System

Do they need to be installed on the host? Do those work in a toolbox?

F40 change proposal ROCM 6 release self-contained has some installation notes.

You have both x86_64 and i686 versions of some packages. Do you need the i686 versions?

Which packages have i686 ?

Last time I tried I couldn’t install rocm in a toolbox. So I’ve installed it on the host and I was running Ollama in a podman container.

From the list of conflictign requests:

- package clang-18.1.1-1.fc40.i686 from fedora requires libc.so.6(GLIBC_2.34), but none of the providers can be installed
  - package clang17-17.0.6-7.fc40.i686 from fedora requires libc.so.6(GLIBC_2.34), but none of the providers can be installed
  - package glibc-devel-2.39-6.fc40.i686 from fedora requires glibc = 2.39-6.fc40, but none of the providers can be installed
  - package gcc-c++-14.0.1-0.15.fc40.i686 from fedora requires gcc = 14.0.1-0.15.fc40, but none of the providers can be installed
  - glibc-2.39-13.fc40.i686 from updates  does not belong to a distupgrade repository
  - glibc-2.39-6.fc40.i686 from fedora  does not belong to a distupgrade repository

Here (with no i686 packages installed):

doas dnf install rocm-clinfo rocm-hip rocm-opencl rocminfo
doas (gnw3@fedorausb) password: 
Last metadata expiration check: 0:26:40 ago on Mon Jun 17 10:55:43 2024.
Dependencies resolved.
========================================================================================================================
 Package                                Architecture      Version                              Repository          Size
========================================================================================================================
Installing:
 rocm-clinfo                            x86_64            6.0.2-2.fc40                         updates             43 k
 rocm-hip                               x86_64            6.0.2-2.fc40                         updates            9.5 M
 rocm-opencl                            x86_64            6.0.2-2.fc40                         updates            560 k
 rocminfo                               x86_64            6.0.2-2.fc40                         updates             37 k
Installing dependencies:
 clang17                                x86_64            17.0.6-7.fc40                        fedora              69 k
 clang17-devel                          x86_64            17.0.6-7.fc40                        fedora             3.3 M
 clang17-libs                           x86_64            17.0.6-7.fc40                        fedora              22 M
 clang17-resource-filesystem            x86_64            17.0.6-7.fc40                        fedora              14 k
 clang17-tools-extra                    x86_64            17.0.6-7.fc40                        fedora              19 M
 compiler-rt17                          x86_64            17.0.6-6.fc40                        fedora             2.3 M
 hipcc                                  noarch            6.0.2-2.fc40                         updates             21 k
 hsakmt                                 x86_64            1.0.6-38.rocm6.0.0.fc40              fedora              71 k
 libedit-devel                          x86_64            3.1-51.20240517cvs.fc40              updates             40 k
 lld17                                  x86_64            17.0.6-4.fc40                        fedora              27 k
 lld17-libs                             x86_64            17.0.6-4.fc40                        fedora             1.4 M
 llvm17                                 x86_64            17.0.6-7.fc40                        fedora              25 M
 llvm17-devel                           x86_64            17.0.6-7.fc40                        fedora             3.8 M
 llvm17-googletest                      x86_64            17.0.6-7.fc40                        fedora             355 k
 llvm17-libs                            x86_64            17.0.6-7.fc40                        fedora              27 M
 llvm17-static                          x86_64            17.0.6-7.fc40                        fedora              35 M
 llvm17-test                            x86_64            17.0.6-7.fc40                        fedora             625 k
 ncurses-c++-libs                       x86_64            6.4-12.20240127.fc40                 fedora              38 k
 ncurses-devel                          x86_64            6.4-12.20240127.fc40                 fedora             562 k
 opencl-filesystem                      noarch            1.0-20.fc40                          fedora             7.5 k
 rocm-comgr                             x86_64            17.1-5.fc40                          updates            2.9 M
 rocm-device-libs                       x86_64            17.2-3.fc40                          fedora             570 k
 rocm-runtime                           x86_64            6.0.0-3.fc40                         fedora             497 k

Transaction Summary
========================================================================================================================
Install  27 Packages

Total download size: 155 M
Installed size: 798 M
1 Like

I’ve tried again to install rocm, this time it has installed fine. However, now I can’t boot the system. It says that I need to boot the kernel first.
I can still boot by using the previous version.

Even after uninstalling rocm, I still can’t boot into the version 40.20240617.0 but I can still boot fine on 40.20240617.0.
Maybe this is due to the kernel being updated between these two versions rather than rocm ?

Likely Bad shim signature in 40.20240617.0 deployment · Issue #573 · fedora-silverblue/issue-tracker · GitHub which is worked around with F39/F40: Fails to boot on with "vmlinuz has invalid signature" · Issue #543 · fedora-silverblue/issue-tracker · GitHub

1 Like

Yep, thanks it’s fixed !
I can install rocm now

2 Likes

Yep, I’ve installed it and it’s working fine now.
Thanks for the help !

1 Like