Re: Info on how best to upgrade from 10.15 to 11.x
Hanspeter Niederstrasser <[email protected]>
| Newsgroups | gmane.os.apple.fink.beginners |
|---|---|
| Organization | Snaggled Works |
| Message-ID | <[email protected]> |
On 11/18/22 11:22 AM, Edward R Kinney wrote: > Due to some other compatibility issues, I may finally have to upgrade OSX > from 10.15. Is there any info/doc on how to do this and preserve fink and > its package functions as much as possible? If this is only possible using > github, some simple how-to instructions would be very helpful and > appreciated! If your Fink install is in a subdirectory of /opt, then upgrading Fink before the system OS should be possible to do in place w/out having to start all over. For sanity, save a copy of your installed packages list using this command (one line and change /sw as needed): for i in `/bin/ls -1 /sw/var/lib/dpkg/info/*.list`; do basename -s .list $i >> ~/my_fink_packages.txt; done After the system upgrade, if you had to reinstall Fink from scratch, the following command will go through your old package list and reinstall them (with the caveat that some packages may not be available for macOS11): cat ~/my_fink_packages.txt | xargs fink reinstall Note that some packages do not exist on macOS11, so you might need to hand edit the file my_fink_packages.txt to remove the missing packages before trying to reinstall 0) Update an existing Fink before upgrading macOS. If deleting Fink and reinstalling from scratch, it's OK to upgrade macOS, then install the new Fink. 1) Get the latest version of Fink from git: mkdir ~/src cd ~/src git clone https://github.com/TheSin-/fink fink-thesin cd fink-thesin git checkout dpkg1.16 2a) if you're doing an upgrade to a Fink already in /opt: cd ~/src/fink-thesin ./inject.pl OR 2b) if starting from scratch: cd ~/src/fink-thesin ./bootstrap 3) install your old packages using the above command: cat ~/my_fink_packages.txt | xargs fink reinstall Hanspeter -- Eagles may soar, but weasels don't get sucked into jet engines _______________________________________________ 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