On Sat, 2017-06-10 at 10:22 +0800, Ed Greshko wrote:
On 06/10/17 09:12, stan wrote:
> There is an update (or test update) of libdb for F25 that, when
> installed, breaks the rpm database because it is incompatible. The dnf
> update completes, and then hangs (at least it did on my system). The
> fix is to remove the old rpm databases (this might be optional), and
> rebuild the rpm databases.
>
> rm /var/lib/rpm/__db.00? # optional?
> rpm --rebuilddb
>
> I did a reboot to sync everything that uses libdb (anything that uses
> the Berkeley db). It might be possible just to restart affected
> applications if that isn't an option. That worked for my mail client
> before I rebooted.
FWIW, so far I've seen no ill effects from updating to
libdb-5.3.28-21.fc25. However, I should note that I had previously
updated to libdb-5.3.28-16 from testing also with no ill effects.
On running 'dnf update' this morning I got a segfault from
/usr/lib/libdb-5.3.so, which is part of libdb-5.3.28-21.fc25, so the
problem is more than just an incompatible database.
However removing the temp files and rebuilding the db seems to have
cleared it.
poc