[Bug 855948] New: zypper: problem comparing version numbers
https://bugzilla.novell.com/show_bug.cgi?id=855948 https://bugzilla.novell.com/show_bug.cgi?id=855948#c0 Summary: zypper: problem comparing version numbers Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Minor Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: koenig@linux.de QAContact: jsrain@suse.com Found By: --- Blocker: --- trying to update MPlayer I noticed this problem: 1.1.1 should be newer as 1.1 ?! but I understand that it's difficult to handle all those separator characters between digits in a universal and perfect way:-( # rpm -q MPlayer MPlayer-1.1+35127-4.1.x86_64 # zypper in MPlayer-1.1.1+r36500-6.4 Loading repository data... Reading installed packages... The selected package 'MPlayer-1.1.1+r36500-6.4.x86_64' from repository 'Packman Repository' has lower version than the installed one. Use 'zypper install --oldpackage MPlayer-1.1.1+r36500-6.4.x86_64' to force installation of the package. Resolving package dependencies... # zypper install --oldpackage MPlayer-1.1.1+r36500-6.4.x86_64 Loading repository data... Reading installed packages... Resolving package dependencies... Problem: gmplayer-1.1+35127-4.1.x86_64 requires MPlayer = 1.1+35127, but this requirement cannot be provided deleted providers: MPlayer-1.1+35127-4.1.x86_64 Solution 1: downgrade of gmplayer-1.1+35127-4.1.x86_64 to gmplayer-1.1.1+r36500-6.4.x86_64 Solution 2: do not install MPlayer-1.1.1+r36500-6.4.x86_64 Solution 3: break gmplayer-1.1+35127-4.1.x86_64 by ignoring some of its dependencies so I "downgraded" to the "older" 1.1.1 ... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=855948 https://bugzilla.novell.com/show_bug.cgi?id=855948#c1 Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bwiedemann@suse.com, | |ma@suse.com, mls@suse.com --- Comment #1 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-12-18 14:20:58 CET --- it might be the + that is confusing it, so libsolv compares 1 1 35127 and 1 1 1 36500 and 35127 is greater than 1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=855948 https://bugzilla.novell.com/show_bug.cgi?id=855948#c2 Michael Schröder <mls@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |INVALID --- Comment #2 from Michael Schröder <mls@suse.com> 2013-12-18 13:27:21 UTC --- Libsolv is not to blame, it just implements the rpm version comparison rules. And they say 1.1+35127 > 1.1.1+r36500. It compares (1 1 35127) with (1 1 1 r 36500), and 35127 > 1. The packager should have used the '~' separator, i.e. version 1.1~35127 and 1.1.1~r36500. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com