John Aldrich wrote:
> 
> On Thu, 17 Aug 2000, you wrote:
> > John Aldrich wrote:
> > >
> > > On Thu, 17 Aug 2000, you wrote:
> > > > I tried to upgrade rpm on a workstation and in the course of doing so, I
> > > > seem to have smoked the database.  How can I rebuild the rpm database (I
> > > > don't have a backup of this box)?
> > > >
> > > > I even tried to do a reinstall (install, not upgrade), but the
> > > > installation seemed to never try to load any rpm's and just indicated a
> > > > successful install.  Since I seem to now have an empty rpm database, I
> > > > can't load any database without getting dependency faults.
> > > >
> > > > I haven't been able to find anything in the list archives to help.
> > > >
> > > rpm --rebuilddb
> > > Caveat: This is reported NOT to work if you installed RPM4 in a
> > > RedHat 6.x box. You need RMP 3.0.5 to install "newer" rpms.
> > >         John
> >
> > Yup-- I've got RPM4 and rebuilddb does nada.  What else can I try??
> >
> Step back to 3.0.5. Or, perhaps grab the source tarball and compile
> RPM4. My recollection (from this list) is that the RedHat RPM is
> corrupt and will corrupt your rpm database.
> Personally I'm waiting for RedHat 7.1 before I upgrade! ;-) I wanna
> make sure all these major changes have the bugs worked out of 'em
> first! ;-)
>         Jonhn
> 
I had to use the tarball since with no database, I couldn't use an rpm
to install rpm.  I also had to find out where the install script put
everything.  Once I got the tarred version of the older rpm installed, I
was able to rebuild the database (once I found where the tarred version
wanted it, and then I re-installed rpm from the rpm version and copied
over the rebuild databse.  I'm back to normal.

Thanks for your help.

Fred



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to