diff options
Diffstat (limited to 'src/state.c')
-rw-r--r-- | src/state.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/state.c b/src/state.c index e308f48..94afe86 100644 --- a/src/state.c +++ b/src/state.c @@ -310,7 +310,8 @@ int apk_state_lock_dependency(struct apk_state *state, continue; } - if (apk_flags & APK_PREFER_AVAILABLE) { + if ((apk_flags & APK_PREFER_AVAILABLE) || + (name->flags & APK_NAME_REINSTALL)) { if (latest->repos != 0 && pkg->repos == 0) continue; |