Bug 480956

Summary: Package manager interprets newer version as an older one
Product: [openSUSE] openSUSE 11.1 Reporter: Grzegorz Kossakowski <registration>
Component: YaST2Assignee: E-mail List <zypp-maintainers>
Status: RESOLVED INVALID QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None CC: tgoettlicher
Version: Final   
Target Milestone: ---   
Hardware: x86   
OS: openSUSE 11.1   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Screenshot showing the problem
y2logs.tgz

Description Grzegorz Kossakowski 2009-03-02 14:05:58 UTC
Created attachment 276395 [details]
Screenshot showing the problem

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; pl-PL; rv:1.9.0.6) Gecko/2009012700 SUSE/3.0.6-0.1.2 Firefox/3.0.6

For Git packages Yast2 treats the newest version (1.6.1.3-2.1) as older than (1.6.0.2-6.12.1)

I've installed newer version from following repository:
http://download.opensuse.org/repositories/devel:/tools:/scm/openSUSE_11.1

Reproducible: Always

Steps to Reproduce:
1. Install Git packages from: http://download.opensuse.org/repositories/devel:/tools:/scm/openSUSE_11.1
2.
3.
Actual Results:  
Newer version will be marked as red in Yast2

Expected Results:  
Newer version should be detected properly.
Comment 1 Cyril Hrubis 2009-03-13 17:37:34 UTC
Please attach y2logs and resolver test case. If you are in doubt follow:

http://en.opensuse.org/Bugs/YaST

Thanks!
Comment 2 Grzegorz Kossakowski 2009-03-15 12:15:10 UTC
Created attachment 279643 [details]
y2logs.tgz
Comment 3 Michael Schröder 2009-03-17 16:27:09 UTC
That's because you've set different repository priorities for "repo-update" (prio=20) and "devel:tools:scm" (prio 99). You're telling the solver that it should prefer packages from repo-update.
Please reset the priority of "repo-update" to 99.

("repo-oss" has prio 100, you should change that to 99 as well)