Index: deja-dup-34.1/deja-dup/preferences/Preferences.vala
===================================================================
--- deja-dup-34.1.orig/deja-dup/preferences/Preferences.vala
+++ deja-dup-34.1/deja-dup/preferences/Preferences.vala
@@ -68,8 +68,8 @@ public class Preferences : Gtk.Grid
     restore_button.sensitive = false;
 
     try {
-      var task = new Pk.Task();
-      var results = yield task.resolve_async(Pk.Filter.NOT_INSTALLED, {"duplicity"}, null, () => {});
+      var task = new Pk.Client();
+      var results = yield task.resolve_async(Pk.Filter.NOT_INSTALLED, {"deja-dup-backend-gvfs"}, null, () => {});
       if (results != null && results.get_error_code () == null) {
 
         // Convert from List to array (I don't know why the API couldn't be friendlier...)
@@ -80,7 +80,7 @@ public class Preferences : Gtk.Grid
             package_ids[i] = package_array.data[i].get_id();
         }
 
-        yield task.install_packages_async(package_ids, null, (p, t) => {
+        yield task.install_packages_async(Pk.TransactionFlag.NONE, package_ids, null, (p, t) => {
           backup_progress.fraction = p.percentage / 100.0;
           restore_progress.fraction = p.percentage / 100.0;
         });
