Re: zef update error

[email protected] (Will Coleda) Sat, 20 Dec 2025 16:53:44 -0500
Newsgroups perl.perl6.users
Message-ID <CAKfi5MfFHB-zivui079p=j4y+k1Xorj=Kopic0Fibb=ZREq5wA@mail.gmail.com>
--000000000000fb2b690646693a45
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

There=E2=80=99s probably some curl environment variables you could use to g=
et that
effect, and maybe a way to force zef to use curl, but I leave that as an
exercise for the reader. :)

Glad you got it to work!


On Fri, Dec 19, 2025 at 22:26 ToddAndMargo via perl6-users <
[email protected]> wrote:

>
> > On Wed, Dec 17, 2025 at 1:51=E2=80=AFAM ToddAndMargo via perl6-users <p=
erl6-
> > [email protected] <mailto:[email protected]>> wrote:
> >
> >     On 12/16/25 6:09 PM, ToddAndMargo via perl6-users wrote:
> >      > raku -v
> >      > Welcome to Rakudo=CE=93=C3=A4=C3=B3 v2025.11.
> >      > Implementing the Raku=E2=94=AC=C2=AB Programming Language v6.d.
> >      > Built on MoarVM version 2025.11.
> >      >
> >      > C:\NtUtil>zef install  Terminal::ANSIColor
> >      > =3D=3D=3D> Searching for: Terminal::ANSIColor
> >      > =3D=3D=3D> Fetching [FAIL]:
> Terminal::ANSIColor:ver<0.10>:auth<zef:lizmat>
> >      > from https://360.zef.pm/T/ER/ <https://360.zef.pm/T/ER/>
> >      > TERMINAL_ANSICOLOR/687697f93d36df28d99841af8121e28f032f87eb.tar.=
gz
> >      > Aborting due to fetch failure:
> >      > Terminal::ANSIColor:ver<0.10>:auth<zef:lizmat> (use --force-fetc=
h
> to
> >      > override)
> >      >
> >      > C:\NtUtil>zef install  Terminal::ANSIColor --force-fetch
> >      > =3D=3D=3D> Searching for: Terminal::ANSIColor
> >      > =3D=3D=3D> Fetching [FAIL]:
> Terminal::ANSIColor:ver<0.10>:auth<zef:lizmat>
> >      > from https://360.zef.pm/T/ER/ <https://360.zef.pm/T/ER/>
> >      > TERMINAL_ANSICOLOR/687697f93d36df28d99841af8121e28f032f87eb.tar.=
gz
> >      > [Terminal::ANSIColor] Failed to fetch, but continuing with --
> >     force-fetch
> >      > Use of uninitialized value of type IO::Path in string context.
> >      > Methods .^name, .raku, .gist, or .say can be used to stringify i=
t
> to
> >      > something meaningful.
> >      >    in sub warn at 'SETTING::'src/core.c/control.rakumod line 267
> >      > Must specify a non-empty string as a path
> >
> >
> >     Chatgpt says this is know issue, especially  when running Windows.
> >     It recommends this:
> >
> >           Optional: make GitHub the default source
> >
> >           If you hit this often, you can tell zef to prefer GitHub:
> >
> >           zef update
> >           zef config repository github
> >
> >           Then installs like this will usually =E2=80=9Cjust work=E2=80=
=9D:
> >
> >           zef install Terminal::ANSIColor
> >
> >
> >     I do not have access the the customer's computer at the moment.
> >     Is this "AI Slop"? Any options making GitHub the default source?
> >
> >     -T
> >
>
>
> On 12/18/25 9:37 AM, Will Coleda wrote:
>  > That is AI slop, yes. Bad advice (You don=E2=80=99t want to download f=
rom github
>  > in general, you want to get from the fez ecosystem) and doesn=E2=80=99=
t help
>  > solve the actual problem.
>  >
>  > Please try to download that file manually from the box that is
>  > generating the error. Your error message has the URL:
>  >
>  > curl --output outfile https://360.zef.pm/T/ER/
>  > TERMINAL_ANSICOLOR/687697f93d36df28d99841af8121e28f032f87eb.tar.gz
>  > <https://360.zef.pm/T/ER/
>  > TERMINAL_ANSICOLOR/687697f93d36df28d99841af8121e28f032f87eb.tar.gz>
>  >
>  > I tried that URL from my box and it downloads fine.
>  >
>  > You could also add a =E2=80=9C=E2=80=94verbose=E2=80=9D to the zef com=
mand to see if it tells
>  > you why the download is failing.
>  >
>
>
> Hi Will,
>
> You called it.  Thank you!  You saved my ...
>
> I took me a few minutes to realize the zef took the tar
> ball and I did not have to de-tar it.
>
> The problem had to do with SSL certificates.  Curl was the
> one that identified it.
>
> The work around for curl is `--ssl-no-revoke `
>
> :-)
>
> Happy camping has returned!
>
> -T
>
>
> C:\NtUtil>zef install File::Directory::Tree --force-install
>
> =3D=3D=3D> Searching for: File::Directory::Tree
>
> =3D=3D=3D> Fetching [FAIL]:
> File::Directory::Tree:ver<0.1>:auth<github:labster> from
>
> https://raw.githubusercontent.com/raku/REA/main/archive/F/File%3A%3ADirec=
tory%3A%3ATree/File%3A%3ADirectory%3A%3ATree%3Aver%3C0.1%3E%3Aauth%3Cgithub=
%3Alabster%3E.tar.gz
>
> Aborting due to fetch failure:
> File::Directory::Tree:ver<0.1>:auth<github:labster> (use --force-fetch
> to override)
>
>
> C:\NtUtil>curl -L --ssl-no-revoke
>
> https://raw.githubusercontent.com/raku/REA/main/archive/F/File%3A%3ADirec=
tory%3A%3ATree/File%3A%3ADirectory%3A%3ATree%3Aver%3C0.1%3E%3Aauth%3Cgithub=
%3Alabster%3E.tar.gz
> -o  File-Directory-Tree.tar.gz
>
>
> C:\NtUtil>zef install C:\NtUtil\File-Directory-Tree.tar.gz
> =3D=3D=3D> Staging File::Directory::Tree:ver<0.1>:auth<zef:labster>
> =3D=3D=3D> Staging [OK] for File::Directory::Tree:ver<0.1>:auth<zef:labst=
er>
> =3D=3D=3D> Testing: File::Directory::Tree:ver<0.1>:auth<zef:labster>
> =3D=3D=3D> Testing [OK] for File::Directory::Tree:ver<0.1>:auth<zef:labst=
er>
> =3D=3D=3D> Installing: File::Directory::Tree:ver<0.1>:auth<zef:labster>
>
>

--000000000000fb2b690646693a45
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto">There=E2=80=99s probably some curl environment variables =
you could use to get that effect,=C2=A0and maybe a way to force zef to use =
curl, but I leave that as an exercise for the reader. :)</div><div dir=3D"a=
uto"><br></div><div dir=3D"auto">Glad you got it to work!</div><div dir=3D"=
auto"><br></div><div dir=3D"auto"><br><div class=3D"gmail_quote gmail_quote=
_container" dir=3D"auto"><div dir=3D"ltr" class=3D"gmail_attr">On Fri, Dec =
19, 2025 at 22:26 ToddAndMargo via perl6-users &lt;<a href=3D"mailto:perl6-=
[email protected]">[email protected]</a>&gt; wrote:<br></div><blockquote cl=
ass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;p=
adding-left:1ex"><br>
&gt; On Wed, Dec 17, 2025 at 1:51=E2=80=AFAM ToddAndMargo via perl6-users &=
lt;perl6- <br>
&gt; <a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a>=
 &lt;mailto:<a href=3D"mailto:[email protected]" target=3D"_blank">perl6=
[email protected]</a>&gt;&gt; wrote:<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0On 12/16/25 6:09 PM, ToddAndMargo via perl6-users w=
rote:<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt; raku -v<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt; Welcome to Rakudo=CE=93=C3=A4=C3=B3 v2025.11.=
<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt; Implementing the Raku=E2=94=AC=C2=AB Programm=
ing Language v6.d.<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt; Built on MoarVM version 2025.11.<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt; C:\NtUtil&gt;zef install=C2=A0 Terminal::ANSI=
Color<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt; =3D=3D=3D&gt; Searching for: Terminal::ANSICo=
lor<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt; =3D=3D=3D&gt; Fetching [FAIL]: Terminal::ANSI=
Color:ver&lt;0.10&gt;:auth&lt;zef:lizmat&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt; from <a href=3D"https://360.zef.pm/T/ER/" rel=
=3D"noreferrer" target=3D"_blank">https://360.zef.pm/T/ER/</a> &lt;<a href=
=3D"https://360.zef.pm/T/ER/" rel=3D"noreferrer" target=3D"_blank">https://=
360.zef.pm/T/ER/</a>&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt; TERMINAL_ANSICOLOR/687697f93d36df28d99841af81=
21e28f032f87eb.tar.gz<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt; Aborting due to fetch failure:<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt; Terminal::ANSIColor:ver&lt;0.10&gt;:auth&lt;z=
ef:lizmat&gt; (use --force-fetch to<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt; override)<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt; C:\NtUtil&gt;zef install=C2=A0 Terminal::ANSI=
Color --force-fetch<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt; =3D=3D=3D&gt; Searching for: Terminal::ANSICo=
lor<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt; =3D=3D=3D&gt; Fetching [FAIL]: Terminal::ANSI=
Color:ver&lt;0.10&gt;:auth&lt;zef:lizmat&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt; from <a href=3D"https://360.zef.pm/T/ER/" rel=
=3D"noreferrer" target=3D"_blank">https://360.zef.pm/T/ER/</a> &lt;<a href=
=3D"https://360.zef.pm/T/ER/" rel=3D"noreferrer" target=3D"_blank">https://=
360.zef.pm/T/ER/</a>&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt; TERMINAL_ANSICOLOR/687697f93d36df28d99841af81=
21e28f032f87eb.tar.gz<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt; [Terminal::ANSIColor] Failed to fetch, but co=
ntinuing with --<br>
&gt;=C2=A0 =C2=A0 =C2=A0force-fetch<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt; Use of uninitialized value of type IO::Path i=
n string context.<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt; Methods .^name, .raku, .gist, or .say can be =
used to stringify it to<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt; something meaningful.<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt;=C2=A0 =C2=A0 in sub warn at &#39;SETTING::&#3=
9;src/core.c/control.rakumod line 267<br>
&gt;=C2=A0 =C2=A0 =C2=A0 &gt; Must specify a non-empty string as a path<br>
&gt; <br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0Chatgpt says this is know issue, especially=C2=A0 w=
hen running Windows.<br>
&gt;=C2=A0 =C2=A0 =C2=A0It recommends this:<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Optional: make GitHub the defa=
ult source<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0If you hit this often, you can=
 tell zef to prefer GitHub:<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0zef update<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0zef config repository github<b=
r>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Then installs like this will u=
sually =E2=80=9Cjust work=E2=80=9D:<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0zef install Terminal::ANSIColo=
r<br>
&gt; <br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0I do not have access the the customer&#39;s compute=
r at the moment.<br>
&gt;=C2=A0 =C2=A0 =C2=A0Is this &quot;AI Slop&quot;? Any options making Git=
Hub the default source?<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0-T<br>
&gt; <br>
<br>
<br>
On 12/18/25 9:37 AM, Will Coleda wrote:<br>
=C2=A0&gt; That is AI slop, yes. Bad advice (You don=E2=80=99t want to down=
load from github<br>
=C2=A0&gt; in general, you want to get from the fez ecosystem) and doesn=E2=
=80=99t help<br>
=C2=A0&gt; solve the actual problem.<br>
=C2=A0&gt;<br>
=C2=A0&gt; Please try to download that file manually from the box that is<b=
r>
=C2=A0&gt; generating the error. Your error message has the URL:<br>
=C2=A0&gt;<br>
=C2=A0&gt; curl --output outfile <a href=3D"https://360.zef.pm/T/ER/" rel=
=3D"noreferrer" target=3D"_blank">https://360.zef.pm/T/ER/</a><br>
=C2=A0&gt; TERMINAL_ANSICOLOR/687697f93d36df28d99841af8121e28f032f87eb.tar.=
gz<br>
=C2=A0&gt; &lt;<a href=3D"https://360.zef.pm/T/ER/" rel=3D"noreferrer" targ=
et=3D"_blank">https://360.zef.pm/T/ER/</a><br>
=C2=A0&gt; TERMINAL_ANSICOLOR/687697f93d36df28d99841af8121e28f032f87eb.tar.=
gz&gt;<br>
=C2=A0&gt;<br>
=C2=A0&gt; I tried that URL from my box and it downloads fine.<br>
=C2=A0&gt;<br>
=C2=A0&gt; You could also add a =E2=80=9C=E2=80=94verbose=E2=80=9D to the z=
ef command to see if it tells<br>
=C2=A0&gt; you why the download is failing.<br>
=C2=A0&gt;<br>
<br>
<br>
Hi Will,<br>
<br>
You called it.=C2=A0 Thank you!=C2=A0 You saved my ...<br>
<br>
I took me a few minutes to realize the zef took the tar<br>
ball and I did not have to de-tar it.<br>
<br>
The problem had to do with SSL certificates.=C2=A0 Curl was the<br>
one that identified it.<br>
<br>
The work around for curl is `--ssl-no-revoke `<br>
<br>
:-)<br>
<br>
Happy camping has returned!<br>
<br>
-T<br>
<br>
<br>
C:\NtUtil&gt;zef install File::Directory::Tree --force-install<br>
<br>
=3D=3D=3D&gt; Searching for: File::Directory::Tree<br>
<br>
=3D=3D=3D&gt; Fetching [FAIL]: <br>
File::Directory::Tree:ver&lt;0.1&gt;:auth&lt;github:labster&gt; from <br>
<a href=3D"https://raw.githubusercontent.com/raku/REA/main/archive/F/File%3=
A%3ADirectory%3A%3ATree/File%3A%3ADirectory%3A%3ATree%3Aver%3C0.1%3E%3Aauth=
%3Cgithub%3Alabster%3E.tar.gz" rel=3D"noreferrer" target=3D"_blank">https:/=
/raw.githubusercontent.com/raku/REA/main/archive/F/File%3A%3ADirectory%3A%3=
ATree/File%3A%3ADirectory%3A%3ATree%3Aver%3C0.1%3E%3Aauth%3Cgithub%3Alabste=
r%3E.tar.gz</a><br>
<br>
Aborting due to fetch failure: <br>
File::Directory::Tree:ver&lt;0.1&gt;:auth&lt;github:labster&gt; (use --forc=
e-fetch <br>
to override)<br>
<br>
<br>
C:\NtUtil&gt;curl -L --ssl-no-revoke <br>
<a href=3D"https://raw.githubusercontent.com/raku/REA/main/archive/F/File%3=
A%3ADirectory%3A%3ATree/File%3A%3ADirectory%3A%3ATree%3Aver%3C0.1%3E%3Aauth=
%3Cgithub%3Alabster%3E.tar.gz" rel=3D"noreferrer" target=3D"_blank">https:/=
/raw.githubusercontent.com/raku/REA/main/archive/F/File%3A%3ADirectory%3A%3=
ATree/File%3A%3ADirectory%3A%3ATree%3Aver%3C0.1%3E%3Aauth%3Cgithub%3Alabste=
r%3E.tar.gz</a> <br>
-o=C2=A0 File-Directory-Tree.tar.gz<br>
<br>
<br>
C:\NtUtil&gt;zef install C:\NtUtil\File-Directory-Tree.tar.gz<br>
=3D=3D=3D&gt; Staging File::Directory::Tree:ver&lt;0.1&gt;:auth&lt;zef:labs=
ter&gt;<br>
=3D=3D=3D&gt; Staging [OK] for File::Directory::Tree:ver&lt;0.1&gt;:auth&lt=
;zef:labster&gt;<br>
=3D=3D=3D&gt; Testing: File::Directory::Tree:ver&lt;0.1&gt;:auth&lt;zef:lab=
ster&gt;<br>
=3D=3D=3D&gt; Testing [OK] for File::Directory::Tree:ver&lt;0.1&gt;:auth&lt=
;zef:labster&gt;<br>
=3D=3D=3D&gt; Installing: File::Directory::Tree:ver&lt;0.1&gt;:auth&lt;zef:=
labster&gt;<br>
<br>
</blockquote></div></div>

--000000000000fb2b690646693a45--