blob: c0a5b0d805e099a904400996466c421029c71d5f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
diff --git a/backends/opkg/pk-backend-opkg.c b/backends/opkg/pk-backend-opkg.c
index a20769f..0b9867e 100644
--- a/backends/opkg/pk-backend-opkg.c
+++ b/backends/opkg/pk-backend-opkg.c
@@ -451,6 +451,7 @@ backend_remove_packages_thread (PkBackend *backend)
gchar **package_ids;
gboolean allow_deps;
gboolean autoremove;
+ gboolean force_depends=!!1;
gpointer *data;
data = pk_backend_get_pointer (backend, "remove-params");
@@ -462,6 +463,7 @@ backend_remove_packages_thread (PkBackend *backend)
opkg_set_option (opkg, "autoremove", &autoremove);
opkg_set_option (opkg, "force_removal_of_dependent_packages", &allow_deps);
+ opkg_set_option (opkg, "force_depends", &force_depends);
err = 0;
|