Re: Fink on Monterey

Derek Homeier <[email protected]>
Newsgroups gmane.os.apple.fink.general
Message-ID <[email protected]>
On 27 Dec 2022, at 2:30 am, Scott Hannahs via Fink-users <[email protected]> wrote:
> 
> I installed TheSin dpkg 1.16 version awhile ago.  Using Rosetta and X86 mode I have updated it and until recently it has worked fine.
> 
> Monterey 12.6.2
> Darwin 21.6.0
> 
> 
> But the latest self update almost completed and then fails with a perl error
> Already up to date.
>> Scanning package description files..........
>> Information about 14086 packages read in 0 seconds.
>> no package found for "fink"
>> Failed: Can't call method "is_installed" on an undefined value at /opt/sw/lib/perl5/Fink/SelfUpdate.pm line 288.
> 
> As far as I can tell it is using the fink.info file in the injected folder. “Fink reinstall fink” fails with 

I think it should use the package description in 
/opt/sw/fink/10.9-libcxx/stable/main/finkinfo/base/fink-12.0.info
which would have been installed during bootstrap. Not sure what would happen with that during a
`fink selfupdate` – which method are you using?
fink-distributions of course does not include any descriptions yet for fink-11.3 or later, so those
should not be affected, but I am not sure what a selfupdate directly into the package tree might
do to the initially installed ones.
I’ve only ever updated the other subdirectories except ‘base’ from my local fink-distributions clone,
or rsync’ed with the ‘-u’ (update) option to avoid changing anything installed with the special
dpkg-1.16 bootstrap.
But if your installation is a few months old already, it may also be missing some recent updates
since November.

> Related: What is the best form for installing fink on:
> Catalina 10.15.x
> Big Sur 11.x.x
> Monterey 12.x.x
> Ventures 13.x.x
> 
> Is the process still:
>> 
>> 
>> git clone https://github.com/TheSin-/fink
>> cd fink
>> git checkout dpkg1.16
>> ./bootstrap
> 
Cannot comment on any “best way” as I don’t think anything is official yet, but the above
worked for me at least on Monterey. On Ventura bootstrap had another failure since it no
more comes with the *roff binaries in /usr/bin (or install-info…) – see
https://github.com/dhomeier/fink/commit/224e095

> In addition for testing on arm64, it was recommended to
>> 
>> 
>> git pull [email protected]:dhomeier/fink.git dpkg1.16
>> before ./bootstrap, but as I mentioned, it may still require some manual fixes during bootstrap.
> 
> However that git command has no access as far as I can tell.  Is there some secret incantation to get this access?
>> 
>> 
>> [email protected]: Permission denied (publickey).
>> fatal: Could not read from remote repository.
> 
Can’t reproduce that (but then it’s my own repo ;-).
You might need to activate an ssh key to use the git@… protocol, see
https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/reviewing-your-ssh-keys

but for reading only could also try the https syntax

git pull https://github.com/dhomeier/fink dpkg1.16
or directly clone from that repo.

Again, I’ve only tested this on 13.1 (and with most of the updates on 12.6), and there is no
official definition yet of the arm Architecture (or even whether it should be `arm` or `arm64`).

HTH
					Derek



_______________________________________________
Fink-users mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users
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.