state: installed package does not need downloading
so do not skip it even if it's no longer available.cute-signatures
parent
8ae244db7d
commit
a120a96db4
|
@ -298,9 +298,8 @@ int apk_state_lock_dependency(struct apk_state *state,
|
|||
|
||||
if (apk_pkg_get_state(c->pkgs[i]) == APK_PKG_INSTALLED)
|
||||
installed = pkg;
|
||||
|
||||
if (pkg->filename == NULL &&
|
||||
apk_db_select_repo(state->db, pkg) == NULL)
|
||||
else if (pkg->filename == NULL &&
|
||||
apk_db_select_repo(state->db, pkg) == NULL)
|
||||
continue;
|
||||
|
||||
if (latest == NULL) {
|
||||
|
|
Loading…
Reference in New Issue