[tex-live] How to add my very own unsigned repository
Norbert Preining
preining at logic.at
Wed Jun 13 11:52:50 CEST 2018
Answer for all here,
> Do you have an idea, what went wrong here? Is it not possible to copy a
> local unsigned repository to some web space? I thought, that using
The problem is with curl, which is used after LWP didn't find the
signature file.
curl interestingly returns 0 on all operations unless --fail is passed
in.
I have committed a new version of TLConfig.pm which adds the --fail
option to curl.
If someone needs this fix immediately, please update TLConfig.pm
(in tlpkg/TeXLive/TLConfig.pm) with the following patch:
@@ -116,7 +116,7 @@ our $DefaultFallbackDownloader = "wget";
our @AcceptedFallbackDownloaders = qw/curl wget/;
our %FallbackDownloaderProgram = ( 'wget' => 'wget', 'curl' => 'curl');
our %FallbackDownloaderArgs = (
- 'curl' => ['--user-agent', 'texlive/curl', '--retry', '10',
+ 'curl' => ['--user-agent', 'texlive/curl', '--retry', '10', '--fail',
'--connect-timeout', "$NetworkTimeout", '--silent', '--output'],
'wget' => ['--user-agent=texlive/wget', '--tries=10',
"--timeout=$NetworkTimeout", '-q', '-O'],
That is, simply add in the line starting with
'curl' =>
at the end the following
'--fail',
(including the comma!)
Thanks
Norbert
--
PREINING Norbert http://www.preining.info
Accelia Inc. + JAIST + TeX Live + Debian Developer
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
More information about the tex-live
mailing list