Comment # 10 on bug 1154973 from
(In reply to Fabian Vogt from comment #9)

> I understand that. Why not set the upgrade mode correctly before each
> transaction? Having a timer is a really ugly hack with disastrous
> consequences, which this report clearly shows.

It's mainly because the way PackageKit works doesn't give zypp backend too much
information about what's really happening.
For example: "pkcon get-updates" calls get-updates where upgradeMode is set and
reset after it's finished.
While "pkcon update" calls get-updates and update-packages. As upgradeMode is
set
and reset in get-updates, resolvPool in updates-packages is run under
upgradeMode
is FALSE, which makes "pkcon update" unable to do a dup-style update.


You are receiving this mail because: