Can't install security updates, please help.

ScotRobson

macrumors 6502
Original poster
Feb 3, 2004
310
0
Torquay UK
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.
 

Attachments


varmit

macrumors 68000
Aug 5, 2003
1,830
0
ScotRobson said:
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.
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.
 

ScotRobson

macrumors 6502
Original poster
Feb 3, 2004
310
0
Torquay UK
varmit said:
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.
Boradband mate and i've never had a problem with updates :confused:
 

varmit

macrumors 68000
Aug 5, 2003
1,830
0
ScotRobson said:
Ok, I tried that twice, wasnt sure of the spacing. Where did I go wrong?
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.
 

ScotRobson

macrumors 6502
Original poster
Feb 3, 2004
310
0
Torquay UK
varmit said:
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.
Tried with / at the end and got the same "Not a directory"
 

yellow

Moderator emeritus
Oct 21, 2003
15,925
1
Portland, OR
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/
 

varmit

macrumors 68000
Aug 5, 2003
1,830
0
ScotRobson said:
Tried with / at the end and got the same "Not a directory"
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.
 

ScotRobson

macrumors 6502
Original poster
Feb 3, 2004
310
0
Torquay UK
yellow said:
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/
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
 

Attachments

ScotRobson

macrumors 6502
Original poster
Feb 3, 2004
310
0
Torquay UK
varmit said:
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.
Came back with Not a directory for both of these options!
 

varmit

macrumors 68000
Aug 5, 2003
1,830
0
Desktop-G4:~ brando$ ls -laf /tmp/501
total 0
drwx------ 3 brando wheel 102 25 Sep 08:12 .
drwxrwxrwt 14 root wheel 476 25 Sep 08:52 ..
drwxr-xr-x 2 brando wheel 68 24 Sep 22:21 TemporaryItems
Desktop-G4:~ brando$
I note that yours has "/" at the end of every line and I don't.
 

yellow

Moderator emeritus
Oct 21, 2003
15,925
1
Portland, OR
ScotRobson said:
Edit realised i missed a slash out - tried again and that came back with Not a directory
You have to have the leading slash.

ls -laF /tmp/501

you had:

ls -laF tmp/501

A subtle, yet huge difference.
 

ScotRobson

macrumors 6502
Original poster
Feb 3, 2004
310
0
Torquay UK
edesignuk said:
Try installing them from the file downloads of the patches at apple.com/downloads and see what happens.
Thanks edesignuk I tried this aswell and get "There were errors installing the software" try again

:mad:
 

varmit

macrumors 68000
Aug 5, 2003
1,830
0
yellow said:
You used the wrong flag. -F shows directories with a trailing /.
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.
 

yellow

Moderator emeritus
Oct 21, 2003
15,925
1
Portland, OR
varmit said:
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.
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 ;)
 

yellow

Moderator emeritus
Oct 21, 2003
15,925
1
Portland, OR
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.
 

ScotRobson

macrumors 6502
Original poster
Feb 3, 2004
310
0
Torquay UK
yellow said:
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.
Never thought of copy paste lol

SCOT-ROBSONs-Computer:~ srobson$ file /tmp
/tmp: data
SCOT-ROBSONs-Computer:~ srobson$
 

ScotRobson

macrumors 6502
Original poster
Feb 3, 2004
310
0
Torquay UK
yellow said:
And please, the output of:

ls -laF /private/tmp
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/