Bug 471344

Summary: automatic deps do not get automatic upgrades right away
Product: [openSUSE] openSUSE 11.1 Reporter: Jon Nelson <jnelson-suse>
Component: libzyppAssignee: E-mail List <zypp-maintainers>
Status: RESOLVED INVALID QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Jon Nelson 2009-02-01 14:17:05 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.5) Gecko/2008121300 SUSE/3.0.5-1.1 Firefox/3.0.5

Using the YaST2 GUI (QT version), if a package is upgraded or chosen for install, and it brings in some dependencies, those dependencies are not always the most-recent versions. I noticed this and even though I choose "All in this list, upgrade to newest version..." the automatically chosen dependencies *still* don't get upgraded. I have to make a *second* run to get those deps. 



Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Comment 1 Jan Kupec 2009-02-02 15:32:49 UTC
Interesting. Can you please generate a solver testcase? When you spot this, choose Extras -> Generate Dependency Resolver Test Case, and pack & attach the resulting logs.
Comment 2 Michael Andres 2009-03-09 12:39:41 UTC
This is because 'version' is not the highest key when the solver determines the 'best' package. 

The solver will e.g never pick a package from a repo with low priority, if one in a high priority repository fits. Even if the low priority package has a higher version.

The solver will also not change the architecture or vendor of an already installed package without need.

So the highest version is not necessarily the best choice.