On Fri, Mar 16, 2007 at 05:50:45PM +0530, Siju George wrote:
> Hi,
> 
> I tried today to update my packages with the
> 
> $sudo pkg_add -ui
> 
> command.
> 
> I found that it selected lower versions of the packages automatically :-(
> as senn in the sample below.
> 
> 
> Candidates for updating vim-7.0.109-gtk2 -> vim-7.0.42-gtk2
> Candidates for updating vlc-0.8.4ap7 -> vlc-0.8.4ap6
> 
> is there a way to force it to choose the higher  versions always?
> 
> if there arre more thatn than one options it asks me and thats alright
> but if there is only one option it selects even if it was an older
> package.
> 
> Couldd some one provide a hit here to get only the latest packages
> always while using the -u option with pkg_add
> 
> Thankyou so much
> 
> Kind Regards
> 
> Siju
Wait for 4.2. Sorry, it's not implemented yet. pkg_add doesn't really
know how to compare versions. And in case you're wondering, it's harder
than it seems...

Reply via email to