I have this preferences:
# yum info kernel|grep -E "Name|Version|Release"
Name : kernel
Version : 3.13.6
Release : 200.fc20
# yum info kernel-devel
Installed Packages
Name : kernel-devel
Arch : i686
Version : 3.11.10
Release : 301.fc20
Size : 31 M
Repo : installed
From repo : fedora
Summary : Development package for building kernel modules to match the
: kernel
URL : http://www.kernel.org/
License : GPLv2 and Redistributable, no modification permitted
Description : This package provides kernel headers and makefiles sufficient to
: build modules against the kernel package.
Name : kernel-devel
Arch : i686
Version : 3.13.6
Release : 200.fc20
Size : 31 M
Repo : installed
From repo : updates
Summary : Development package for building kernel modules to match the
: kernel
URL : http://www.kernel.org/
License : GPLv2 and Redistributable, no modification permitted
Description : This package provides kernel headers and makefiles sufficient to
: build modules against the kernel package.
# uname -r
3.11.10-301.fc20.i686+PAE
All installed packages:
#rpm -qa | grep ^kernel
kernel-devel-3.13.6-200.fc20.i686
kernel-devel-3.11.10-301.fc20.i686
kernel-PAE-devel-3.11.10-301.fc20.i686
kernel-PAE-3.11.10-301.fc20.i686
kernel-headers-3.13.6-200.fc20.i686
When I try to install some_package.rpm
it says that kernel and kernel-devel versions are different.
How it could be fixed?
Use this to have the kernel devel version the same as your kernel version:
sudo yum install "kernel-devel-uname-r == $(uname -r)"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With