texlive[71102] Master/tlpkg/TeXLive/TLPDB.pm: (from_file): additional
commits+karl at tug.org
commits+karl at tug.org
Sat Apr 27 23:50:01 CEST 2024
Revision: 71102
https://tug.org/svn/texlive?view=revision&revision=71102
Author: karl
Date: 2024-04-27 23:50:01 +0200 (Sat, 27 Apr 2024)
Log Message:
-----------
(from_file): additional info if cygwin. See thread around
https://tug.org/pipermail/tex-live/2024-April/050467.html
Modified Paths:
--------------
trunk/Master/tlpkg/TeXLive/TLPDB.pm
Modified: trunk/Master/tlpkg/TeXLive/TLPDB.pm
===================================================================
--- trunk/Master/tlpkg/TeXLive/TLPDB.pm 2024-04-27 19:57:18 UTC (rev 71101)
+++ trunk/Master/tlpkg/TeXLive/TLPDB.pm 2024-04-27 21:50:01 UTC (rev 71102)
@@ -362,9 +362,21 @@
# do nothing
} else {
unlink($tlpdbfile);
- tldie( "$0: TLPDB::from_file could not initialize from: $path\n"
- . "$0: Maybe the repository setting should be changed.\n"
- . "$0: More info: https://tug.org/texlive/acquire.html\n");
+ my $diemsg = <<END_DOWNLOAD_FAILURE_MSG;
+$0: TLPDB::from_file could not get texlive.tlpdb from: $path
+Maybe the repository setting should be changed.
+More info: https://tug.org/texlive/acquire.html
+END_DOWNLOAD_FAILURE_MSG
+ if ($^O eq 'cygwin') {
+ $diemsg .= <<END_CYGWIN_WGET_MSG;
+
+It seems you are using Cygwin, and this problem could arise if you haven't
+installed Cygwin's wget. See the TeX Live Guide information on Cygwin
+for required and recommended packages:
+ https://tug.org/texlive/doc/texlive-en/texlive-en.html#cygwin
+END_CYGWIN_WGET_MSG
+ }
+ tldie($diemsg);
}
}
# if we are still here, then either the xz version was downloaded
More information about the tex-live-commits
mailing list.