rpm acting odd on fresh install

Rick Stevens rstevens at vitalstream.com
Mon Jun 19 17:34:58 UTC 2006


On Sun, 2006-06-18 at 21:03 -0400, tyche wrote:
> this morning i installed fc2 on a comp. went to add some 
> other programs to it via rpm -i rpm returns:
> 
> error: rpmsdb NextIterator: skipping h#         246 header 
> V3 DSA signature: BAD, key ID 4f2a6fd2
> 
> those programs that rpm doesnt error out with it gives a 
> depends on error. even if the dependacy is there. when you 
> try to reinstall the dependancy, you get the same error 
> message with a different header #
> 
> any idea how to fix?

Become the root user and perform the following steps:

	1.  # cd /var/lib/rpm
	2.  # rm -f __db.*
	3.  # rpm --rebuilddb

This rebuilds the database files for RPM.  Once that's all done, you can
try to do your "rpm -i" commands to install the packages you want.

Give it a try and let us know how you get along.  Also note that FC2 is
quite old and I'm not even sure Fedora Legacy is still supporting it.
The current release of Fedora Core is FC5.

----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-  Jimmie crack corn and I don't care...what kind of lousy attitude  -
-                 is THAT to have, huh?   -- Dennis Miller           -
----------------------------------------------------------------------




More information about the Redhat-install-list mailing list