Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

download and mirror messed up, duplicated "x86" in path #4

Closed
maphew opened this issue Oct 31, 2014 · 1 comment
Closed

download and mirror messed up, duplicated "x86" in path #4

maphew opened this issue Oct 31, 2014 · 1 comment
Labels

Comments

@maphew
Copy link
Owner

maphew commented Oct 31, 2014

2 problems here:

  • download should check and handle file not found
  • why is mirror path messed up?
B:\code\apt>apt download gdal-filegdb

Fetching http://download.osgeo.org/osgeo4w/x86/x86/release/gdal/gdal-filegdb/gdal-filegdb-1.11.1-4.tar.bz2
...100%
gdal-filegdb = d:/temp/o4w-cache/setup/http%3a%2f%2fdownload.osgeo.org%2fosgeo4w%2fx86/x86/release/gdal/gdal-filegdb/gda
l-filegdb-1.11.1-4.tar.bz2

remote:  b434e716cc2ff6a0eb252fd725219d20  gdal-filegdb-1.11.1-4.tar.bz2
local:   81802d554670b1cb3d40c770ecdcdff5  gdal-filegdb-1.11.1-4.tar.bz2
...snip...

contents of the local file:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /osgeo4w/x86/x86/release/gdal/gdal-filegdb/gdal-filegdb-1.11.1-4.tar.bz2 was not found on this server.</p>
<hr>
<address>Apache/2.2.16 (Debian) Server at download.osgeo.org Port 80</address>
</body></html>
@maphew maphew added the bug label Oct 31, 2014
@maphew
Copy link
Owner Author

maphew commented Oct 31, 2014

found nub: setup.ini paths start at x86/..., so we need to change default mirror settings and take another look at update() .

maphew added a commit that referenced this issue Oct 31, 2014
updgrade(): change so only upgrades named packages, or "all; doc updates. Note: UNTESTED because we have to address rest of #4 first.
maphew added a commit that referenced this issue Oct 31, 2014
Not tested. We require a situation where:

- a new version for an installed package is available, and
- the package has dependencies which are not installed

This speaks to the need for a real test suite (#6 here we come!)
@maphew maphew closed this as completed Nov 5, 2014
maphew pushed a commit that referenced this issue Apr 9, 2015
maphew pushed a commit that referenced this issue Apr 9, 2015
Merge pull request #4 from amr66/amr66-urllib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant