* "Internal Error: gcrypt library error 60 illegal tag." when scripting
@ 2023-12-22 14:41 James Hanley
2023-12-22 17:19 ` Jon Turney
2024-01-02 16:37 ` James Hanley
0 siblings, 2 replies; 3+ messages in thread
From: James Hanley @ 2023-12-22 14:41 UTC (permalink / raw)
To: cygwin
[-- Attachment #1: Type: text/plain, Size: 1333 bytes --]
when running the following script below - I always get the error indicated
in the subject line. If I click another site from the UI then after it
works fine. If I change the script to reflect that selected site from the
UI and re-run, I get the same error mentioned. Any ideas?
"""
#!/bin/sh
(
cd /usr/local/bin
wget2 -N http://cygwin.com/setup-x86_64.exe
chmod u+x /usr/local/bin/setup-x86_64.exe
)
#
# --site http://mathiasw.com
\
# --site http://mirrors.koehn.com \
# --site http://cygwin.skazkaforyou.com \
# --site
http://ftp.mirrorservice.org/sites/sourceware.org/pub/cygwinports \
# --site http://cygwin.mirrors.pair.com \
cygstart -- /usr/local/bin/setup-x86_64.exe \
--pubkey http://cygwinports.org/ports.gpg \
--site http://cygwin.mirror.constant.com \
--site http://cygwin.mirrors.hoobly.com \
--site https://mirror.clarkson.edu \
--site http://www.gtlib.gatech.edu \
--site https://mirrors.rit.edu \
--site http://mirror.cs.vt.edu \
-g $*
"""
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: "Internal Error: gcrypt library error 60 illegal tag." when scripting
2023-12-22 14:41 "Internal Error: gcrypt library error 60 illegal tag." when scripting James Hanley
@ 2023-12-22 17:19 ` Jon Turney
2024-01-02 16:37 ` James Hanley
1 sibling, 0 replies; 3+ messages in thread
From: Jon Turney @ 2023-12-22 17:19 UTC (permalink / raw)
To: James Hanley; +Cc: cygwin
On 22/12/2023 14:41, James Hanley via Cygwin wrote:
> when running the following script below - I always get the error indicated
> in the subject line. If I click another site from the UI then after it
> works fine. If I change the script to reflect that selected site from the
> UI and re-run, I get the same error mentioned. Any ideas?
Yeah, this error should probably be reported in a clearer fashion.
I think what this error is telling you is that
'http://cygwinports.org/ports.gpg' is not a valid gpg key.
This is correct. If you open that with your browser, you'll see why.
The cygwinports package repo was shut down some time ago (2017 I think).
The solution is to remove that key from your setup invocation.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: "Internal Error: gcrypt library error 60 illegal tag." when scripting
2023-12-22 14:41 "Internal Error: gcrypt library error 60 illegal tag." when scripting James Hanley
2023-12-22 17:19 ` Jon Turney
@ 2024-01-02 16:37 ` James Hanley
1 sibling, 0 replies; 3+ messages in thread
From: James Hanley @ 2024-01-02 16:37 UTC (permalink / raw)
To: cygwin
[-- Attachment #1: Type: text/plain, Size: 2176 bytes --]
Thanks, Jon - I've removed the parameter for '
http://cygwinports.org/ports.gpg' and I'm not entirely sure why I had it
there in the first place.
However, on removing the parameter, I now get the error for every
referenced site in the script "Unable to get setup from <https://.../>" for
every site referenced in the script except hoobly.com and constant.com -
removing those sites from the script allows the script to run properly even
though they are listed in "Choose A Download Site" picker and when adding
them there, they have no issue - any idea why those sites would have issues
in the script but not when selecting from the picker?
-Jim
On Fri, Dec 22, 2023 at 9:41 AM James Hanley <jhanley@dgtlrift.com> wrote:
> when running the following script below - I always get the error indicated
> in the subject line. If I click another site from the UI then after it
> works fine. If I change the script to reflect that selected site from the
> UI and re-run, I get the same error mentioned. Any ideas?
>
> """
> #!/bin/sh
>
> (
> cd /usr/local/bin
> wget2 -N http://cygwin.com/setup-x86_64.exe
> chmod u+x /usr/local/bin/setup-x86_64.exe
> )
>
> #
> # --site http://mathiasw.com
> \
> # --site http://mirrors.koehn.com \
> # --site http://cygwin.skazkaforyou.com \
> # --site
> http://ftp.mirrorservice.org/sites/sourceware.org/pub/cygwinports \
> # --site http://cygwin.mirrors.pair.com \
>
> cygstart -- /usr/local/bin/setup-x86_64.exe \
> --pubkey http://cygwinports.org/ports.gpg \
> --site http://cygwin.mirror.constant.com \
> --site http://cygwin.mirrors.hoobly.com \
> --site https://mirror.clarkson.edu \
> --site http://www.gtlib.gatech.edu \
> --site https://mirrors.rit.edu \
> --site http://mirror.cs.vt.edu \
> -g $*
> """
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-01-02 16:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-22 14:41 "Internal Error: gcrypt library error 60 illegal tag." when scripting James Hanley
2023-12-22 17:19 ` Jon Turney
2024-01-02 16:37 ` James Hanley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).