Re: Latest Catalina updates break self-update and update-all

Hanspeter Niederstrasser <[email protected]>
Newsgroups gmane.os.apple.fink.beginners
Organization Snaggled Works
Message-ID <[email protected]>
On 11/11/21 4:16 PM, Edward R Kinney wrote:
> On Thu, Nov 11, 2021 at 10:32 AM <[email protected]> wrote:
> 
>> On 2021-11-11 10:17, Edward R Kinney wrote:
>>> Thanks for the quick response; new terminal session in a different
>>> directory produced same error output unfortunately.
>>> -Ed
>>>
>>> On Wed, Nov 10, 2021 at 10:09 PM Alexander Hansen
>>> <[email protected]> wrote:
>>>
>>>> <snip>
>>>>
>>>>> job-working-directory: error retrieving current directory: getcwd:
>>>>> cannot access parent directories: No such file or directory
>>>>> Information about 11839 packages read in 1 seconds.
>>>>> No packages to install.
>>>>> Use of uninitialized value $cwd_untainted in chdir at
>>>>> /System/Library/Perl/5.18/File/Find.pm line 624.
>>>>> Use of chdir('') or chdir(undef) as chdir() is deprecated at
>>>>> /System/Library/Perl/5.18/File/Find.pm line 624.
>>>>> ************************************
>>>>>
>>>>> If this problem will be fixed with the Big Sur release, I can
>>>>> wait, I still have functionality of the programs I have already
>>>>> installed.
>>>>>
>>>>> Thanks!
>>>>> Ed
>>>>
>>>> When I’ve gotten errors like that in the past, it was because my
>>>> shell was sitting in a working directory that got deleted.  Try a
>>>> new terminal session first.
>>>>
>>>> —akh
>>
>> What's the output of these commands in a terminal session that's
>> failing:
>>
>> pwd
>> printenv SHELL
>>
> Here's the output. Another Fink user also sent me an email that he has the
> same build of catalina 10.15.7 and has no problem, so I'm trying to find
> out what else Apple changed.
> 
> [elhefe:~/Desktop] kinney% pwd
> 
> /Users/kinney/Desktop
> 
> [elhefe:~/Desktop] kinney% printenv SHELL
> 
> /bin/bash
> 
> [elhefe:~/Desktop] kinney%
I've updated my VM to get all the latest updates for 10.15 and Fink 
still works. Can you run 'fink --version' or 'fink list fink' ? Or does 
something that low-level also give the perl error?
Have you edited ~/.bash_profile (or .login, .profile, .bashrc, etc) 
recently? Lastly, in Terminal.app -> Prefs -> General, is it set to open 
the "Default login shell" ? Similarly, in Prefs -> Profiles -> Shell, 
the 'run command' option should be unselected and blank.

One other possibility is that the Perl on your system is somehow broken. 
What's the output of these 3 commands:

/usr/bin/perl5.18 -e 'use Cwd; my $dir = getcwd; print "$dir \n";'
ls -l /System/Library/Perl/5.18/File/Find.pm
md5 /System/Library/Perl/5.18/File/Find.pm

My systems say Find.pm was installed on Aug 2019, even though these VMs 
were created only a couple months ago, so a different modification date 
suggests they've been changed. The md5 command should return 
"3524f07edfa57d8ca33e3f5c6df6a257"

Hanspeter



_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.