ITPub博客

首页 > 数据库 > Oracle > [20260530]DNF error Error in POSTTRANS script let rpm package kernel-core

[20260530]DNF error Error in POSTTRANS script let rpm package kernel-core

原创 Oracle 作者:lfree 时间:2026-05-31 20:29:46 0 删除 编辑

[20260530]安装centos 9,出现DNF error Error in POSTTRANS script let rpm package kernel-core.txt

在虚拟机器上安装CentOS Stream 9,安装iso文件为CentOS-Stream-9-latest-x86_64-dvd1.iso.
安装遇到如下问题:
DNF error: Error in POSTTRANS script let rpm package kernel-core

--//上网查询,给出几个建议。
1./boot分区空间不足,建议设置大于500M,注我测试300M还是报以上错误。
2.下载的包检查和存在问题.

--//我的解决方法比较武断,不建立/boot分区,仅仅建立2个分区根以及swap。

--//顺便提一下,这个版本在虚拟机器上使用键盘很难安装操作,主要原因是全程只能使用键盘操作,而显示按钮在背景下经常不知道移
--//动到那里。而且一些界面进入不知道如何退出,比如不小心进入help界面,不知道如何关闭。

--//安装完成后,重新启动,选择新建1个用户.安装成功。

# du -sm /boot/
394     /boot/
--//竟然达到接近400M。
--//估计以后9以上的版本,建议单独建立boot分区至少1024M!!

# du -sm /boot/*
1       /boot/config-5.14.0-704.el9.x86_64
0       /boot/efi
11      /boot/grub2
254     /boot/initramfs-0-rescue-30f917f960694f36bf278c5cad17eac7.img
57      /boot/initramfs-5.14.0-704.el9.x86_64.img
35      /boot/initramfs-5.14.0-704.el9.x86_64kdump.img
1       /boot/loader
0       /boot/symvers-5.14.0-704.el9.x86_64.gz
10      /boot/System.map-5.14.0-704.el9.x86_64
15      /boot/vmlinuz-0-rescue-30f917f960694f36bf278c5cad17eac7
15      /boot/vmlinuz-5.14.0-704.el9.x86_64
*/
--//主要是应急的initramfs-0-rescue-30f917f960694f36bf278c5cad17eac7.img文件达到254M。


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/267265/viewspace-3172737/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
熟悉oracle相关技术,擅长sql优化,rman备份与恢复,熟悉linux shell编程。

注册时间:2008-01-03

  • 博文量
    4006
  • 访问量
    7968890