diff --git a/include/xbps_api.h b/include/xbps_api.h index 43e359f5..1b0e5247 100644 --- a/include/xbps_api.h +++ b/include/xbps_api.h @@ -56,7 +56,7 @@ */ #define XBPS_PKGINDEX_VERSION "1.4" -#define XBPS_API_VERSION "20120525-1" +#define XBPS_API_VERSION "20120525-2" #define XBPS_VERSION "0.16" /** diff --git a/lib/transaction_package_replace.c b/lib/transaction_package_replace.c index 9bf07f37..31d496ae 100644 --- a/lib/transaction_package_replace.c +++ b/lib/transaction_package_replace.c @@ -156,6 +156,8 @@ xbps_transaction_package_replace(prop_dictionary_t transd) } prop_dictionary_set_bool(pkg_repod, "automatic-install", instd_auto); + prop_dictionary_set_bool(instd, + "softreplace", true); } /* * Add package dictionary into the transaction and mark