ports/134182: portupgrade incorrectly handles manual reject to upgrade

Valentin Nechayev netch at netch.kiev.ua
Sun May 3 09:20:02 UTC 2009

>Number:         134182
>Category:       ports
>Synopsis:       portupgrade incorrectly handles manual reject to upgrade
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 03 09:20:01 UTC 2009
>Originator:     Valentin Nechayev
>Release:        FreeBSD 6.4-RELEASE i386



In interactive mode (-i), portupgrade asks for each package whether to
upgrade it. If some upgrade is rejected by operator, it excludes
packages which are depended on it from following consideration. Adding
-k to command line doesn't fix it for all packages except topmost one
(specified in command line).

This is conceptually incorrect. Package relations are protected by
requirements in port Makefiles (*_DEPENDS) including package presence
and version. Portupgrade should not add additional restrictions to
its, and if some package is present and have enough version,
portupgrade should not add unnatural intelligence rejecting to build
another package depended on first one.

This portupgrade feature isn't original; it has appeared approx. in
2008. Before this, portupgrade behavior was correct - it differed
installation problem and explicit reject.


Get an old system (e.g. with Xorg 7.3) and try to upgrade top-level
packages (as Firefox) without upgrading low-level ones.


More information about the freebsd-ports-bugs mailing list