You are not logged in.
When updating my dear arch laptop today, pacman said that the installed version of amarok (1.4.0) was newer than the available one (1.4.0a).
Offline
It should have been made a forced 'downgrade'.
Offline
By the way, what is the order followed by Pacman for versions?
Consider:
1.4.0
1.4.0a
1.4.0_a
1.4.0rc1
1.4.0_rc1
Which is first, second, third, fourth and fifth?
Offline
pacman use (or follow the order of) vercmp.
$ vercmp <num1> <num2>
returns 1 if <num1> is greater than <num2>. Otherwise, it returns a negative number.
Offline
By the way, what is the order followed by Pacman for versions?
Consider:
1.4.0
1.4.0a
1.4.0_a
1.4.0rc1
1.4.0_rc1Which is first, second, third, fourth and fifth?
The biggest thing to remember is that nondigits are always less than digits. And when two nondigits are compared their ascii values are used. As Snowman pointed out vercmp (modified for pkgrel support from RPMvercmp) is what pacman uses to compare versions. Just make sure if you decided to play around with it that you double quotes around the versions so bash interrupts it correctly otherwise you'll get false reading and number files laying around in the directory you are in.
Offline