wubi-r236 doesn't download amd64.tar.xz when rejected local ISO exists

Bug #861992 reported by bcbc on 2011-09-29
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Wubi
Undecided
Unassigned

Bug Description

I ran wubi-r236.exe today with no oneiric iso or cd on my computer. It started downloading the oneiric iso, not the amd64.tar.xz.

EDIT:
As per the next comment, i found an old beta1 ISO in the download dir that failed the md5 check. I had missed this when cleaning out the directory. I still would have thought that once the ISO failed the md5 check that wubi would download the tar.xz image. Or is this the intended action?

bcbc (bcbc) wrote :
Download full text (4.8 KiB)

Actually, when I was going through the log I saw there was an old beta1 iso of ubuntu11.10 in my downloads directory. When I removed that it did download the amd64.tar.xz. I searched on the daily-live "oneiric-desktop-xxxx.iso" so I didn't see it.

I guess the question is, should it download a new ISO in this case, or download the tar.xz?

Here is the pertinent log file info:

09-28 14:30 DEBUG TaskList: ### Running check_iso...
09-28 14:30 DEBUG CommonBackend: Checking C:\Users\bcbc\Downloads\ubuntu-11.10-beta1-desktop-amd64.iso
09-28 14:30 DEBUG Distro: checking Ubuntu ISO C:\Users\bcbc\Downloads\ubuntu-11.10-beta1-desktop-amd64.iso
09-28 14:30 INFO Distro: Found a valid iso for Ubuntu: C:\Users\bcbc\Downloads\ubuntu-11.10-beta1-desktop-amd64.iso
09-28 14:30 DEBUG TaskList: New task get_metalink
09-28 14:30 DEBUG TaskList: #### Running get_metalink...
09-28 14:30 DEBUG downloader: downloading http://releases.ubuntu.com/11.10/ubuntu-11.10-desktop-amd64.metalink > C:\ubuntu\install
09-28 14:30 ERROR CommonBackend: Cannot download metalink file http://releases.ubuntu.com/11.10/ubuntu-11.10-desktop-amd64.metalink err=[Errno 14] HTTP Error 404: Not Found
09-28 14:30 DEBUG downloader: downloading http://cdimage.ubuntu.com/daily-live/current/oneiric-desktop-amd64.metalink > C:\ubuntu\install
09-28 14:30 DEBUG downloader: Download start filename=C:\ubuntu\install\oneiric-desktop-amd64.metalink, url=http://cdimage.ubuntu.com/daily-live/current/oneiric-desktop-amd64.metalink, basename=oneiric-desktop-amd64.metalink, length=1002, text=None
09-28 14:30 DEBUG downloader: download finished (read 1002 bytes)
09-28 14:30 DEBUG downloader: downloading http://cdimage.ubuntu.com/daily-live/current/MD5SUMS-metalink > C:\ubuntu\install
09-28 14:30 DEBUG downloader: Download start filename=C:\ubuntu\install\MD5SUMS-metalink, url=http://cdimage.ubuntu.com/daily-live/current/MD5SUMS-metalink, basename=MD5SUMS-metalink, length=265, text=None
09-28 14:30 DEBUG downloader: download finished (read 265 bytes)
09-28 14:30 DEBUG downloader: downloading http://cdimage.ubuntu.com/daily-live/current/MD5SUMS-metalink.gpg > C:\ubuntu\install
09-28 14:30 DEBUG downloader: Download start filename=C:\ubuntu\install\MD5SUMS-metalink.gpg, url=http://cdimage.ubuntu.com/daily-live/current/MD5SUMS-metalink.gpg, basename=MD5SUMS-metalink.gpg, length=198, text=None
09-28 14:30 DEBUG downloader: download finished (read 198 bytes)
09-28 14:30 INFO saplog: Verified a signature from ID:'46181433FBB75451'.
09-28 14:30 INFO saplog: Checking block bindings..
09-28 14:30 INFO saplog: Key verified successfully.
09-28 14:30 DEBUG CommonBackend: metalink md5sums:
49820b5d4dc480bb58e72e8445c07705 oneiric-desktop-amd64+mac.metalink
6d4117483dbe519e3f4cd9e8f9067882 oneiric-desktop-amd64.metalink
c6537ac04d4a9a40938fa5e16ea676b2 oneiric-desktop-i386.metalink
ad245382b89979fb70f8d963c273d3da oneiric-desktop-powerpc.metalink

09-28 14:30 DEBUG TaskList: #### Finished get_metalink
09-28 14:30 DEBUG TaskList: New task get_file_md5
09-28 14:30 DEBUG TaskList: #### Running get_file_md5...
09-28 14:30 DEBUG TaskList: #### Finished get_file_md5
09-28 14:30 ERROR CommonBack...

Read more...

bcbc (bcbc) on 2011-09-29
summary: - wubi-r236 no longer downloads amd64.tar.xz
+ wubi-r236 doesn't download amd64.tar.xz when rejected local ISO exists
description: updated
tags: added: iso-testing
StewVed (stewved) wrote :

I got the same result.. though with the 32-bit versions.... I have posted my results on http://ubuntuforums.org/showthread.php?t=1851070&page=2

The summery would be:
As bcbc wrote, if you have ANY ubuntu iso, it Wubi will then download an ISO, if wubi is on it's own in a folder, it will download the current tar.xz image.

Further to this (and it is shown in bcbc's log above) Wubi looks in the wrong place:
http://releases.ubuntu.com/11.10/ubuntu-11.10-desktop-amd64.metalink
This should be
http://cdimage.ubuntu.com/daily-live/20111002/ubuntu-11.10-desktop-amd64.metalink
where 20111002 is the date the iso is for instance 2nd October 2011

Only with the Alphas and Betas though... the releases one will (i imagine) work fine for the proper releases of Ubuntu... perhaps an extra line or two of code to see if the iso is an alpha or beta, then reword the metalink etc address according to parsing of the iso details?

for instance:
10-02 14:44 DEBUG Distro: checking Ubuntu ISO D:\Temp\U\oneiric-desktop-i386.iso

10-02 14:44 DEBUG WindowsBackend: extracting .disk\info from D:\Temp\U\oneiric-desktop-i386.iso

10-02 14:44 DEBUG Distro: parsing info from str=Ubuntu 11.10 "Oneiric Ocelot" - Beta i386 (20110928)

10-02 14:44 DEBUG Distro: parsed info={'name': 'Ubuntu', 'subversion': 'Beta', 'version': '11.10', 'build': '20110928', 'codename': 'Oneiric Ocelot', 'arch': 'i386'}

10-02 14:44 INFO Distro: Found a valid iso for Ubuntu: D:\Temp\U\oneiric-desktop-i386.iso

would mean that because it is a Beta Subversion, then the metalink would be (at a guuss
 http://releases.ubuntu.com/daily-live/20110928/ubuntu-11.10-desktop-i386.metalink
instead of what it is now:
http://releases.ubuntu.com/11.10/ubuntu-11.10-desktop-i386.metalink

Also, the metalink etc is got from:
http://cdimage.ubuntu.com/daily-live/current/
while the actual ISO is got from
http://cdimage.ubuntu.com/daily-live/[todays date]/
maybe get the iso and the other stuff from the same folder?
Are /current/ and /todays date/ always the same for instance? What if you happened to be using wubi just as /Current/ becomes the next day or something? Highly unlikely, but..

Hope this helps you guys, Keep up the great work!!!
-SRved

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers