[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Problems with my redhat DB



Hetz Ben Hamo wrote:
> 
> Any suggestion of how to rebuild the database again or do I need to
> re-install everything (which will be a disaster for me)...

I've not done this in ages, but I seem to recall putting all the
installed RPMS in one directory and:
  rm -f /var/lib/rpm/*
  rpm --initdb
  rpm -i --justdb --noscripts --nodeps --force *
You might want to backup /var/lib/rpm before you remove it.

--
Andrew E. Mileski
Ottawa, Canada





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []