You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[falken@bookcase rpm_install]$ ./01_install_rocm_fedora_29.sh
Preparing to set up ROCm requirements. You must be root/sudo for this.
Last metadata expiration check: 0:00:30 ago on Wed 13 Feb 2019 22:52:49 GMT.
No match for argument: kernel-headers-4.20.5-200.fc29.x86_64
Package kernel-devel-4.20.5-200.fc29.x86_64 is already installed.
Package wget-1.20.1-1.fc29.x86_64 is already installed.
Package bzip2-1.0.6-28.fc29.x86_64 is already installed.
Error: Unable to find a match
"sudo dnf install -y dkms kernel-headers-`uname -r` kernel-devel-`uname -r` wget bzip2" command failed with exit code 1.
$ dnf search kernel-header
Last metadata expiration check: 0:07:52 ago on Wed 13 Feb 2019 22:54:26 GMT.
========================================================================== Name Matched: kernel-header ===========================================================================
kernel-headers.x86_64 : Header files for the Linux kernel for use by glibc
[falken@bookcase rpm_install]$
The text was updated successfully, but these errors were encountered:
You can edit the file that is installing the kernel-devel package according to this diff to fix this issue:
diff --git a/distro_install_scripts/Fedora/common/rpm_install_rocm.sh b/distro_install_scripts/Fedora/common/rpm_install_rocm.sh
index b023767..d87b267 100755
--- a/distro_install_scripts/Fedora/common/rpm_install_rocm.sh+++ b/distro_install_scripts/Fedora/common/rpm_install_rocm.sh@@ -28,7 +28,7 @@ source "$BASE_DIR/common/common_options.sh"
parse_args "$@"
echo "Preparing to set up ROCm requirements. You must be root/sudo for this."
-sudo dnf install -y dkms kernel-headers-`uname -r` kernel-devel-`uname -r` wget bzip2+sudo dnf install -y dkms "kernel-devel-uname-r == $(uname -r)" "kernel-devel-uname-r == $(uname -r)" wget bzip2
# 2.0.0 is an old release, so the deb packages have moved over to an archive
# tarball. Let's set up a local repo to allow us to do the install here.
The text was updated successfully, but these errors were encountered: