Re: portupgrade problem

From: Matthew Seaman <m.seaman_at_infracaninophile.co.uk>
Date: Thu, 19 Nov 2009 15:43:24 +0000
Alexandre MOREL wrote:
> Hello,
> 
> I've got some ports that they need to be updated.
> /usr/sbin/pkg_version -vIL=
> bash-4.0.33_2                       <   needs updating (index has 4.0.35)
> ezm3-1.1_2                          <   needs updating (index has 1.2_1)
> libpthread-stubs-0.1                <   needs updating (index has 0.3)
> lsof-4.83B,4                        <   needs updating (index has 4.83C,4)
> tmux-1.0_1                          <   needs updating (index has 1.1)
> vim-7.2.239                         <   needs updating (index has 7.2.299)
> 
> 
> I try to use portupgrade in order to update my packages with:
> portupgrade -rR vim-7.2.239 (for example)
> 
> But nothing happen and I've got the folowing return:
> portupgrade -rR vim-7.2.239
> [Gathering depends for editors/vim
> .........................................................................................................
> done]
> [Exclude up-to-date packages ........................................ done]
> 
> It's really strange because for the package "bash" I use the way: make
> deinstall && make install in the directory /usr/ports/shell/bash and all
> works great ! and this confirm that my second update process was successfull
> :
> 
> bash -version
> GNU bash, version 4.0.33(2)-release (amd64-portbld-freebsd8.0)
> Copyright (C) 2009 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
> 

Uh -- you may have reinstalled bash, but it seems you haven't ended up with version 4.0.35.  Have you perhaps downloaded an updated INDEX (by 'make fetchindex') but not updated the actual ports tree?

Try running:

    pkg_version -vL=

which will take slightly longer, but will skip reading the INDEX and compare
port versions directly with what is available on your filesystem.  If that
doesn't show any upgrades available, then you need a bit of csup(1) or
portsnap(8) action to grab an up-to-date ports tree.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       Flat 3
                                                      7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey         Ramsgate
                                                      Kent, CT11 9PW, UK


Received on Thu Nov 19 2009 - 14:43:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:58 UTC