Home › Forums › Software › InstaDMG › Cannot get InstaUp2Date to run properly validate checksums on updates
- This topic has 5 replies, 4 voices, and was last updated 13 years, 1 month ago by
Darius.
-
AuthorPosts
-
February 15, 2012 at 2:50 pm #381635
Darius
ParticipantRunning 10.7.3 lion on a 15″ MacBook pro.
Python version, as called by InstaUp2Date in the script verified to be 2.7.1
installESD.dmg is in /Users/dgarsys/InstaDMG/InstallerFiles/installerDiscs
run “sudo ./instaUp2Date.py -p 10.7_vanilla” from the /Users/dgarsys/InstaDMG/AddOns/InstaUp2Date directory
also tried tacking on “–process” instead of “-p” which the source code says is equivalent.
—verified that the cache file is indeed being downloaded to the caches directory
Tried it three times, and I get the following result:
[code]Parsing the catalog files for 10.7_vanilla
OS X Lion Update 10.7.3
AirPort Utility 6.0
iTunes 10.5.3
Java For Mac OS X 10.7Finding and validating the sources for 10.7_vanilla
OS X Lion Update 10.7.3 – downloading 1.3 Gigabytes 99% (1.7 Megabytes/sec)Traceback (most recent call last):
File “./instaUp2Date.py”, line 716, in
main()
File “./instaUp2Date.py”, line 671, in main
thisController.findItems()
File “./instaUp2Date.py”, line 330, in findItems
thisItem.findItem(progressReporter=progressReporter)
File “/Users/dgarsys/InstaDMG/AddOns/InstaUp2Date/Resources/installerPackage.py”, line 158, in findItem
self.filePath = cacheController.findItem(self.source, self.checksumType, self.checksumValue, self.displayName, additionalSourceFolders, progressReporter)
File “/Users/dgarsys/InstaDMG/AddOns/InstaUp2Date/Resources/cacheController.py”, line 361, in findItem
raise FileNotFoundException(“Downloaded file did not match checksum: %s (%s vs. %s)” % (nameOrLocation, hashGenerator.hexdigest(), checksumValue))
Resources.commonExceptions.FileNotFoundException: Downloaded file did not match checksum: http://support.apple.com/downloads/DL1484/en_US/MacOSXUpdCombo10.7.3.dmg (b8322dbd1f7b55bf35aac4122ad2204c51307793 vs. 0862faacd3fc43063f8807e39d4f595b1100e0b8)
[/code]February 15, 2012 at 7:42 pm #381639Dreident
ParticipantIm running into the same issue. I think the combo update that gets downloaded and cheksummed from apple servers has changed or the catalog 10.7vanilla hasnt been updated properly. I just changed the checksum to b8322dbd1f7b55bf35aac4122ad2204c51307793 like it expects.
February 15, 2012 at 7:55 pm #381640Allister Banks
ParticipantThanks for chiming in, guys, please run svn update and let me know if you still have any issues. Thanks,
Allister
February 16, 2012 at 1:38 pm #381643Darius
ParticipantThank you.
Still no dice though.
Since you mentioned catalog files, even though I’m new at this, I directed my digging in that direction.
I noted the following line:
[code]# We’re assuming your using the original 10.7.0 build 11A511 as your install ‘media’, otherwise comment out the next line
[/code]
OK… so how do I tell which build is in my install ESD? I just downloaded it – so it’s almost guaranteed NOT to be the original. OTOH, if it’s not 10.7.3 all wrapped up, I still need the combo updater.Also, despite the fact I wiped the directory and re-checked out InstaDMG from scratch using “svn checkout http://instadmg.googlecode.com/svn/trunk ” the revision in the remarks for the 10.7 vanilla catalog still says 425. This despite the svn update I ran earlier before trying a nuke-and-pave explicitly telling me that that file had been updated.
So the expected Sha1 per the catalog file is:
[code]
OS X Lion Update 10.7.3 http://support.apple.com/downloads/DL1484/en_US/MacOSXUpdCombo10.7.3.dmg sha1:b8322dbd1f7b55bf35aac4122ad2204c51307793[/code]Where the error still tells me it’s not matching:
[code]Resources.commonExceptions.FileNotFoundException: Downloaded file did not match checksum: http://support.apple.com/downloads/DL1484/en_US/MacOSXUpdCombo10.7.3.dmg (b8322dbd1f7b55bf35aac4122ad2204c51307793 vs. 0862faacd3fc43063f8807e39d4f595b1100e0b8)
[/code]So I guess the real questions are:
* how do I tell if the ESD is 10.7.0, 10.7.1, 10.7.2, etc? (any of these should work as the hardware is white educational MacBook)
* If it is anything less than 10.7.3, should I just change the checksum? I can likely verify this by independently downloading it and running the checksum generator on it….February 16, 2012 at 8:02 pm #381644foilpan
Participantcheck the version of your mounted installer dmg like so: defaults read /Volumes/
/System/Library/CoreServices/SystemVersion ProductBuildVersion add the version to the list of allowed installers if it’s newer.
if you really want to use the 10.7.3 combo (you may not need it), change the checksum in the vanilla catalog until it’s updated in svn. run checksum.py on the combo update download to generate the hash.
February 16, 2012 at 8:15 pm #381645Darius
ParticipantOkay – I’ll comment out the 10.7.3 update then, as the system version is 10.7.3, and the build of the ESD in use is 11D50
Thank you for the help.
-
AuthorPosts
- You must be logged in to reply to this topic.
Comments are closed