Re: bootstrap script fails on a fetch, can i just run it again?

Dan Hitt <[email protected]> Tue, 11 Jul 2023 18:58:40 -0700
Newsgroups gmane.os.apple.fink.beginners
Message-ID <CAOphizKjrbNHDA0yMungNQ2jpwpc1EgMWA7PFx2eOws3iL5cCA@mail.gmail.com>
On Tue, Jul 11, 2023 at 6:25 PM Hanspeter Niederstrasser <
[email protected]> 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.


> Hanspeter
> --
> Ad Astra
>
>
Thank you so much Hanspeter for answering my question, and i do hope that
you or one of yours can make it to the stars.

dan

_______________________________________________
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