sailfishos-open / docker-sailfishos-builder

Docker based Sailfish OS build environment
4 stars 1 forks source link

Cannot rebuild RPM database cleanly #8

Open rinigus opened 1 year ago

rinigus commented 1 year ago

It is impossible to update RPM database cleanly using

rm -f /var/lib/rpm/__db*
rpm --rebuilddb

The update seem to work, but it is not removing tmp folder:

error: failed to replace old database with new database!
error: replace files in /var/lib/rpm with files from /var/lib/rpmrebuilddb.7 to recover

As for update working, it is clear from the absence of failures in installation of the packages on some architectures. Without rebuild, these failure were happening once in a while (for example on armv7hl)