Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2019-02-17 12:19:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "PackageKit" Sun Feb 17 12:19:24 2019 rev:183 rq:676261 version:1.1.12 Changes: -------- --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes 2019-01-26 22:17:41.771085171 +0100 +++ /work/SRC/openSUSE:Factory/.PackageKit.new.28833/PackageKit.changes 2019-02-17 12:19:25.520232149 +0100 @@ -1,0 +2,6 @@ +Thu Feb 14 02:45:13 UTC 2019 - Stasiek Michalski <hel...@mailbox.org> + +- Add zypp-Switch-to-doUpgrade-solver-when-required-by-distribution.patch + so Tumbleweed can properly update + +------------------------------------------------------------------- New: ---- zypp-Switch-to-doUpgrade-solver-when-required-by-distribution.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ PackageKit.spec ++++++ --- /var/tmp/diff_new_pack.EBlJuY/_old 2019-02-17 12:19:26.092231992 +0100 +++ /var/tmp/diff_new_pack.EBlJuY/_new 2019-02-17 12:19:26.092231992 +0100 @@ -47,6 +47,7 @@ Patch2: PackageKit-remove-default-thread-check.patch # PATCH-FEATURE-OPENSUSE PackageKit-systemd-timers.patch bsc#1115410 sck...@suse.com -- Migrate from cron to systemd timers Patch3: PackageKit-systemd-timers.patch +Patch4: zypp-Switch-to-doUpgrade-solver-when-required-by-distribution.patch BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: gobject-introspection-devel @@ -234,6 +235,7 @@ %if 0%{suse_version} >= 1500 %patch3 -p1 %endif +%patch4 -p1 translation-update-upstream %build ++++++ zypp-Switch-to-doUpgrade-solver-when-required-by-distribution.patch ++++++ >From 98d8547cc3abfbb2a1fb2aad1f11f05a9d394636 Mon Sep 17 00:00:00 2001 From: Stasiek Michalski <hel...@opensuse.org> Date: Thu, 24 Jan 2019 16:14:39 +0100 Subject: [PATCH] zypp: Switch to doUpgrade solver when required by distribution --- backends/zypp/pk-backend-zypp.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/backends/zypp/pk-backend-zypp.cpp b/backends/zypp/pk-backend-zypp.cpp index 77fc69639..b607d5632 100644 --- a/backends/zypp/pk-backend-zypp.cpp +++ b/backends/zypp/pk-backend-zypp.cpp @@ -3297,6 +3297,14 @@ backend_update_packages_thread (PkBackendJob *job, GVariant *params, gpointer us ResPool pool = zypp_build_pool (zypp, TRUE); PkRestartEnum restart = PK_RESTART_ENUM_NONE; + for ( const PoolItem & pi : pool.byKind<Product>() ) { + static const Capability indicator( "product-update()", Rel::EQ, "dup" ); + if ( pi->asKind<Product>()->referencePackage().provides().matches( indicator ) ) { + zypp->resolver()->setUpgradeMode(TRUE); + break; + } + } + PoolStatusSaver saver; for (guint i = 0; package_ids[i]; i++) {