Red Hat Bugzilla – Bug 186613
yum fails to upgrade wine
Last modified: 2014-01-21 17:53:52 EST
Version-Release number of selected component (if applicable):
Steps to Reproduce:
$ rpm -q wine
"wine-0.9.10-1.fc4" is in
$ sudo yum -y update wine
Setting up Update Process
Setting up repositories
Reading repository metadata in from local files
Could not find update match for wine
No Packages marked for Update/Obsoletion
name=Fedora Extras $releasever - $basearch
why do you think that:
20050419 is a lesser version than 0.9.10?
Yum's not failing to upgrade anything. 0.9.10 is not a version upgrade over
20050419, not by a long shot.
Because I don't know any better! So then "lesser" and "greater" is strictly
alphanumeric sort order? That would be nice to see in the documentation.
I erased the old wine, and then yum install wine seems to work fine.
no. it's not strictly alphanumeric sort order and the rpm version comparison
routines are fairly well documented.
In the case you presented you weren't do anything complicated - just one number
vs another number.
which is higher for you? 0 or 20050419?
> no. it's not strictly alphanumeric sort order and the rpm version comparison
> routines are fairly well documented.
Perhaps - you don't say _where_ version comparison is documented.
Still, this was an issue with the _yum_ sort order, NOT the _rpm_ sort order.
Did you mean to suggest that yum uses rpm for version comparison?
1. the version comparison is documented in the rpm devel docs.
2. yum's sort order is using rpmlib and rpm's version comparison routines to do
Ok. Thanks for that.