diff options
-rw-r--r-- | libopkg/opkg.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libopkg/opkg.c b/libopkg/opkg.c index 3d5447f..8ff8075 100644 --- a/libopkg/opkg.c +++ b/libopkg/opkg.c @@ -900,6 +900,9 @@ opkg_list_upgradable_packages (opkg_t *opkg, opkg_package_callback_t callback, v opkg_assert (opkg); opkg_assert (callback); + /* ensure all data is valid */ + pkg_info_preinstall_check (opkg->conf); + all = pkg_vec_alloc (); pkg_hash_fetch_available (&opkg->conf->pkg_hash, all); for (i = 0; i < all->len; i++) |