You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On openSUSE Tumbleweed with the ndb backend. When zypper up runs and updates many packages there can be a lots of changes to the packages file. Attempting to use the library at the same time can fail with unexpected NDB blob Magic for pkg ...
On openSUSE Tumbleweed with the ndb backend. When
zypper up
runs and updates many packages there can be a lots of changes to the packages file. Attempting to use the library at the same time can fail withunexpected NDB blob Magic for pkg ...
go-rpmdb/pkg/ndb/ndb.go
Line 175 in ac49267
I think the rpm binary is using an exclusive file lock when updating the file
https://github.com/rpm-software-management/rpm/blob/rpm-4.17.0-release/lib/backend/ndb/rpmpkg.c
Adding a shared lock seems to fix the problem. I'll post a PR for review.
The text was updated successfully, but these errors were encountered: