yum reinstall 安装两个内核

yum reinstall 安装两个内核

如下所示,据我所知,可能安装了两个内核版本。此外,我还得到了

grubby 致命错误:无法找到合适的模板

重新安装成功结束,但我需要了解我该做什么?

我只想要最新版本的内核,

附言:当我运行时:

cat /etc/redhat-release
**CentOS Linux release 7.6.1810 (Core)**

以下是“yum reinstall kernel”的输出:

**Resolving Dependencies
--> Running transaction check
---> Package kernel.x86_64 0:3.10.0-957.1.3.el7 will be installed
---> Package kernel.x86_64 0:3.10.0-957.5.1.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
========================================================================================================================
 Package                 Arch                    Version                                 Repository                Size
========================================================================================================================
Reinstalling:
 kernel                  x86_64                  3.10.0-957.1.3.el7                      updates                   48 M
 kernel                  x86_64                  3.10.0-957.5.1.el7                      updates                   48 M
Not available:
 kernel                  x86_64                  3.10.0-693.21.1.el7                     -                        0.0
 kernel                  x86_64                  3.10.0-862.14.4.el7                     -                        0.0
 kernel                  x86_64                  3.10.0-862.11.6.el7                     -                        0.0
Transaction Summary
========================================================================================================================
Reinstall      2 Packages
Not available  3 Packages
Total download size: 96 M
Installed size: 126 M
Downloading packages:
(1/2): kernel-3.10.0-957.1.3.el7.x86_64.rpm                                                      |  48 MB  00:00:03
(2/2): kernel-3.10.0-957.5.1.el7.x86_64.rpm                                                      |  48 MB  00:00:03
------------------------------------------------------------------------------------------------------------------------
Total                                                                                    28 MB/s |  96 MB  00:00:03
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : kernel-3.10.0-957.5.1.el7.x86_64                                                                     1/2
grubby fatal error: unable to find a suitable template
  Installing : kernel-3.10.0-957.1.3.el7.x86_64                                                                     2/2
grubby fatal error: unable to find a suitable template
  Verifying  : kernel-3.10.0-957.1.3.el7.x86_64                                                                     1/2
  Verifying  : kernel-3.10.0-957.5.1.el7.x86_64                                                                     2/2
Installed:
  kernel.x86_64 0:3.10.0-957.1.3.el7                         kernel.x86_64 0:3.10.0-957.5.1.el7
Complete!

相关内容