Information for package kernel
http://koji.fedoraproject.org/koji/packageinfo?packageID=8
dnf install kernel-4.4.3-300.fc23
dnf install kernel-devel-4.4.3-300.fc23
dnf install kernel-headers-4.4.3-300.fc23
dnf install kernel-debug-devel-4.4.3-300.fc23
kernel x86_64 4.4.3-300.fc23 fedora 46 k
kernel-core x86_64 4.4.3-300.fc23 fedora 20 M
kernel-modules x86_64 4.4.3-300.fc23 fedora 18 M
kernel-modules-extra x86_64 4.4.3-300.fc23 fedora
kernel-devel x86_64 4.4.3-300.fc23 fedora 9.8 M
kernel-headers x86_64 4.4.3-300.fc23 fedora 987 k
kernel-debug-devel x86_64 4.4.3-300.fc23 fedora 9.9 M
Information for build kernel-4.4.3-300.fc23
http://koji.fedoraproject.org/koji/buildinfo?buildID=715046
wget https://kojipkgs.fedoraproject.org//packages/kernel/4.4.3/300.fc23/x86_64/kernel-debug-devel-4.4.3-300.fc23.x86_64.rpm
wget https://kojipkgs.fedoraproject.org//packages/kernel/4.4.3/300.fc23/x86_64/kernel-devel-4.4.3-300.fc23.x86_64.rpm
wget https://kojipkgs.fedoraproject.org//packages/kernel/4.4.3/300.fc23/x86_64/kernel-core-4.4.3-300.fc23.x86_64.rpm
wget https://kojipkgs.fedoraproject.org//packages/kernel/4.4.3/300.fc23/x86_64/kernel-modules-4.4.3-300.fc23.x86_64.rpm
wget https://kojipkgs.fedoraproject.org//packages/kernel/4.4.3/300.fc23/x86_64/kernel-modules-extra-4.4.3-300.fc23.x86_64.rpm
wget https://kojipkgs.fedoraproject.org//packages/kernel/4.4.3/300.fc23/x86_64/kernel-4.4.3-300.fc23.x86_64.rpm
wget https://kojipkgs.fedoraproject.org//packages/kernel/4.4.3/300.fc23/x86_64/kernel-headers-4.4.3-300.fc23.x86_64.rpm
下面按顺序 执行
rpm -ivh kernel-debug-devel-4.4.3-300.fc23.x86_64.rpm
rpm -ivh kernel-devel-4.4.3-300.fc23.x86_64.rpm
rpm -ivh kernel-core-4.4.3-300.fc23.x86_64.rpm
rpm -ivh kernel-modules-4.4.3-300.fc23.x86_64.rpm
rpm -ivh kernel-modules-extra-4.4.3-300.fc23.x86_64.rpm
rpm -ivh kernel-4.4.3-300.fc23.x86_64.rpm
暂时没有执行
rpm -ivh kernel-headers-4.4.3-300.fc23.x86_64.rpm
[root@localhost kernel-rpm]# rpm -ivh kernel-headers-4.4.3-300.fc23.x86_64.rpm
错误:依赖检测失败:
kernel-headers < 4.4.8-300.fc23 被 (已安裝) kernel-headers-4.4.8-300.fc23.x86_64 取代
-----------------------------------------------------------------------------
rpm --oldpackage -ivh kernel-debug-devel-4.4.3-300.fc23.x86_64.rpm
rpm --oldpackage -ivh kernel-devel-4.4.3-300.fc23.x86_64.rpm
rpm --oldpackage -ivh kernel-core-4.4.3-300.fc23.x86_64.rpm
rpm --oldpackage -ivh kernel-modules-4.4.3-300.fc23.x86_64.rpm
rpm --oldpackage -ivh kernel-modules-extra-4.4.3-300.fc23.x86_64.rpm
rpm --oldpackage -ivh kernel-4.4.3-300.fc23.x86_64.rpm
下面由于版本问题,暂时不执行
rpm --oldpackage -ivh kernel-headers-4.4.3-300.fc23.x86_64.rpm
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
dnf - Fedora23——删除多余不用的内核
http://blog.csdn.net/ztguang/article/details/51302063
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[root@localhost ~]# uname -r
uname -r
4.3.5-300.fc23.x86_64
[root@localhost ~]# rpm -qa | grep kernel |grep 4.4.8
rpm -qa | grep kernel |grep 4.4.8
kernel-core-4.4.8-300.fc23.x86_64
kernel-headers-4.4.8-300.fc23.x86_64
kernel-modules-4.4.8-300.fc23.x86_64
kernel-modules-extra-4.4.8-300.fc23.x86_64
kernel-devel-4.4.8-300.fc23.x86_64
kernel-4.4.8-300.fc23.x86_64
[root@localhost ~]#
dnf remove kernel-core-4.4.8-300.fc23.x86_64
dnf remove kernel-devel-4.4.8-300.fc23.x86_64
dnf remove kernel-modules-4.4.8-300.fc23.x86_64
dnf remove kernel-modules-extra-4.4.8-300.fc23.x86_64
dnf remove kernel-4.4.8-300.fc23.x86_64
下面这条命令暂时不执行,因为要删除的包太多
dnf remove kernel-headers-4.4.8-300.fc23.x86_64
[root@localhost ~]# dnf remove kernel-headers-4.4.8-300.fc23.x86_64
===================================================================
移除 226 软件包
安装大小:754 M
确定吗?[y/N]: n
操作中止。
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
删除内核:4.3.5
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[root@localhost ~]# rpm -qa | grep kernel |grep 4.3.5
kernel-modules-4.3.5-300.fc23.x86_64
kernel-4.3.5-300.fc23.x86_64
kernel-devel-4.3.5-300.fc23.x86_64
kernel-core-4.3.5-300.fc23.x86_64
kernel-modules-extra-4.3.5-300.fc23.x86_64
kernel-debug-devel-4.3.5-300.fc23.x86_64
[root@localhost ~]#
dnf remove kernel-modules-4.3.5-300.fc23.x86_64
dnf remove kernel-4.3.5-300.fc23.x86_64
dnf remove kernel-devel-4.3.5-300.fc23.x86_64
dnf remove kernel-core-4.3.5-300.fc23.x86_64
dnf remove kernel-modules-extra-4.3.5-300.fc23.x86_64
dnf remove kernel-debug-devel-4.3.5-300.fc23.x86_64
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++