On 6/12/12 1:17 PM, Alexander Hansen wrote:
> On 6/12/12 12:32 PM, Noah wrote:
>> Hi list,
>>
>> okay I am not sure what the best course is to fix this. but my fink
>> perl script is failing - perl is not parsing its contents.
>>
>> here is the first line:
>> $ less /sw/bin/fink
>> #!/usr/bin/arch -arch i386 /usr/bin/perl5.10.0 -w
>>
>> $ sudo fink -q -y selfupdate
>> Password:
>> /sw/bin/fink: line 23: =: command not found
>> /sw/bin/fink: line 23: $: command not found
>> /sw/bin/fink: line 24: use: command not found
>> /sw/bin/fink: line 26: use: command not found
>> /sw/bin/fink: line 29: use: command not found
>> /sw/bin/fink: line 32: require: command not found
>> /sw/bin/fink: line 33: syntax error near unexpected token `('
>> /sw/bin/fink: line 33: `my @args_left = Fink::Config->parse_options(@ARGV);'
>>
>> /usr/bin/arch
>> -r-xr-xr-x@ 61061 root wheel 0B Sep 19 2008 /usr/bin/arch*
>> $ ls -l /usr/bin/perl5.10.0
>> -rwxr-xr-x 1 root wheel 50K Jun 24 2009 /usr/bin/perl5.10.0*
>>
>> any clues on this?
>>
>> Cheers
>>
>>
>
> What OS version?
>
> Do you get the same thing if you don't use "sudo fink" ?
>
10.6.8
wglitchinthematrix 16:22:31 ~ $ which fink
fink is /sw/bin/fink
glitchinthematrix 16:22:32 ~ $ fink -q -y selfupdate
/sw/bin/fink: line 23: =: command not found
/sw/bin/fink: line 23: $: command not found
/sw/bin/fink: line 24: use: command not found
/sw/bin/fink: line 26: use: command not found
/sw/bin/fink: line 29: use: command not found
/sw/bin/fink: line 32: require: command not found
/sw/bin/fink: line 33: syntax error near unexpected token `('
/sw/bin/fink: line 33: `my @args_left = Fink::Config->parse_options(@ARGV);'
perl is not being run. its parsed as a shell script
glitchinthematrix 16:22:33 ~ $ /sw/bin/fink -q -y selfupdate
/sw/bin/fink: line 23: $: command not found
/sw/bin/fink: line 23: =: command not found
/sw/bin/fink: line 24: use: command not found
/sw/bin/fink: line 26: use: command not found
/sw/bin/fink: line 29: use: command not found
/sw/bin/fink: line 32: require: command not found
/sw/bin/fink: line 33: syntax error near unexpected token `('
/sw/bin/fink: line 33: `my @args_left = Fink::Config->parse_options(@ARGV);'
see I get rid of the arch command and at least runs.
$ less /sw/bin/fink
#!/usr/bin/perl5.10.0 -w
glitchinthematrix 16:24:03 ~ $ sudo /sw/bin/fink -q -y selfupdate
^CFailed: User interrupt.
glitchinthematrix 16:24:09 ~ $ sudo /sw/bin/fink -y selfupdate
rsync -az -q
rsync://distfiles.master.finkmirrors.net/finkinfo//TIMESTAMP
/sw/fink/TIMESTAMP.tmp
dyld: Library not loaded: /opt/local/lib/libpopt.0.dylib
Referenced from: /opt/local/bin/rsync
Reason: no suitable image found. Did find:
/opt/local/lib/libpopt.0.dylib: unknown file type, first eight bytes:
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
### execution of rsync failed, exit code 5
Failed to fetch the timestamp file from the rsync server:
rsync://distfiles.master.finkmirrors.net/finkinfo/. Check the error
messages above.
(1) Give up
(2) Retry the same mirror
(3) Retry another mirror from your country
(4) Retry another mirror
How do you want to proceed? [3] (assuming default)
rsync -az -q rsync://sjc.ca.us.finkmirrors.net/finkinfo//TIMESTAMP
/sw/fink/TIMESTAMP.tmp
dyld: Library not loaded: /opt/local/lib/libpopt.0.dylib
Referenced from: /opt/local/bin/rsync
Reason: no suitable image found. Did find:
/opt/local/lib/libpopt.0.dylib: unknown file type, first eight bytes:
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
### execution of rsync failed, exit code 5
Failed to fetch the timestamp file from the rsync server:
rsync://sjc.ca.us.finkmirrors.net/finkinfo/. Check the error messages
above.
(1) Give up
(2) Retry the same mirror
(3) Retry another mirror
How do you want to proceed? [3] (assuming default)
rsync -az -q rsync://aah.de.eu.finkmirrors.net/finkinfo//TIMESTAMP
/sw/fink/TIMESTAMP.tmp
dyld: Library not loaded: /opt/local/lib/libpopt.0.dylib
Referenced from: /opt/local/bin/rsync
Reason: no suitable image found. Did find:
/opt/local/lib/libpopt.0.dylib: unknown file type, first eight bytes:
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
### execution of rsync failed, exit code 5
Failed to fetch the timestamp file from the rsync server:
rsync://aah.de.eu.finkmirrors.net/finkinfo/. Check the error messages
above.
(1) Give up
(2) Retry the same mirror
(3) Retry another mirror
How do you want to proceed? [3] (assuming default)
rsync -az -q rsync://hnd.jp.asi.finkmirrors.net/finkinfo//TIMESTAMP
/sw/fink/TIMESTAMP.tmp
dyld: Library not loaded: /opt/local/lib/libpopt.0.dylib
Referenced from: /opt/local/bin/rsync
Reason: no suitable image found. Did find:
/opt/local/lib/libpopt.0.dylib: unknown file type, first eight bytes:
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
### execution of rsync failed, exit code 5
Failed to fetch the timestamp file from the rsync server:
rsync://hnd.jp.asi.finkmirrors.net/finkinfo/. Check the error messages
above.
(1) Give up
(2) Retry the same mirror
(3) Retry another mirror
How do you want to proceed? [3] (assuming default)
rsync -az -q rsync://hel.fi.eu.finkmirrors.net/finkinfo//TIMESTAMP
/sw/fink/TIMESTAMP.tmp
dyld: Library not loaded: /opt/local/lib/libpopt.0.dylib
Referenced from: /opt/local/bin/rsync
Reason: no suitable image found. Did find:
/opt/local/lib/libpopt.0.dylib: unknown file type, first eight bytes:
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
### execution of rsync failed, exit code 5
Failed to fetch the timestamp file from the rsync server:
rsync://hel.fi.eu.finkmirrors.net/finkinfo/. Check the error messages
above.
(1) Give up
(2) Retry the same mirror
(3) Retry another mirror
How do you want to proceed? [1] (assuming default)
No mirror worked. This seems unusual, please submit a short summary of
this event to [email protected]
Thank you
glitchinthematrix 16:24:19 ~ $
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners