Larry Sword wrote:
> "Herman Van Keer (softouch)" wrote:
>
> > > > Can I recreate the database? Or do I have to reinstall every rpm to get
> > > > the database up to date?
> > > >
> > > > Thanks
> > > > Herman
> > >
> > > Try rpm --rebuilddb
> >
> > I tried that before (I should have told it), but this only rebuilds an
> > existing database - it does not recreate a database based on the installed
> > software.
> > Or do I miss something?
> >
> > Thanks anyway,
> > Herman
>
> I lost my db before and thought I had used the rpm --rebuilddb. However after
> reading the man rpm , Rebuilding Database Options, it may have been: rpm
--initdb?
Read that too, and tried it - but no - no new database - I installed two new
rpm's and those are the only one that are displayed, using rpm -qa
I even tried to restore the /var/lib/rpm/* - seems not to work
(and the packages.rpm is about 8Gb)
Herman