Search Mac Software Downloads
|
DESCRIPTION
This Applescript could fix a broken OS X Software Update in the case of an error of this kind: "Make sure you have permissions to write to /tmp/501/TemporaryItems/com.apple.SoftwareUpdate".

This script copies the "tar" file needed by Software Update to the right location. The "tar" file not being there is the cause of the problem, which is thus fixed by this script. This script also repairs permissions in case that could be part of the problem.

WHAT'S NEW
Version 1.1: Now includes the tar file. Some OSX installations seemed to miss the file on the assumed location. This release should fix this.
REQUIREMENTS
Mac OS X 10.1 or later.

Bookmark and Share

Developer:Tim Goeree
Downloads:3,762
  - Version d/l:1,657
Utilities:System
License:Free
Date:08 Sep 2004
Platform:PPC
OTHER PEOPLE SUGGEST
    No similar products suggested yet
    Suggest something else:
    SoftwareUpdateFix User Reviews (7 posts)Write A Review
    sort: smiles | time
    May 13 2005
    *****

    ANONYMOUS  This worked. Why that other guy trashed this program in his review is beyond me. Perhapse he is some sort of developing superstar with major predjudices against pseudo-amateur scripting. Maybe he wishes he was the guy who wrote this thing. I don't know much about this scripting stuff so perhapse there could be some side effect to this thing. All I know is that I can once again use software update with no permission hangups. Thank you guy for writing this script, it has eased my mind and my mac.  
    (Version 1.1)

    praisebury
    0
    [ Reply ]
    Mar 10 2005

    ANONYMOUS  Hi.

    Firstly, thanks to the developer for trying to fix a problem that has been bugging me for weeks!

    However, has anyone got any thoughts on what further action to take when:

    (a) I have run this fix, then tried again to run the same software updates again, and I *still* get te same error message this tries to fix? and:

    (b) I have fixed permissions several times to no avail.

    (c) I have NEVER had developer tools installed, nor never needed to.

    Finally, let me apologise for asking this in the reviews section, but I cannot find how to email the developer anywhere.

    TIA, Pete, UK  
    (Version 1.1)

    praisebury
    0
    [ Reply ]
    Dec 4 2004
    *****

    ANONYMOUS  I have to say that this actually worked when repairing permissions was not enough to get by in installing the latest security update. Nice work!  
    (Version 1.1)

    praisebury
    0
    [ Reply ]
    Sep 14 2004

    ANONYMOUS  And again a negative reply...

    Let's make one thing clear. This script is to be used when repairing permissions does not work. In that case it could help the user. You don't have to use it. If you read the description you would know what it does and why you would use it.

    I know this script helped me, that is why I made it. So that it might help some other mac users with SU problems.

    And why so negative about this? It's not like this could harm your system. If it helps that's very nice, if it doesn't find another fix or email me with a question. Don't bash something because simply repairing your permissions works for you...  
    (Version 1.1)

    praisebury
    0
    [ Reply ]
    Sep 9 2004
    *....

    RICH  DO NOT USE THIS TRASH!

    You normally get comments like this from people who haven't got a clue, so here's my justification:

    I suffered the problem you described when Software Update tried to install "Security Update 2004-09-07", but a simple permissions repair did the trick. So why this script?

    The link to your homepage from here is broken: "web.macosx/nl" instead of "web.macosx.nl"

    There, you have an anchor containing the text "SoftwareUpdateFix.zip" which links to a file called "SoftwareUpdateFix.dmg".

    What kinds of errors have you dropped into the script? Let's take a look shall we?

    do shell script "cp /Volumes/SoftWareUpdateFix/tar /usr/bin/" with administrator privileges

    Attempting to overwrite '/usr/bin/tar', without even checking for its existence is the WORST bit of scripting I've ever seen! How does an inexperienced user know the version of 'tar' you're distributing doesn't contain a handy little exploit? They don't, because you do it silently! And as a straight permissions repair makes the software update work anyway, why go replacing people's software at all!?

    Besides, your disk image is called "SoftwareUpdateFix", not "SoftWareUpdateFix". Good thing that cp has been made case insensitive now, isn't it?

    Maybe you should read a few programming books before releasing any more "helpful" trash like this again...  
    (Version 1.1)

    praisebury
    0
    [ 2 Replies - Reply ]
    Replies:
    Sep 9 2004

    ANONYMOUS  ...sigh...

    You're yelling at them because someone at MacUpdate may have made a small mistype when adding the link to their page?

    As far as I've read, this doesn't distribute a version of tar at all, but just copies the one Fink uses to where Software Update is expecting to find it.   
    (Version 1.1)

    praisebury
    0
    Mar 19 2009

    MAMANEACE  I see that people are disagreeing on this fix for a permissions error while trying to run software update.... I have an error, but it wasn't worded exactly like the one above. Disk Utility did not get rid of the error. Mine says I don't have permission to install the update, so the package has been moved to the trash, but it is not in the trash.... Anyway, I really really need a solution. Anyone have any ideas? Not sure if this fix would work for me since my error message isn't the exact same...

    Thanks, Erin  
    (Version 1.1)

    praisebury
    0

    Sep 6 2004

    TIM  It indeed repairs your permissions, which I admit is not nessesary but could be usefull. But it also copies the "tar" needed by Software-Update to the right location. The "tar" file not being there is the cause of the problem, which is thus fixed by this script. The permission repair is to be sure that was not the problem.   
    (Version 1.0)

    praisebury
    0
    [ 2 Replies - Reply ]
    Replies:
    Sep 8 2004

    AXEL ROEST  Wait a minute, I'm confused.

    In your script you copy a tar binary from the /sw directory (which I cannot locate), to the /usr/bin directory, which already contains the tar command.

    I've never seen or heard of the /sw directory. What am I missing?  
    (Version 1.0)

    praisebury
    0
    Sep 8 2004

    TIM GOEREE  If your /usr/bin already contains a "tar" file this fix won't work for you. The whole point of this fix is that in some cases when Xcode/dev tools are removed your tar is removed as well. This file is needed by softwareupdate so it won't work if it's not there. If you want more info please email me with a question and I will get back to you asap.  
    (Version 1.0)

    praisebury
    0

    Sep 6 2004

    ANONYMOUS  I'm guessing this is completely unneeded if you instead use Apple's Disk Utility to fix permissions.  
    (Version 1.0)

    praisebury
    0
    [ 2 Replies - Reply ]
    Replies:
    Sep 6 2004

    TIM  It indeed repairs your permissions, which I admit is not nessesary but could be usefull. But it also copies the "tar" needed by Software-Update to the right location. The "tar" file not being there is the cause of the problem, which is thus fixed by this script. The permission repair is to be sure that was not the problem.  
    (Version 1.0)

    praisebury
    0
    Sep 6 2004

    ANONYMOUS  I stand corrected. Thanks to the developer for the explanation. Now I understand the issue.  
    (Version 1.0)

    praisebury
    0