Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Jan 2011 08:29:04 -0500
From:      Robert Huff <roberthuff@rcn.com>
To:        David Southwell <david@vizion2000.net>
Cc:        freebsd-ports@freebsd.org
Subject:   portupgrade -f advice please
Message-ID:  <19743.11296.856741.802484@jerusalem.litteratus.org>
In-Reply-To: <201101011209.17387.david@vizion2000.net>
References:  <201101011209.17387.david@vizion2000.net>

next in thread | previous in thread | raw e-mail | index | archive | help

David Southwell writes:

>  A bit puzzled
>  
>  I have a problem with apache22 loading and decided before doing
>  anything else that I would upgrade apache22 recursively to
>  rebuild all ports upon which it depened and which depend upon
>  apache.
>  
>  The (to me) logical command was:
>  
>  dns1# portupgrade -frR apache22
>  
>  Which generated the following:
>  [Exclude up-to-date packages  done]
>  
>  Man portupgrade shows:
>   -f
>       --force                Force the upgrade of a package even if it is to be
>                              a downgrade or just a reinstall of the same ver-
>                              sion, or the port is held by user using the
>                              HOLD_PKGS variable in pkgtools.conf.
>  
>  I do not want to exclude packages that appear to be
>  up-to-date. Where is this limitation on force set?

	Assuming the reoirt if generated output is verbatim, I beleive
this is behaving as you desire.  Usually the "Excluding up-to-date
packages" line includes what I believe is one dot per package so
excluded.
	I would argue a better notification would be something like:

	'R' and 'f' options specifed - skipping up-to-date dependency checks.


					Robert Huff




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