rpm acting odd on fresh install
Rick Stevens
rstevens at vitalstream.com
Wed Jun 21 18:25:54 UTC 2006
On Tue, 2006-06-20 at 19:07 -0400, tyche wrote:
> Rick Stevens wrote:
> > On Mon, 2006-06-19 at 16:48 -0400, tyche wrote:
> >
> >>Rick Stevens wrote:
> >>
> >>>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.
> >>>
> >>
> >>dont have the resources to upgrade beyond that right now.
> >>could always go back to rh8
> >
> >
> > RH8 is even older! FC5 is free.
>
> i know. its not the price of the cdrom that is the bother,
> its upgrading the system.
>
> >
> >
> >>will let you know about that database
> >
> >
> > Ok.
> deleted the db files, had a screen full of key errors go
> whipping by.
What? By doing "rm -f __db.*"? If that's the case, then the filesystem
is suspect, kemosabe, and you'd better fix that BEFORE you do anything
else.
> rebuild, same problem, tho i can use -i --force
> -- nodeps. but most of the packages installed are there
> (gawk for instance, isnt recognized as being installed by
> rpm tho it does run)
Again, if the "rm -f" stuff spewed errors, you have far, FAR more
serious problems.
>
> as for the no support, can always download the source and
> recompile. its just getting the source codes that is a pain.
>
> tia, will keep trying the rpm files in /var see what is what
> in there. will keep ya updated on progress.
Please do.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- Try to look unimportant. The bad guys may be low on ammo. -
----------------------------------------------------------------------
More information about the Redhat-install-list
mailing list