summaryrefslogtreecommitdiff
path: root/src/state.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/state.c')
-rw-r--r--src/state.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/state.c b/src/state.c
index 61ff563..0471850 100644
--- a/src/state.c
+++ b/src/state.c
@@ -523,6 +523,7 @@ static int reinstall_broken_package(struct apk_state *state,
{
struct apk_dependency dep0 = {
.name = pkg->name,
+ .version = apk_blob_atomize(APK_BLOB_NULL),
.result_mask = APK_DEPMASK_REQUIRE,
};
return apk_state_lock_dependency(state, &dep0);