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.
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)
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
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: releases. ubuntu. com/11. 10/ubuntu- 11.10-desktop- amd64.metalink cdimage. ubuntu. com/daily- live/20111002/ ubuntu- 11.10-desktop- amd64.metalink
http://
This should be
http://
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: U\oneiric- desktop- i386.iso
10-02 14:44 DEBUG Distro: checking Ubuntu ISO D:\Temp\
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 releases. ubuntu. com/daily- live/20110928/ ubuntu- 11.10-desktop- i386.metalink releases. ubuntu. com/11. 10/ubuntu- 11.10-desktop- i386.metalink
http://
instead of what it is now:
http://
Also, the metalink etc is got from: cdimage. ubuntu. com/daily- live/current/ cdimage. ubuntu. com/daily- live/[todays date]/
http://
while the actual ISO is got from
http://
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