From: SF/projects/mingw n. l. <min...@li...> - 2012-03-06 21:14:56
|
Bugs item #3424406, was opened at 2011-10-16 09:00 Message generated for change (Comment added) made by earnie You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=3424406&group_id=2435 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: mingw-get Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Earnie Boyd (earnie) Assigned to: Keith Marshall (keithmarshall) Summary: mingw-get install --reinstall does an update Initial Comment: The --reinstall option should reinstall the currently installed version. If an update exists instead of reinstalling the installed version it does an effective update instead which isn't what the user requested. ---------------------------------------------------------------------- >Comment By: Earnie Boyd (earnie) Date: 2012-03-06 13:14 Message: 1) Only if necessary to meet the minimum requirement. 2) Secondary should be reinstalled at the current version but upgraded if necessary to meet the minimum requirement. 3) Secondaries should be considered for upgrade only if necessary to meet the minimum requirement. 4) Yes, that is a reasonable assumption. ---------------------------------------------------------------------- Comment By: Keith Marshall (keithmarshall) Date: 2012-03-06 13:06 Message: Confirmed. Even without --reinstall, install is promoted to upgrade, if the primary package is already installed but an upgrade is available. Clearly, this defies logic; install should punt, if the primary is already installed, regardless of upgrade status, unless --reinstall is specified. I've identified a solution to the basic problem, but I'm uncertain how to proceed wrt secondary packages, (i.e. those specified as required by the primary, under each of the following circumstances:-- 1) Action is install, --reinstall not specified: if previously installed, should secondary be upgraded if possible? Or only if necessary to meet minimum requirement? 2) Action is install, --reinstall specified: should secondary also be reinstalled? At current version? Upgraded if possible? Or again, only if necessary? 3) Action is upgrade, --reinstall not specified: primary is upgraded if possible, otherwise no action at all is performed. Should secondaries also be considered for possible upgrade? 4) Action is upgrade, --reinstall specified: performs upgrade if available, otherwise forces reinstall at current version. Does this seem reasonable? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=3424406&group_id=2435 |