On Tue, 2008-05-06 at 08:45 +0200, Karolina Lindqvist wrote:
Can someone explain this to me: 1) Check available versions $ pacman -Si kdepim | grep Version Version : 3.5.9-2 Version : 3.5.9.20080501-0.1
Ok, which version is newest?
$ vercmp '3.5.9-2' '3.5.9.20080501-0.1' -1
Hmmm
$ vercmp usage: vercmp <ver1> <ver2>
return values: < 0 : if ver1 < ver2 0 : if ver1 == ver2
0 : if ver1 > ver2
Ok, version 3.5.9.20080501-0.1 is newer, so try to install it:
$ sudo pacman -S kdepim :: kdepim is in IgnorePkg/IgnoreGroup. Install anyway? [Y/n] warning: kdepim-3.5.9-2 is up to date -- reinstalling resolving dependencies... looking for inter-conflicts...
Targets: kdepim-3.5.9-2
Total Download Size: 0,00 MB Total Installed Size: 20,52 MB
Proceed with installation? [Y/n] n $
Why did not pacman choose the newer version to install?
Simple: it installs the first entry it finds in the repositories that are in pacman.conf. There's no such thing as installing the latest available version.