Subject: bug#42902: texlive substitute TLS error: decoding the received packet

From: Maxim Cournoyer <[email-masked]>
Date: Wed, 05 May 2021 17:27:20 -0400

Hi!

"Dr. Arne Babenhauserheide" <[email-masked]> writes:

> Hi,
>
> I cannot update or re-install texlive:
>
> $ LANG=C guix install texlive
> The following package will be upgraded:
>    texlive (dependencies or package changed)
>
> The following derivation will be built:
>    /gnu/store/a9ndmp1c8bqaz9s7h6x3k7f4l7qawq7n-texlive-texmf-20190410.drv
> 2845.8 MB will be downloaded
> downloading from https://ci.guix.gnu.org/nar/lzip/z4xvgiliw5baf1pr4z03c7n2hw3bm5x5-texlive-texmf-20190410 ...
>  texlive-texmf-20190410  2.61GiB                                                                                            3.3MiB/s 00:02 [                  ]   0.2%guix substitute: error: TLS error in procedure 'read_from_session_record_port': Error decoding the received TLS packet.
> substitution of /gnu/store/z4xvgiliw5baf1pr4z03c7n2hw3bm5x5-texlive-texmf-20190410 failed
> guix install: error: some substitutes for the outputs of derivation `/gnu/store/v5arvb6lqg86gc2lsnmyfi1bj74yzx7f-texlive-20190410.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source
>
> Best wishes,
> Arne

I've just encountered that error message, trying to update my profile:

guix substitute: error: TLS error in procedure 'read_from_session_record_port': Error decoding the received TLS packet.
substitution of /gnu/store/jxzydj6zvpxfxfgv66010sa7dsnqci76-adwaita-icon-theme-3.34.3 failed
guix package: error: corrupt input while restoring archive from socket

The daemon in use is this:
/gnu/store/rsya5hkyq3fixl2r36lq2g892jadq1fc-guix-1.2.0-21.4dff6ec/bin/guix-daemon.
My system was updated a bit more than a week ago.

Maxim