Post Preview
postName: ''
postWebsite: ''
postComment: "The easiest thing to do is blow away /sw and re-install. Here is the pedantic method I used to update fink for Lion:\n\nIMPORTANT Step 0:\n0) Install or upgrade to Xcode 4.1.1 or later\nNOTE: Xcode is available on the AppStore\n\n1) download fink v0.31.0 or later and place it under /var/tmp\nNOTE: See the download link at: http://sourceforge.net/projects/fink/\n\n2) Open a terminal window\n3) sudo -s\nNOTE: Type in an admin password\n4) cd /var/tmp\n5) rm -rf fink-setup\n6) cd fink-setup\n7) tar -zxf ../fink-*.tar.gz\n8) cd fink-*\n9) optional: backup /sw\nNOTE: The next step will blow away any existing /sw fink data. The optional previous step is recommended in case you wish to revert.\n\n10) rm -rf /sw\nNOTE: As noted in http://fink.sourceforge.net/news/#2011-07-20%20Fink%20and%20Lion--updated. you can attempt to preserve your old /sw tree. I think it is easier to blow away and start fresh before you bootstrap:\n\n11) ./bootstrap\nNOTE: Configure fink as needed\n\n12) . /sw/bin/init.sh\n\n13) fink configure\nNOTE: The defaults were setup during the previous bootstrap. We do it again because under some previous releases, the configuration needed to be reset.\nNOTE: No harm in doing this again and in some cases this will help.\n\n14) . /sw/bin/init.sh\nNOTE: Again in case the previous fink configure changed things.\n\n15) fink scanpackages\n16) apt-get update\n17) fink index -f\nNOTE: The above 3 step were need in previous versions to work around a bug.\nNOTE: No harm in doing these steps and in some cases this will help.\n\n18) fink selfupdate\nNOTE: If all is well, you should see near the end: \"The core packages have been updated\".\n\n19) fink update-all\n\n20) fink configure\nNOTE: If the previous selfupdate and/or update-all resulted in a need to reconfigure, we do it again here. In some previous versions this was needed.\nNOTE: No harm in doing these steps and in some cases this will help.\n\nAt this point fink is ready for use."