From: SF/projects/mingw n. l. <min...@li...> - 2011-05-20 12:34:53
|
Bugs item #3297660, was opened at 2011-05-04 20:02 Message generated for change (Settings changed) made by keithmarshall You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=3297660&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 Installer Group: None Status: Closed Resolution: Fixed Priority: 9 Private: No Submitted By: Keith Marshall (keithmarshall) Assigned to: Keith Marshall (keithmarshall) Summary: mingw-get (upgrade): failed download does not revoke remove Initial Comment: See original report by Chris Sutcliffe, at http://thread.gmane.org/gmane.comp.gnu.mingw.devel/4262 I found a bug in mingw-get in that if an upgrade fails to download, mingw-get will still proceed with removing the package. Running mingw-get-info I noticed that my w32api was out of date, so I did: mingw-get update mingw-get upgrade w32api for some reason, mingw-get doesn't want to download the file (even though the direct link works when I copied it to a browser): mingw-get.exe: *** ERROR *** Get package: http://prdownloads.sourceforge.net/mingw/w32api-3.17-2-mingw32-dev.tar.lzma?download: download failed mingw-get.exe: *** ERROR *** Get package: http://prdownloads.sourceforge.net/mingw/w32api-3.17-2-mingw32-dev.tar.lzma?download: download failed The upgrade process proceed to remove the '-1' release and failed to install the '-2' release because it failed to download. ---------------------------------------------------------------------- Comment By: Keith Marshall (keithmarshall) Date: 2011-05-20 12:33 Message: The problem you report has caused modification in some fashion in the official CVS for the given package. The w32api and mingw-runtime official CVS reside in the winsup CVS directory tree for Cygwin. Those package CVS trees are periodically merged into the MinGW CVS tree. If you still find problems then please open a new report. ---------------------------------------------------------------------- Comment By: Keith Marshall (keithmarshall) Date: 2011-05-08 19:08 Message: Please test the attached replacement mingw-get-0.dll; it still doesn't check for possibly broken dependencies, but it should now refuse to remove an existing package during upgrade, if the replacement package failed to download, (and it should complain more appropriately when attempting to install a package which similarly failed to download). It should also correct the issue reported on ticket https://sourceforge.net/tracker/?func=detail&aid=3295526&group_id=2435&atid=102435 Note that this build also attempts, more aggressively, to retry failing downloads. I've compiled it with fairly verbose tracing of internet requests. I'm undecided whether or not to leave it in this format for release, or to turn that option off and direct users here for the more verbose build, if they are willing to help with debugging. What do you think? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=3297660&group_id=2435 |