[gnome-software/wip/temp/ubuntu-xenial-rebased: 282/326] Allow unsafe upgrade (adding/removing new packages)



commit a6f236e43e95b0aa652b9da236d0ed5defcc8a9f
Author: William Hua <william hua canonical com>
Date:   Wed Apr 20 07:26:41 2016 -0400

    Allow unsafe upgrade (adding/removing new packages)

 src/plugins/gs-plugin-apt.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gs-plugin-apt.cc b/src/plugins/gs-plugin-apt.cc
index 647b99c..35a2655 100644
--- a/src/plugins/gs-plugin-apt.cc
+++ b/src/plugins/gs-plugin-apt.cc
@@ -1042,7 +1042,7 @@ gs_plugin_update (GsPlugin      *plugin,
                if (g_strcmp0 (gs_app_get_id (app_i), "os-update.virtual") == 0) {
                        set_list_state (apps, AS_APP_STATE_INSTALLING);
 
-                       if (aptd_transaction (plugin, "UpgradeSystem", NULL, apps, g_variant_new_parsed 
("(true,)"), error)) {
+                       if (aptd_transaction (plugin, "UpgradeSystem", NULL, apps, g_variant_new_parsed 
("(false,)"), error)) {
                                set_list_state (apps, AS_APP_STATE_INSTALLED);
 
                                unload_apt_db (plugin);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]