Here is the result of commands (1) and (2) see in green below
boris@Server39fedora:~/KERNEL671$ ls *.rpm |grep -v debug | grep -v uki > install.sh
boris@Server39fedora:~/KERNEL671$ vi install.sh
boris@Server39fedora:~/KERNEL671$ cat ./install.sh
<===
sudo dnf install bpftool-6.7.1-200.fc39.x86_64.rpm \
kernel-6.7.1-200.fc39.x86_64.rpm \
kernel-core-6.7.1-200.fc39.x86_64.rpm \
kernel-devel-6.7.1-200.fc39.x86_64.rpm \
kernel-devel-matched-6.7.1-200.fc39.x86_64.rpm \
kernel-modules-6.7.1-200.fc39.x86_64.rpm \
kernel-modules-core-6.7.1-200.fc39.x86_64.rpm \
kernel-modules-extra-6.7.1-200.fc39.x86_64.rpm \
kernel-modules-internal-6.7.1-200.fc39.x86_64.rpm \
kernel-selftests-internal-6.7.1-200.fc39.x86_64.rpm \
kernel-tools-6.7.1-200.fc39.x86_64.rpm \
kernel-tools-libs-6.7.1-200.fc39.x86_64.rpm \
kernel-tools-libs-devel-6.7.1-200.fc39.x86_64.rpm \
libperf-6.7.1-200.fc39.x86_64.rpm \
libperf-devel-6.7.1-200.fc39.x86_64.rpm \
perf-6.7.1-200.fc39.x86_64.rpm \
python3-perf-6.7.1-200.fc39.x86_64.rpm \
rtla-6.7.1-200.fc39.x86_64.rpm \
rv-6.7.1-200.fc39.x86_64.rpm
boris@Server39fedora:~/KERNEL671$ koji download-build --arch=$(uname -m) kernel-6.7.1-200.fc39
Downloading [1/29]: kernel-tools-libs-devel-6.7.1-200.fc39.x86_64.rpm
[====================================] 100% 162.28 KiB / 162.28 KiB
Downloading [2/29]: perf-6.7.1-200.fc39.x86_64.rpm
[====================================] 100% 2.38 MiB / 2.38 MiB
Downloading [3/29]: rtla-6.7.1-200.fc39.x86_64.rpm
[====================================] 100% 207.90 KiB / 207.90 KiB
Downloading [4/29]: python3-perf-6.7.1-200.fc39.x86_64.rpm
[====================================] 100% 260.97 KiB / 260.97 KiB
Downloading [5/29]: kernel-modules-internal-6.7.1-200.fc39.x86_64.rpm
[====================================] 100% 1.07 MiB / 1.07 MiB
Downloading [6/29]: kernel-tools-6.7.1-200.fc39.x86_64.rpm
[====================================] 100% 409.76 KiB / 409.76 KiB
Downloading [7/29]: kernel-selftests-internal-6.7.1-200.fc39.x86_64.rpm
[====================================] 100% 1.45 MiB / 1.45 MiB
Downloading [8/29]: kernel-debug-modules-internal-6.7.1-200.fc39.x86_64.rpm
[====================================] 100% 1.62 MiB / 1.62 MiB
Downloading [9/29]: kernel-modules-extra-6.7.1-200.fc39.x86_64.rpm
[====================================] 100% 2.62 MiB / 2.62 MiB
Downloading [10/29]: kernel-debug-modules-extra-6.7.1-200.fc39.x86_64.rpm
[====================================] 100% 4.60 MiB / 4.60 MiB
Downloading [11/29]: libperf-devel-6.7.1-200.fc39.x86_64.rpm
[====================================] 100% 190.84 KiB / 190.84 KiB
Downloading [12/29]: rv-6.7.1-200.fc39.x86_64.rpm
[====================================] 100% 172.16 KiB / 172.16 KiB
Downloading [13/29]: libperf-6.7.1-200.fc39.x86_64.rpm
[====================================] 100% 177.72 KiB / 177.72 KiB
Downloading [14/29]: bpftool-6.7.1-200.fc39.x86_64.rpm
[====================================] 100% 979.69 KiB / 979.69 KiB
Downloading [15/29]: kernel-6.7.1-200.fc39.x86_64.rpm
[====================================] 100% 158.91 KiB / 158.91 KiB
Downloading [16/29]: kernel-tools-libs-6.7.1-200.fc39.x86_64.rpm
[====================================] 100% 171.38 KiB / 171.38 KiB
Downloading [17/29]: kernel-debug-6.7.1-200.fc39.x86_64.rpm
[====================================] 100% 159.00 KiB / 159.00 KiB
Downloading [18/29]: kernel-devel-6.7.1-200.fc39.x86_64.rpm
[====================================] 100% 16.66 MiB / 16.66 MiB
Downloading [19/29]: kernel-debug-devel-6.7.1-200.fc39.x86_64.rpm
[====================================] 100% 16.81 MiB / 16.81 MiB
Downloading [20/29]: kernel-debug-devel-matched-6.7.1-200.fc39.x86_64.rpm
[====================================] 100% 158.99 KiB / 158.99 KiB
Downloading [21/29]: kernel-devel-matched-6.7.1-200.fc39.x86_64.rpm
[====================================] 100% 158.96 KiB / 158.96 KiB
Downloading [22/29]: kernel-debug-core-6.7.1-200.fc39.x86_64.rpm
[====================================] 100% 29.12 MiB / 29.12 MiB
Downloading [23/29]: kernel-modules-core-6.7.1-200.fc39.x86_64.rpm
[====================================] 100% 32.88 MiB / 32.88 MiB
Downloading [24/29]: kernel-core-6.7.1-200.fc39.x86_64.rpm
[====================================] 100% 16.16 MiB / 16.16 MiB
Downloading [25/29]: kernel-debug-modules-core-6.7.1-200.fc39.x86_64.rpm
[====================================] 100% 54.16 MiB / 54.16 MiB
Downloading [26/29]: kernel-modules-6.7.1-200.fc39.x86_64.rpm
[====================================] 100% 58.26 MiB / 58.26 MiB
Downloading [27/29]: kernel-debug-modules-6.7.1-200.fc39.x86_64.rpm
[====================================] 100% 98.18 MiB / 98.18 MiB
Downloading [28/29]: kernel-uki-virt-6.7.1-200.fc39.x86_64.rpm
[====================================] 100% 43.76 MiB / 43.76 MiB
Downloading [29/29]: kernel-debug-uki-virt-6.7.1-200.fc39.x86_64.rpm
[====================================] 100% 60.18 MiB / 60.18 MiB
*******************************************************************
(1) boris@Server39fedora:~/KERNEL671$ ls *.rpm |grep -v debug | grep -v uki > install.sh
boris@Server39fedora:~/KERNEL671$ chmod +x install.sh
(2) boris@Server39fedora:~/KERNEL671$ vi install.sh
==>
*********************************************************************
Now install rpms been built keeping dependencies resolved
boris@Server39fedora:~/KERNEL671$ ./install.sh
[sudo] password for boris:
Last metadata expiration check: 0:15:14 ago on Sun 21 Jan 2024 11:22:43 PM MSK.
Dependencies resolved.
=================================================================
Package Architecture Version Repository Size
=================================================================
Installing:
kernel x86_64 6.7.1-200.fc39 @commandline 159 k
kernel-core x86_64 6.7.1-200.fc39 @commandline 16 M
kernel-devel x86_64 6.7.1-200.fc39 @commandline 17 M
kernel-modules x86_64 6.7.1-200.fc39 @commandline 58 M
kernel-modules-core x86_64 6.7.1-200.fc39 @commandline 33 M
kernel-modules-internal x86_64 6.7.1-200.fc39 @commandline 1.1 M
libperf x86_64 6.7.1-200.fc39 @commandline 178 k
libperf-devel x86_64 6.7.1-200.fc39 @commandline 191 k
perf x86_64 6.7.1-200.fc39 @commandline 2.4 M
python3-perf x86_64 6.7.1-200.fc39 @commandline 261 k
rtla x86_64 6.7.1-200.fc39 @commandline 208 k
rv x86_64 6.7.1-200.fc39 @commandline 172 k
Upgrading:
bpftool x86_64 6.7.1-200.fc39 @commandline 980 k
kernel-devel-matched x86_64 6.7.1-200.fc39 @commandline 159 k
kernel-selftests-internal x86_64 6.7.1-200.fc39 @commandline 1.4 M
kernel-tools x86_64 6.7.1-200.fc39 @commandline 410 k
kernel-tools-libs x86_64 6.7.1-200.fc39 @commandline 171 k
kernel-tools-libs-devel x86_64 6.7.1-200.fc39 @commandline 162 k
Installing dependencies:
kernel-modules-extra x86_64 6.7.1-200.fc39 @commandline 2.6 M
libtraceevent x86_64 1.7.2-3.fc39 fedora 268 k
libtracefs x86_64 1.6.4-3.fc39 fedora 79 k
Removing:
kernel x86_64 6.6.9-200.fc39 @updates 0
kernel-core x86_64 6.6.9-200.fc39 @updates 66 M
kernel-modules x86_64 6.6.9-200.fc39 @updates 56 M
kernel-modules-core x86_64 6.6.9-200.fc39 @updates 31 M
kernel-modules-extra x86_64 6.6.9-200.fc39 @updates 2.4 M
Transaction Summary
=================================================================
Install 15 Packages
Upgrade 6 Packages
Remove 5 Packages
Total size: 135 M
Total download size: 347 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): libtracefs-1.6.4-3.fc39.x86_64.rpm 412 kB/s | 79 kB 00:00
(2/2): libtraceevent-1.7.2-3.fc39.x86_64.rpm 913 kB/s | 268 kB 00:00
------------------------------------------------------------------------------------------------
Total 320 kB/s | 347 kB 00:01
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : kernel-modules-core-6.7.1-200.fc39.x86_64 1/32
Installing : kernel-core-6.7.1-200.fc39.x86_64 2/32
Running scriptlet: kernel-core-6.7.1-200.fc39.x86_64 2/32
Installing : libtraceevent-1.7.2-3.fc39.x86_64 3/32
Installing : kernel-modules-6.7.1-200.fc39.x86_64 4/32
Running scriptlet: kernel-modules-6.7.1-200.fc39.x86_64 4/32
Installing : libtracefs-1.6.4-3.fc39.x86_64 5/32
Upgrading : kernel-tools-libs-6.7.1-200.fc39.x86_64 6/32
Running scriptlet: kernel-tools-libs-6.7.1-200.fc39.x86_64 6/32
Upgrading : kernel-tools-6.7.1-200.fc39.x86_64 7/32
Upgrading : bpftool-6.7.1-200.fc39.x86_64 8/32
Installing : libperf-6.7.1-200.fc39.x86_64 9/32
Installing : kernel-devel-6.7.1-200.fc39.x86_64 10/32
Running scriptlet: kernel-devel-6.7.1-200.fc39.x86_64 10/32
Upgrading : kernel-devel-matched-6.7.1-200.fc39.x86_64 11/32
Installing : libperf-devel-6.7.1-200.fc39.x86_64 12/32
Upgrading : kernel-selftests-internal-6.7.1-200.fc39.x86_64 13/32
Upgrading : kernel-tools-libs-devel-6.7.1-200.fc39.x86_64 14/32
Installing : rtla-6.7.1-200.fc39.x86_64 15/32
Installing : rv-6.7.1-200.fc39.x86_64 16/32
Installing : kernel-6.7.1-200.fc39.x86_64 17/32
Installing : kernel-modules-extra-6.7.1-200.fc39.x86_64 18/32
Running scriptlet: kernel-modules-extra-6.7.1-200.fc39.x86_64 18/32
Installing : kernel-modules-internal-6.7.1-200.fc39.x86_64 19/32
Running scriptlet: kernel-modules-internal-6.7.1-200.fc39.x86_64 19/32
Installing : perf-6.7.1-200.fc39.x86_64 20/32
Installing : python3-perf-6.7.1-200.fc39.x86_64 21/32
Erasing : kernel-modules-extra-6.6.9-200.fc39.x86_64 22/32
Running scriptlet: kernel-modules-extra-6.6.9-200.fc39.x86_64 22/32
Erasing : kernel-6.6.9-200.fc39.x86_64 23/32
Running scriptlet: kernel-6.6.9-200.fc39.x86_64 23/32
Cleanup : kernel-tools-libs-devel-6.7.0-200.fc39.x86_64 24/32
Erasing : kernel-modules-6.6.9-200.fc39.x86_64 25/32
Running scriptlet: kernel-modules-6.6.9-200.fc39.x86_64 25/32
Erasing : kernel-modules-core-6.6.9-200.fc39.x86_64 26/32
Running scriptlet: kernel-core-6.6.9-200.fc39.x86_64 27/32
Erasing : kernel-core-6.6.9-200.fc39.x86_64 27/32
Cleanup : kernel-devel-matched-6.7.0-200.fc39.x86_64 28/32
Cleanup : kernel-tools-6.7.0-200.fc39.x86_64 29/32
Cleanup : kernel-selftests-internal-6.7.0-200.fc39.x86_64 30/32
Cleanup : bpftool-6.6.3-200.fc39.x86_64 31/32
Cleanup : kernel-tools-libs-6.7.0-200.fc39.x86_64 32/32
Running scriptlet: kernel-tools-libs-6.7.0-200.fc39.x86_64 32/32
Running scriptlet: kernel-modules-core-6.7.1-200.fc39.x86_64 32/32
Running scriptlet: kernel-core-6.7.1-200.fc39.x86_64 32/32
Running scriptlet: kernel-modules-6.7.1-200.fc39.x86_64 32/32
Running scriptlet: kernel-tools-libs-6.7.0-200.fc39.x86_64 32/32
Verifying : libtraceevent-1.7.2-3.fc39.x86_64 1/32
Verifying : libtracefs-1.6.4-3.fc39.x86_64 2/32
Verifying : kernel-6.7.1-200.fc39.x86_64 3/32
Verifying : kernel-core-6.7.1-200.fc39.x86_64 4/32
Verifying : kernel-devel-6.7.1-200.fc39.x86_64 5/32
Verifying : kernel-modules-6.7.1-200.fc39.x86_64 6/32
Verifying : kernel-modules-core-6.7.1-200.fc39.x86_64 7/32
Verifying : kernel-modules-extra-6.7.1-200.fc39.x86_64 8/32
Verifying : kernel-modules-internal-6.7.1-200.fc39.x86_64 9/32
Verifying : libperf-6.7.1-200.fc39.x86_64 10/32
Verifying : libperf-devel-6.7.1-200.fc39.x86_64 11/32
Verifying : perf-6.7.1-200.fc39.x86_64 12/32
Verifying : python3-perf-6.7.1-200.fc39.x86_64 13/32
Verifying : rtla-6.7.1-200.fc39.x86_64 14/32
Verifying : rv-6.7.1-200.fc39.x86_64 15/32
Verifying : bpftool-6.7.1-200.fc39.x86_64 16/32
Verifying : bpftool-6.6.3-200.fc39.x86_64 17/32
Verifying : kernel-devel-matched-6.7.1-200.fc39.x86_64 18/32
Verifying : kernel-devel-matched-6.7.0-200.fc39.x86_64 19/32
Verifying : kernel-selftests-internal-6.7.1-200.fc39.x86_64 20/32
Verifying : kernel-selftests-internal-6.7.0-200.fc39.x86_64 21/32
Verifying : kernel-tools-6.7.1-200.fc39.x86_64 22/32
Verifying : kernel-tools-6.7.0-200.fc39.x86_64 23/32
Verifying : kernel-tools-libs-6.7.1-200.fc39.x86_64 24/32
Verifying : kernel-tools-libs-6.7.0-200.fc39.x86_64 25/32
Verifying : kernel-tools-libs-devel-6.7.1-200.fc39.x86_64 26/32
Verifying : kernel-tools-libs-devel-6.7.0-200.fc39.x86_64 27/32
Verifying : kernel-6.6.9-200.fc39.x86_64 28/32
Verifying : kernel-core-6.6.9-200.fc39.x86_64 29/32
Verifying : kernel-modules-6.6.9-200.fc39.x86_64 30/32
Verifying : kernel-modules-core-6.6.9-200.fc39.x86_64 31/32
Verifying : kernel-modules-extra-6.6.9-200.fc39.x86_64 32/32
Upgraded:
bpftool-6.7.1-200.fc39.x86_64 kernel-devel-matched-6.7.1-200.fc39.x86_64
kernel-selftests-internal-6.7.1-200.fc39.x86_64 kernel-tools-6.7.1-200.fc39.x86_64
kernel-tools-libs-6.7.1-200.fc39.x86_64 kernel-tools-libs-devel-6.7.1-200.fc39.x86_64
Installed:
kernel-6.7.1-200.fc39.x86_64 kernel-core-6.7.1-200.fc39.x86_64
kernel-devel-6.7.1-200.fc39.x86_64 kernel-modules-6.7.1-200.fc39.x86_64
kernel-modules-core-6.7.1-200.fc39.x86_64 kernel-modules-extra-6.7.1-200.fc39.x86_64
kernel-modules-internal-6.7.1-200.fc39.x86_64 libperf-6.7.1-200.fc39.x86_64
libperf-devel-6.7.1-200.fc39.x86_64 libtraceevent-1.7.2-3.fc39.x86_64
libtracefs-1.6.4-3.fc39.x86_64 perf-6.7.1-200.fc39.x86_64
python3-perf-6.7.1-200.fc39.x86_64 rtla-6.7.1-200.fc39.x86_64
rv-6.7.1-200.fc39.x86_64
Removed:
kernel-6.6.9-200.fc39.x86_64 kernel-core-6.6.9-200.fc39.x86_64
kernel-modules-6.6.9-200.fc39.x86_64 kernel-modules-core-6.6.9-200.fc39.x86_64
kernel-modules-extra-6.6.9-200.fc39.x86_64
Complete!
Reboot VM and load the kernel 6.7.1