[gnome-software/wip/ubuntu-3-26: 31/37] packagekit: Disable updates



commit 05e46186d421f79e8f76b397fe1f35404ac5ab0e
Author: Iain Lane <iain orangesquash org uk>
Date:   Thu Jul 20 10:12:58 2017 +0100

    packagekit: Disable updates
    
    In Ubuntu we use Update Manager for this currently. The long term plan
    is to use Software, but we're not there yet.

 plugins/packagekit/gs-plugin-systemd-updates.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/plugins/packagekit/gs-plugin-systemd-updates.c b/plugins/packagekit/gs-plugin-systemd-updates.c
index 57beae9..e2a466a 100644
--- a/plugins/packagekit/gs-plugin-systemd-updates.c
+++ b/plugins/packagekit/gs-plugin-systemd-updates.c
@@ -151,6 +151,9 @@ gs_plugin_add_updates (GsPlugin *plugin,
        g_autoptr(GError) error_local = NULL;
        g_auto(GStrv) package_ids = NULL;
 
+       /* In Ubuntu we're using Update Manager for this, for now. */
+       return TRUE;
+
        /* get the id's if the file exists */
        package_ids = pk_offline_get_prepared_ids (&error_local);
        if (package_ids == NULL) {


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