Guillaume Cottenceau wrote:
>
> I have read your message. This should not happen, upgrading to rpm-4
> should not create a fresh new database, that's why i told to do the
> rebuilddb.
>
>
?????. So how that happen then? I digged through the package and didn't
note that there was any kind of rebuild/init. The only thing the install
scripts do is to convert some stuff in /usr/lib/rpm. However if I try to
install anything, then rpm first inits the database without looking for
the old one (now, it does this stuff automatically! Old rpm always
demanded for the initdb)... This moment is nearly unvisible as there are
no warnings about the need to rebuild (however I think that a small
script in the package could do this for you). Myself, at beginning,
didn't note this as I did rpm -U rpm*.
Ektanoor