Can't install security updates, please help.

Discussion in 'General Mac Discussion' started by ScotRobson, Sep 25, 2004.

  1. ScotRobson macrumors 6502

    Joined:
    Feb 3, 2004
    Location:
    Torquay UK
    #1
    Hi all

    I'm trying to install 2 updates.

    Java 1.4.2 Update 2 and Security Update 2004-09-16

    below is a screen shot of the error message i'm getting. My mac seems to be playing up a lot at the moment I am also having this problem -http://forums.macrumors.com/showthread.php?p=1049576#post1049576 - but im not sure if they are related.

    Hope someone can help. - I have repaired permissions.
     

    Attached Files:

  2. varmit macrumors 68000

    varmit

    Joined:
    Aug 5, 2003
    #2
    What type of connection are you on? I have cable and one of my friends has dail up. When he trys updates at home, he gets these errors. So he comes to my house to hook up and get updates. If you are dial up, that might be the same issue, which I don't really know why it is.
     
  3. ScotRobson thread starter macrumors 6502

    Joined:
    Feb 3, 2004
    Location:
    Torquay UK
    #3
    Boradband mate and i've never had a problem with updates :confused:
     
  4. yellow Moderator emeritus

    yellow

    Joined:
    Oct 21, 2003
    Location:
    Portland, OR
    #4
    sudo rm -rf /tmp/501/TemporaryItems

    Reboot. Try again.
     
  5. ScotRobson thread starter macrumors 6502

    Joined:
    Feb 3, 2004
    Location:
    Torquay UK
    #5
    Ok, I tried that twice, wasnt sure of the spacing. Where did I go wrong?
     

    Attached Files:

  6. edesignuk Moderator emeritus

    edesignuk

    Joined:
    Mar 25, 2002
    Location:
    London, England
    #6
  7. varmit macrumors 68000

    varmit

    Joined:
    Aug 5, 2003
    #7
    EDIT: Hold it, the first time it went though be it didn't find the file directory, give me a second

    Second Edit: put a final slash / at the end so it ends "TemporaryItems/", and yes, there is a space like you did the first time. I'm still looking into the problem, because I dont know if that will fix anything

    if you get an error that it doesn't exist. Do a change directory to it. "cd" then path to directory with no options like the -rf. see if it is even there.
     
  8. ScotRobson thread starter macrumors 6502

    Joined:
    Feb 3, 2004
    Location:
    Torquay UK
    #8
    Tried with / at the end and got the same "Not a directory"
     
  9. yellow Moderator emeritus

    yellow

    Joined:
    Oct 21, 2003
    Location:
    Portland, OR
    #9
    Yeah it doesn't matter if the final slash is there or not. Please post the results of:

    ls -laF /tmp/501

    Code:
    yellow% ls -laF /tmp/501
    total 0
    drwxr-xr-x   3 yellow  wheel  102B 25 Sep 08:34 ./
    drwxrwxrwt  10 root    wheel  340B 25 Sep 08:49 ../
    drwxr-xr-x   2 yellow  wheel  68B 24 Sep 21:30 TemporaryItems/
    
     
  10. varmit macrumors 68000

    varmit

    Joined:
    Aug 5, 2003
    #10
    Change Directory to it. "cd /tmp/501/TemporaryItems"
    See if it is even there.

    If not, then make directory. "mkdir /tmp/501/TemporaryItems" and try your update again.
     
  11. ScotRobson thread starter macrumors 6502

    Joined:
    Feb 3, 2004
    Location:
    Torquay UK
    #11
    they look like the letter L (ell) - this is what i got

    Edit realised i missed a slash out - tried again and that came back with Not a directory
     

    Attached Files:

  12. ScotRobson thread starter macrumors 6502

    Joined:
    Feb 3, 2004
    Location:
    Torquay UK
    #12
    Came back with Not a directory for both of these options!
     
  13. varmit macrumors 68000

    varmit

    Joined:
    Aug 5, 2003
    #13
    I note that yours has "/" at the end of every line and I don't.
     
  14. yellow Moderator emeritus

    yellow

    Joined:
    Oct 21, 2003
    Location:
    Portland, OR
    #14
    You have to have the leading slash.

    ls -laF /tmp/501

    you had:

    ls -laF tmp/501

    A subtle, yet huge difference.
     
  15. yellow Moderator emeritus

    yellow

    Joined:
    Oct 21, 2003
    Location:
    Portland, OR
    #15
    You used the wrong flag. -F shows directories with a trailing /.
     
  16. ScotRobson thread starter macrumors 6502

    Joined:
    Feb 3, 2004
    Location:
    Torquay UK
    #16
    Yeah i edited my post to say i tried again with the slash
     
  17. ScotRobson thread starter macrumors 6502

    Joined:
    Feb 3, 2004
    Location:
    Torquay UK
    #17
    Thanks edesignuk I tried this aswell and get "There were errors installing the software" try again

    :mad:
     
  18. varmit macrumors 68000

    varmit

    Joined:
    Aug 5, 2003
    #18
    ok, then just add the /s to the end of my stuff and you have it.
    For the first line returned:
    His: drwxr-xr-x 3 yellow wheel 102B 25 Sep 08:34 ./
    Mine: drwx------ 3 brando wheel 102 25 Sep 08:12 ./

    could this be causing this problem, because that is the only difference I see.
     
  19. yellow Moderator emeritus

    yellow

    Joined:
    Oct 21, 2003
    Location:
    Portland, OR
    #19

    Ooooooooook.

    Let's start from the top then. Give us the results of these:

    id
    ls -laF /tmp
    ls -laF /tmp/
     
  20. yellow Moderator emeritus

    yellow

    Joined:
    Oct 21, 2003
    Location:
    Portland, OR
    #20
    Actually, "His: drwxr-xr-x 3 yellow wheel 102B 25 Sep 08:34 ./" is mine. I don't know why your /tmp/501 directory is so closed off. That makes it hard for the OS to write to your tmp directory ;)
     
  21. ScotRobson thread starter macrumors 6502

    Joined:
    Feb 3, 2004
    Location:
    Torquay UK
    #21
    here you go
     

    Attached Files:

  22. yellow Moderator emeritus

    yellow

    Joined:
    Oct 21, 2003
    Location:
    Portland, OR
    #22
    This is obviously Panther, but that's not right. Not right at all.
    Your /tmp directory should be a symbolic link to /private/tmp.


    Code:
    yellow% ls -laF /tmp
    lrwxr-xr-x  1 root  admin  11 11 Aug 20:36 /tmp@ -> private/tmp
    
    You will notice that your /tmp is a FILE (and a very large one at that (827MB!)), not a directory! This should cause alarm! Please give us the output of:

    file /tmp

    For future reference, just copy from the terminal and paste into the code tags, no need for screenshots and attaching things. Thanks.
     
  23. ScotRobson thread starter macrumors 6502

    Joined:
    Feb 3, 2004
    Location:
    Torquay UK
    #23
    Never thought of copy paste lol

    SCOT-ROBSONs-Computer:~ srobson$ file /tmp
    /tmp: data
    SCOT-ROBSONs-Computer:~ srobson$
     
  24. yellow Moderator emeritus

    yellow

    Joined:
    Oct 21, 2003
    Location:
    Portland, OR
    #24
    And please, the output of:

    ls -laF /private/tmp
     
  25. ScotRobson thread starter macrumors 6502

    Joined:
    Feb 3, 2004
    Location:
    Torquay UK
    #25
    SCOT-ROBSONs-Computer:~ srobson$ ls -laF /private/tmp
    total 0
    drwxrwxrwt 4 root wheel 136 25 Sep 14:12 ./
    drwxr-xr-x 5 root wheel 170 25 Sep 10:52 ../
    drwxr-xr-x 4 srobson wheel 136 25 Sep 14:12 .Java142Update2.pkg.874.installmTgar3/
    drwx------ 3 srobson wheel 102 25 Sep 14:55 501/
     

Share This Page