Problem installing kernel RPM

Issues related to applications and software problems
Post Reply
smc80921
Posts: 3
Joined: 2023/03/09 19:42:24

Problem installing kernel RPM

Post by smc80921 » 2023/03/09 19:44:48

This dependency error makes no sense to me, what am I missing?

TIA


# yum install kernel-5.19.9-200.fc36.x86_64.rpm kernel-core-5.19.9-200.fc36.x86_64.rpm kernel-modules-5.19.9-200.fc36.x86_64.rpm
Loaded plugins: fastestmirror, langpacks
Examining kernel-5.19.9-200.fc36.x86_64.rpm: kernel-5.19.9-200.fc36.x86_64
Marking kernel-5.19.9-200.fc36.x86_64.rpm to be installed
Marking kernel-5.19.9-200.fc36.x86_64.rpm to be installed
Marking kernel-5.19.9-200.fc36.x86_64.rpm to be installed
Examining kernel-core-5.19.9-200.fc36.x86_64.rpm: kernel-core-5.19.9-200.fc36.x86_64
Marking kernel-core-5.19.9-200.fc36.x86_64.rpm to be installed
Examining kernel-modules-5.19.9-200.fc36.x86_64.rpm: kernel-modules-5.19.9-200.fc36.x86_64
Marking kernel-modules-5.19.9-200.fc36.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package kernel.x86_64 0:5.19.9-200.fc36 will be installed
---> Package kernel-core.x86_64 0:5.19.9-200.fc36 will be installed
--> Processing Dependency: ((linux-firmware >= 20150904-56.git6ebf5d57) if linux-firmware) for package: kernel-core-5.19.9-200.fc36.x86_64
Loading mirror speeds from cached hostfile
* base: mirrors.xmission.com
* centos-sclo-rh: mirrors.xtom.com
* centos-sclo-sclo: repo.ialab.dsu.edu
* elrepo: dfw.mirror.rackspace.com
* epel: ix-denver.mm.fcix.net
* extras: centos-distro.1gservers.com
* updates: repos.forethought.net
---> Package kernel-modules.x86_64 0:5.19.9-200.fc36 will be installed
--> Finished Dependency Resolution
Error: Package: kernel-core-5.19.9-200.fc36.x86_64 (/kernel-core-5.19.9-200.fc36.x86_64)
Requires: ((linux-firmware >= 20150904-56.git6ebf5d57) if linux-firmware)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
# rpm -qa|grep linux-firmware
linux-firmware-20200421-80.git78c0348.el7_9.noarch

User avatar
toracat
Site Admin
Posts: 7518
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

Re: Problem installing kernel RPM

Post by toracat » 2023/03/10 00:25:57

Looks like you are trying to install a Fedora kernel on CentOS 7. That is not going to work.
CentOS Forum FAQ

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Problem installing kernel RPM

Post by TrevorH » 2023/03/10 01:02:46

If you want a newer version of the kernel than the distro ships then look at ELRepo. But why would you?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

smc80921
Posts: 3
Joined: 2023/03/09 19:42:24

Re: Problem installing kernel RPM

Post by smc80921 » 2023/03/10 18:55:36

Crap, I thought I has put a fedora kernel on centos before. Here's my problem, I need a 5.19 kernel for a number of things that are not in the very old 3.10 kernel, I think 5.18 is my minimum. I can't go to a later distro because of glibc issues. ELRepo has nothing between 5.4 and 6.2, and 6.2 won't boot on the x86 SBC I'm working with.

I built a 5.19 kernel and did a make install, but I need a better way to distribute the kernel to others. It looks like building an RPM from an upstream kernel is a gnarly task, is there a shortcut I'm not seeing?

User avatar
toracat
Site Admin
Posts: 7518
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

Re: Problem installing kernel RPM

Post by toracat » 2023/03/11 02:41:36

Building a kernel RPM is not that hard. First go to section 2 of I Need the Kernel Source and then follow the instructions in I Need to Build a Custom Kernel.
CentOS Forum FAQ

smc80921
Posts: 3
Joined: 2023/03/09 19:42:24

Re: Problem installing kernel RPM

Post by smc80921 » 2023/03/11 02:48:57

I'm an old man. Thanks for the link

Post Reply