Bug 3724

Summary: DNF: Performance enhancement for Incremental Install
Product: [Runtime] Package Management Issues Reporter: Mark Hatle <mark.hatle>
Component: package-management-issuesAssignee: Mark Hatle <mark.hatle>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: Medium CC: bluelightning, jessica.zhang, Qi.Chen, randy.macleod, richard.purdie, sgw
Version: 1.4   
Target Milestone: Future   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Mark Hatle 2013-01-15 19:04:49 UTC
The incremental install is currently implemented by listing what is installed, and comparing it to what is requested to be installed.  This generates a list of things to install or remove.

The performance penalty for the query, comparison and then upgrade is fairly significant.  It would be a nice enhancement to Smart to enable a mode that lets the user simply select a new target set of packages to be installed.  Then any packages not in that set (once dependencies are evaluated) would be removed, and any additional packages added.
Comment 1 Paul Eggleton 2017-06-08 06:38:15 UTC
Should we still keep this open given that we've switched from Smart to DNF? The same issues may well apply with DNF, of course.
Comment 2 Mark Hatle 2017-06-08 14:22:53 UTC
I think it's worth changing this to DNF and at least investigating the performance issues.  If current performance is deemed sufficient then we can close it.

(I've not used the incremental install since DNF was introduced, so we might find that it's no longer working as well..)
Comment 3 Randy MacLeod 2019-07-25 15:01:57 UTC
Reopen if needed by a specific performance problem is seen.