Bug 134182 - ports-mgmt/portupgrade incorrectly handles manual reject to upgrade
Summary: ports-mgmt/portupgrade incorrectly handles manual reject to upgrade
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ruby (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-03 10:20 UTC by Valentin Nechayev
Modified: 2011-07-25 12:54 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Valentin Nechayev 2009-05-03 10:20:01 UTC
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.

How-To-Repeat: 
Get an old system (e.g. with Xorg 7.3) and try to upgrade top-level
packages (as Firefox) without upgrading low-level ones.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2009-05-03 10:40:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sem

Fix synopsis and assign.
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2009-07-25 02:49:31 UTC
Responsible Changed
From-To: sem->ruby

sem@ has turned over maintainership of portupgrade to the ruby mailing list.
Comment 3 Philip M. Gollucci freebsd_committer freebsd_triage 2010-09-10 00:11:15 UTC
Responsible Changed
From-To: ruby->pgollucci

I will take it
Comment 4 Philip M. Gollucci freebsd_committer freebsd_triage 2010-09-24 07:22:11 UTC
Responsible Changed
From-To: pgollucci->freebsd-ports-bugs

going to have enotime for the next 2 weeks, sorry
Comment 5 Steve Price freebsd_committer freebsd_triage 2011-01-03 17:18:48 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ruby

Over to maintainer(s).
Comment 6 Tilman Keskinoz freebsd_committer freebsd_triage 2011-07-25 12:51:59 UTC
State Changed
From-To: open->closed

Your proposal contains a lot of footshooting potential for the unaware user. 

I think the current behaviour is the right one. 

If you want to update a port without updating its dependencies first, you 
are running an unsupported setting and a lot of problems can occur.