[arch-general] Which version gets installed by pacman?
Karolina Lindqvist
karolina.lindqvist at kramnet.se
Tue May 6 02:45:18 EDT 2008
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?
More information about the arch-general
mailing list