Comment # 11 on bug 1154973 from
(In reply to Jonathan Kang from comment #10)
> (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.

Which means the two options I suggested in comment 7 would work just fine,
wouldn't they?


You are receiving this mail because: