|
From: Dan H. <dan...@gm...> - 2023-07-13 03:38:28
|
On Wed, Jul 12, 2023 at 1:51 AM Hanspeter Niederstrasser < fi...@sn...> wrote: > On 7/11/23 8:58 PM, Dan Hitt wrote: > > On Tue, Jul 11, 2023 at 6:25 PM Hanspeter Niederstrasser < > > fi...@sn...> wrote: > > > >> On 7/11/23 2:16 AM, Dan Hitt wrote: > >>> I just downloaded fink 0.45.6 on my Catalina system. I've installed > >> xcode > >>> and java. > >>> > >>> I got in the source directory fink-0.45.6 and ran ./bootstrap > >>> > >>> It generated a lot of output (26000 lines) and then began to get > >>> "404 Not Found" errors. This happened in the command: > >>> /opt/sw/bin/apt-get-lockwait -q update > >>> > >>> It was complaining about the url > >>> > >> > http://bindist.finkmirrors.net/10.15/dists/stable/main/binary-darwin-x86_64/Packages > >>> and sure enough, if i try in a browser, i also get a 404. > >>> > >>> And the tail end of the execution looks like this: > >>> > >>> Reading Package Lists... > >>> Building Dependency Tree... > >>> E: Some index files failed to download, they have been ignored, or old > >> ones > >>> used instead. > >>> ### execution of /opt/sw/bin/apt-get-lockwait failed, exit code 100 > >>> WARNING: Failure while updating indexes. > >>> > >>> > >>> ERROR: Bootstrap phase 2 failed! > >>> > >>> So . . . should i just wait a while and try again? > >>> > >>> If i redo bootstrap, will it be smart enough to skip everything that it > >> has > >>> already done? > >>> > >>> Am i doing this at the wrong time of the day? > >>> > >>> Am i choosing the wrong mirror? > >>> > >>> I just went with the defaults on all the questions that bootstrap asked > >> me. > >>> > >>> Thanks in advance for any advice or pointers to the FAQ. > >> > >> I think that if it gets to this point, Fink is already installed, but is > >> just trying to download information about a binary distribution that > >> doesn't exist (for 10.15). What happens if you open a new Terminal > >> window and try to run this command: > >> > >> fink list dpkg > >> > > > > Well, this one doesn't work, as there is no "fink" on my PATH . . . but > > > > > >> > >> If that doesn't work, try `/opt/sw/bin/fink list dpkg`. > >> > > > > This one does work!! > > > > It gives the result: > > Information about 318 packages read in 1 seconds. > > i dpkg 1.10.21-124 The Debian package manager > > i dpkg-base-file 0.4-1 Support scripts for dpkg > > dpkg-bootstrap 1.10.21-122 The Debian package manager (bootstrap > > only) > > > > So i suppose i'll need to appropriately adjust my PATH in my ~/.zshrc and > > locate and read the docs; i understand that fink is something like apt > > (hope so, anyway). > > > > I am a little uneasy about the way bootstrap ended, but i'm glad it > wasn't > > a total wipeout. > > To set up your environment, run `/opt/sw/bin/pathsetup.sh`. That should > adjust your .zshrc correctly. > > Hanspeter > Thanks Hanspeter. I tried running the pathsetup.sh script remotely, and it failed, but when i ran it at the machine itself, it worked. No doubt because it wanted (or needed) to use the gui. It did not modify my ~/.zshrc but did add a ~/.zlogin with the contents test -r /opt/sw/bin/init.sh && . /opt/sw/bin/init.sh I tried, unsuccessfully to run 'sudo apt-get update' in order to get some packages to install. After that failed, i tried 'fink selfupdate' and that worked, producing around 16000 lines of output, and i was able to do everything remotely. And then i ran 'fink install libjpeg' and it worked, or, at least, in installed some software, including at least one executable that was runnable. The installation process did with that same warning about not being able to get http://bindist.finkmirrors.net/10.15/dists/stable/main/binary-darwin-x86_64/Packages but the exit status was ok (i.e., echo $? gave zero). So i suppose i'll just have to get used to that message. Anyhow, thanks very much for helping me to get started. dan > > > -- > "The great tragedy of science is the slaying of a beautiful hypothesis > by an ugly fact." > --Thomas Henry Huxley > > |