rpm安装时出现的问题!!救急

rpm安装时出现的问题!!救急

今天,想要装一些redhat9的更新程序,于是从网上下载了些更新软件。然而,当我要装的时候,出现了如下的错误(不知何因):

[root@mshome redhat updater]# rpm -ivh mozilla-1.4.3-0.9.1.legacy.src.rpm
warning: mozilla-1.4.3-0.9.1.legacy.src.rpm: V3 DSA signature: NOKEY, key ID 731
002fa
warning: user machbuild does not exist - using root
warning: group machbuild does not exist - using root
warning: user machbuild does not exist - using root
warning: group machbuild does not exist - using root
warning: user machbuild does not exist - using root
warning: group machbuild does not exist - using root
warning: user machbuild does not exist - using root
warning: group machbuild does not exist - using root
warning: user machbuild does not exist - using root
warning: group machbuild does not exist - using root
warning: user machbuild does not exist - using root
warning: group machbuild does not exist - using root
warning: user machbuild does not exist - using root
warning: group machbuild does not exist - using root
warning: user machbuild does not exist - using root
warning: group machbuild does not exist - using root
warning: user machbuild does not exist - using root
warning: group machbuild does not exist - using root
warning: user machbuild does not exist - using root
warning: group machbuild does not exist - using root
warning: user machbuild does not exist - using root
warning: group machbuild does not exist - using root
warning: user machbuild does not exist - using root
warning: group machbuild does not exist - using root
warning: user machbuild does not exist - using root
warning: group machbuild does not exist - using root
warning: user machbuild does not exist - using root
warning: group machbuild does not exist - using root
warning: user machbuild does not exist - using root
warning: group machbuild does not exist - using root
warning: user machbuild does not exist - using root
warning: group machbuild does not exist - using root
warning: user machbuild does not exist - using root
warning: group machbuild does not exist - using root
warning: user machbuild does not exist - using root
warning: group machbuild does not exist - using root
warning: user machbuild does not exist - using root
warning: group machbuild does not exist - using root
warning: user machbuild does not exist - using root
warning: group machbuild does not exist - using root
warning: user machbuild does not exist - using root
warning: group machbuild does not exist - using root
warning: user machbuild does not exist - using root
warning: group machbuild does not exist - using root
warning: user machbuild does not exist - using root
warning: group machbuild does not exist - using root
warning: user machbuild does not exist - using root
warning: group machbuild does not exist - using root
warning: user machbuild does not exist - using root
warning: group machbuild does not exist - using root
warning: user machbuild does not exist - using root
warning: group machbuild does not exist - using root
warning: user machbuild does not exist - using root
warning: group machbuild does not exist - using root
warning: user machbuild does not exist - using root
warning: group machbuild does not exist - using root
warning: user machbuild does not exist - using root
warning: group machbuild does not exist - using root
warning: user machbuild does not exist - using root
warning: group machbuild does not exist - using root
warning: user machbuild does not exist - using root
warning: group machbuild does not exist - using root
warning: user machbuild does not exist - using root
warning: group machbuild does not exist - using root
warning: user machbuild does not exist - using root
warning: group machbuild does not exist - using root
warning: user machbuild does not exist - using root
warning: group machbuild does not exist - using root
warning: user machbuild does not exist - using root
warning: group machbuild does not exist - using root
warning: user machbuild does not exist - using root
warning: group machbuild does not exist - using root
warning: user machbuild does not exist - using root
warning: group machbuild does not exist - using root
warning: user machbuild does not exist - using root
[root@mshome redhat updater]# rpm -ivh glibc-2.3.2-27.9.7.src.rpm
warning: glibc-2.3.2-27.9.7.src.rpm: V3 DSA signature: NOKEY, key ID db42a60e
   1:glibc                  ########################################### [100%]


各位大虾,多多指点哦!
先谢了!
build it first.
首先什么呢???

就是一个rpm包么!

什么是V3 DSA signature: NOKEY, key ID db42a60e??
如何处理呢?
src.rpm为结尾的rpm不是真正直安装的rpm包,需要进行处理一下。
*********************************************************
如何安装.src.rpm软件包
有些软件包是以.src.rpm结尾的,这类软件包是包含了源代码的rpm包,在安装时
需要进行编译。这类软件包有两种安装方法,
方法一:
1.执行rpm -i your-package.src.rpm
2. cd /usr/src/redhat/SPECS
3. rpmbuild -bp your-package.specs 一个和你的软件包同名的specs文件
4. cd /usr/src/redhat/BUILD/your-package/ 一个和你的软件包同名的目录
5. ./configure 这一步和编译普通的源码软件一样,可以加上参数
6. make
7. make install

方法二:
1.执行rpm -i you-package.src.rpm
2. cd /usr/src/redhat/SPECS
前两步和方法一相同
3. rpmbuild -bb your-package.specs 一个和你的软件包同名的specs文件
这时,在/usr/src/redhat/RPM/i386/ (根据具体包的不同,也可能是i686,noarch等等)
在这个目录下,有一个新的rpm包,这个是编译好的二进制文件。
执行rpm -i new-package.rpm即可安装完成。
rpmbuild --rebuild *.src.rpm ,只要编译通过就可以在/usr/src/linux/RPMS下生成可用的同名的二进制rpm包了。
为什么不下编好的二进制包呢?
谢谢!