Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jun 2006 00:28:52 +0100
From:      RW <list-freebsd-2004@morbius.sent.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: portupgrade ideas page
Message-ID:  <200606130028.58009.list-freebsd-2004@morbius.sent.com>
In-Reply-To: <200606072107.37528.hannes.hauswedell@gmail.com>
References:  <4485DBF5.3070705@FreeBSD.org> <200606071748.39135.list-freebsd-2004@morbius.sent.com> <200606072107.37528.hannes.hauswedell@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 07 June 2006 22:07, Hannes Hauswedell wrote:
> >> 1) i would wish for portupgrade to automatically meet new requirements
> >> upon upgrading. both pkg_add and make install do this, portupgrade
> >> should too.
> >
> > AFAIK portupgrade runs "make install"
>
> when installing from sources, yes. (as i also stated in point 2).
> but when installing from packages it does not.
> that why it says in the man page:
>
> Do a massive network binary upgrade:
> portupgrade -aPPR
>
> else the -R wouldnt make any sense.

I think the manpage is probably wrong. IIRC the -R option is ignored in 
combination with -a, unless -F is specified. 

Portupgrade uses "pkg_add -f" to install packages. pkg_add  is supposed to 
install the missing dependencies itself, but sometimes they are missing in 
the repository. Because it uses the "-f" option  pkg_add  is able to proceed 
without the missing dependency.  Personally, I think it might be cleaner to 
drop the "-f" option and allow the pkg_add  to fail.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606130028.58009.list-freebsd-2004>