PackageKit/PackageKit-1.1.12-dnf-disable-trusted-packages-check.patch

15 lines
649 B
Diff
Raw Permalink Normal View History

--- PackageKit-1.1.12/backends/dnf/pk-backend-dnf.c.orig 2019-06-23 16:11:17.722559163 +0200
+++ PackageKit-1.1.12/backends/dnf/pk-backend-dnf.c 2019-06-23 16:11:34.260644154 +0200
@@ -2514,9 +2514,9 @@
return FALSE;
/* depsolve */
- if (pk_bitfield_contain (job_data->transaction_flags,
+ /*if (pk_bitfield_contain (job_data->transaction_flags,
PK_TRANSACTION_FLAG_ENUM_ONLY_TRUSTED))
- flags |= DNF_TRANSACTION_FLAG_ONLY_TRUSTED;
+ flags |= DNF_TRANSACTION_FLAG_ONLY_TRUSTED;*/
if (pk_bitfield_contain (job_data->transaction_flags,
PK_TRANSACTION_FLAG_ENUM_ALLOW_REINSTALL))
flags |= DNF_TRANSACTION_FLAG_ALLOW_REINSTALL;