diff options
-rw-r--r-- | src/database.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/database.c b/src/database.c index 7fb700b..356ba22 100644 --- a/src/database.c +++ b/src/database.c @@ -2294,6 +2294,9 @@ static int apk_db_install_archive_entry(void *_ctx, /* Upgrading package? */ if (opkg->name == pkg->name) break; + /* Or same source package? */ + if (opkg->origin == pkg->origin && pkg->origin) + break; /* Does the original package replace the new one? */ foreach_array_item(dep, opkg->ipkg->replaces) { if (apk_dep_is_materialized(dep, pkg)) { |