免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1790 | 回复: 2
打印 上一主题 下一主题

Problem with the RPM after kernel's rebuilding. [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-12-30 14:27 |只看该作者 |倒序浏览
The pre-install system is RH9 with the 2.4.20 kernel. I download the latest kernel 2.6.0 , then succesfuly rebuild and install it. Every thing seems ok. But when I run RPM, it give me this message:

[root@yikun root]# rpm -qa
rpmdb: unable to join the environment
error: db4 error(11) from dbenv->;open: Resource temporarily unavailable
error: cannot open Packages index using db3 - Resource temporarily unavailable (11)
error: cannot open Packages database in /var/lib/rpm
no packages
[root@yikun root]#

But this command can run correctly under the original kernel 2.4.20, when I reboot with the old one.

During the kernel's rebuilding, I had installed the atrpms.

How can I recovery it?

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
2 [报告]
发表于 2003-12-30 15:07 |只看该作者

Problem with the RPM after kernel's rebuilding.

你升内核的时候没有备份原来的启动信息吗?

你安装了什么rpm包

论坛徽章:
0
3 [报告]
发表于 2003-12-30 15:15 |只看该作者

Problem with the RPM after kernel's rebuilding.

No, I do not backup any boot info.

I had install the apt(advance package tools): atrpms-kickstart-19-1.rh9.at.i386.rpm
and db4: db4-4.1.25-10.i386.rpm.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP