LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 676|回复: 2

升级内核,从2.4升到2.6的问题,高手们一定要帮帮忙啊

[复制链接]
发表于 2005-2-11 02:05:37 | 显示全部楼层 |阅读模式
我从2.4内核升至2.6后,有几个怪问题,请帮忙看看:
在2.4下添加XDSL联接没有问题,而在2.6下添加就出现如下错误代码:
Component: redhat-config-network
Version: 1.2.0
Summary: TB /usr/src/build/226257-noarch/install/usr/share/redhat-confignetwork/netconfpkg/NC_functions.py:119:rpms_notinstalled:TypeError: rpmdb open failed
Traceback (most recent call last):
  File "/usr/src/build/226257-noarch/install/usr/share/redhat-config-network/netconfpkg/gui/NewInterfaceDialog.py", line 144, in on_start_page_next
  File "/usr/src/build/226257-noarch/install/usr/share/redhat-config-network/netconfpkg/gui/ADSLInterface.py", line 110, in get_druids
  File "/usr/src/build/226257-noarch/install/usr/share/redhat-config-network/netconfpkg/gui/ADSLInterface.py", line 56, in init_gui
  File "/usr/src/build/226257-noarch/install/usr/share/redhat-config-network/netconfpkg/NC_functions.py", line 144, in request_rpms
  File "/usr/src/build/226257-noarch/install/usr/share/redhat-config-network/netconfpkg/NC_functions.py", line 119, in rpms_notinstalled
TypeError: rpmdb open failed
好像是说rpmdb打开失败,这是怎么回事?

还有我重设rpm,出现如下错误代码:
[root@localhost rpm]# rm -f _db*
[root@localhost rpm]# rpm -vv --rebuilddb
D: rebuilding database /var/lib/rpm into /var/lib/rpmrebuilddb.3023
D: creating directory /var/lib/rpmrebuilddb.3023
D: opening old database with dbapi 3
D: opening  db environment /var/lib/rpm/Packages joinenv
rpmdb: unable to join the environment
error: db4 error(11) from dbenv->open: 资源暂时不可用
D: opening  db index       /var/lib/rpm/Packages rdonly mode=0x0
error: cannot open Packages index
D: removing directory /var/lib/rpmrebuilddb.3023

还有在2.4下能正常使用我的U盘,在2.6下就无法找到U盘,我的U口是2.0的,不知道是不是我在编内核时少编了什么?在下第一次使用linux,在研究了数日,实在是没法子了,请大家帮帮我。谢谢了。
发表于 2005-2-11 11:21:20 | 显示全部楼层
如果是自己编译的内核,需要把usb支持编译到内核中去,否则U盘就用不了的。建议再次编译内核时参考一下精华区里的贴子。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-2-11 23:37:22 | 显示全部楼层
可是我把USB中所有能选的都选上了,可还是不行啊。
而且RPM的问题,我在精华贴中找到了答案,要升级RPM,我下了rpm-4.2-1.i386.rpm,运行后,如下代码:
[root@localhost liuzj]# rpm -ivh rpm-4.2-1.i386.rpm
warning: rpm-4.2-1.i386.rpm: V3 DSA signature: NOKEY, key ID 2039b291
Preparing...                ########################################### [100%]
        file /bin/rpm from install of rpm-4.2-1 conflicts with file from package rpm-4.2-0.69
        file /usr/bin/rpm2cpio from install of rpm-4.2-1 conflicts with file from package rpm-4.2-0.69
        file /usr/lib/librpm-4.2.so from install of rpm-4.2-1 conflicts with file from package rpm-4.2-0.69
        file /usr/lib/librpmbuild-4.2.so from install of rpm-4.2-1 conflicts with file from package rpm-4.2-0.69
        file /usr/lib/librpmdb-4.2.so from install of rpm-4.2-1 conflicts with file from package rpm-4.2-0.69
        file /usr/lib/librpmio-4.2.so from install of rpm-4.2-1 conflicts with file from package rpm-4.2-0.69
        file /usr/lib/rpm/macros from install of rpm-4.2-1 conflicts with file from package rpm-4.2-0.69
        file /usr/lib/rpm/rpmd from install of rpm-4.2-1 conflicts with file from package rpm-4.2-0.69
        file /usr/lib/rpm/rpmi from install of rpm-4.2-1 conflicts with file from package rpm-4.2-0.69
        file /usr/lib/rpm/rpmk from install of rpm-4.2-1 conflicts with file from package rpm-4.2-0.69
        file /usr/lib/rpm/rpmq from install of rpm-4.2-1 conflicts with file from package rpm-4.2-0.69
        file /usr/share/man/ja/man8/rpm.8.gz from install of rpm-4.2-1 conflicts with file from package rpm-4.2-0.69
        file /usr/share/man/ja/man8/rpm2cpio.8.gz from install of rpm-4.2-1 conflicts with file from package rpm-4.2-0.69
        file /usr/share/man/man1/gendiff.1.gz from install of rpm-4.2-1 conflicts with file from package rpm-4.2-0.69
        file /usr/share/man/man8/rpm.8.gz from install of rpm-4.2-1 conflicts with file from package rpm-4.2-0.69
        file /usr/share/man/man8/rpm2cpio.8.gz from install of rpm-4.2-1 conflicts with file from package rpm-4.2-0.69
        file /usr/share/man/pl/man8/rpm.8.gz from install of rpm-4.2-1 conflicts with file from package rpm-4.2-0.69
        file /usr/share/man/pl/man8/rpm2cpio.8.gz from install of rpm-4.2-1 conflicts with file from package rpm-4.2-0.69
        file /usr/share/man/ru/man8/rpm.8.gz from install of rpm-4.2-1 conflicts with file from package rpm-4.2-0.69
        file /usr/share/man/ru/man8/rpm2cpio.8.gz from install of rpm-4.2-1 conflicts with file from package rpm-4.2-0.69
        file /usr/share/man/sk/man8/rpm.8.gz from install of rpm-4.2-1 conflicts with file from package rpm-4.2-0.69
这样是不是安装好了呢?一开始指示NOKEY,是什么意思?而且这样后升级后RPM的问题好像没还有解决啊,有谁能看看啊。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表