Re: TeX Live, panne [= French for TeX Live breakdown]

Bruno Voisin <[email protected]> Sun, 12 Jul 2026 03:47:23 +0200
Newsgroups gmane.comp.tex.live
Message-ID <[email protected]>
--Apple-Mail=_701ED7A7-E499-42D3-B317-BA31F1D76EE2
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

> On 11 Jul 2026, at 23:38, Adam R. Maxwell <[email protected]> wrote:
>=20
> TeX Live Utility users can install it using the main menu item
> Actions->Reinstall TeX Live Manager
>=20
> Since that uses update-tlmgr-latest.sh under the hood, it'll work
> even if normal list/update fails (provided update-tlmgr-latest.sh is
> rebuilt, ofc).

This works provided the Option key is pressed, so that

	Reinstall TeX Live Manager

becomes

	Install TeX Live Manager from Critical Repository

Revision 79652 of TLPDB.pm then replaces 79591. Associated patch file =
attached.

For tlmgr users, I think that would be

  sudo tlmgr --repository=3Dhttps://tug.org/texlive/tlcritical update =
--self

(untried).


> On 11 Jul 2026, at 22:55, Karl Berry <[email protected]> wrote:
>=20
> Please try this patch if you're up for it. I'll push it out tonight, =
but
> honestly I'm not sure if the update will work and I can't feasibly
> test. If it still fails after tonight, you might have to install this
> change by hand.

After doing the above, both tlmgr and TeX Live Utility work normally =
again (logs below).

Bruno


TLU
=3D=3D=3D

2026-07-12 01:02:19 +0000 Notice -[TLMAuthorizedOperation =
setUnderlyingPID:][2792]	tlu_ipctask checking in: pid =3D 3413 =
(/Library/TeX/texbin/tlmgr --repository =
https://ctan.mines-albi.fr/systems/texlive/tlnet/ --machine-readable =
--persistent-downloads update --all)
2026-07-12 01:02:19 +0000 Notice tlu_ipctask[3412]	tlu_ipctask: =
child HOME =3D '/var/root'
2026-07-12 01:02:19 +0000 Notice tlu_ipctask[3412]	tlu_ipctask: =
current HOME =3D '/var/empty'
2026-07-12 01:02:20 +0000 Warning tlu_ipctask[3412]	start load =
https://ctan.mines-albi.fr/systems/texlive/tlnet/
2026-07-12 01:02:22 +0000 Warning tlu_ipctask[3412]	finish load =
https://ctan.mines-albi.fr/systems/texlive/tlnet/
2026-07-12 01:02:22 +0000 Notice tlu_ipctask[3412]	location-url	=
https://ctan.mines-albi.fr/systems/texlive/tlnet/
2026-07-12 01:02:22 +0000 Notice tlu_ipctask[3412]	Beginning =
download of 20376.5 kbytes
2026-07-12 01:02:22 +0000 Notice tlu_ipctask[3412]	Beginning =
download and installation of packages
2026-07-12 01:02:23 +0000 Notice tlu_ipctask[3412]	Updating beebe
2026-07-12 01:02:23 +0000 Notice tlu_ipctask[3412]	Updating ffcode
2026-07-12 01:02:23 +0000 Notice tlu_ipctask[3412]	Updating =
fits-astro
2026-07-12 01:02:24 +0000 Notice tlu_ipctask[3412]	Updating iexec
2026-07-12 01:02:25 +0000 Notice tlu_ipctask[3412]	Updating l3build
2026-07-12 01:02:25 +0000 Notice tlu_ipctask[3412]	Updating luadraw
2026-07-12 01:02:27 +0000 Notice tlu_ipctask[3412]	Updating =
luamplib
2026-07-12 01:02:27 +0000 Notice tlu_ipctask[3412]	Updating =
olsak-misc
2026-07-12 01:02:28 +0000 Notice tlu_ipctask[3412]	Updating =
proofgraph
2026-07-12 01:02:29 +0000 Notice tlu_ipctask[3412]	Updating =
simpleicons
2026-07-12 01:02:30 +0000 Notice tlu_ipctask[3412]	Updating =
texlive-common
2026-07-12 01:02:30 +0000 Notice tlu_ipctask[3412]	Updating =
texlive-scripts
2026-07-12 01:02:31 +0000 Notice tlu_ipctask[3412]	Updating =
timechart
2026-07-12 01:02:32 +0000 Notice tlu_ipctask[3412]	Updating ulthese
2026-07-12 01:02:32 +0000 Notice tlu_ipctask[3412]	Adding revbadge
2026-07-12 01:02:32 +0000 Notice tlu_ipctask[3412]	Updating =
collection-latexextra
2026-07-12 01:02:32 +0000 Warning tlu_ipctask[3412]	running mktexlsr =
...
2026-07-12 01:02:32 +0000 Notice tlu_ipctask[3412]	Installation =
complete; reconfiguring TeX Live
2026-07-12 01:02:34 +0000 Warning tlu_ipctask[3412]	done running =
mktexlsr.
2026-07-12 01:02:35 +0000 Warning tlu_ipctask[3412]	running =
updmap-sys ...
2026-07-12 01:02:38 +0000 Warning tlu_ipctask[3412]	done running =
updmap-sys.
2026-07-12 01:02:38 +0000 Warning tlu_ipctask[3412]	tlmgr: package =
log updated: /usr/local/texlive/2026/texmf-var/web2c/tlmgr.log
2026-07-12 01:02:38 +0000 Warning tlu_ipctask[3412]	tlmgr: command =
log updated: /usr/local/texlive/2026/texmf-var/web2c/tlmgr-commands.log
2026-07-12 01:02:38 +0000 Notice -[TLMAuthorizedOperation =
_runUntilChildExit][2792]	kqueue noted that pid 3413 exited =
(/Library/TeX/texbin/tlmgr --repository =
https://ctan.mines-albi.fr/systems/texlive/tlnet/ --machine-readable =
--persistent-downloads update --all)
2026-07-12 01:02:38 +0000 Notice tlu_ipctask[3412]	child process =
pid =3D 3413 exited
2026-07-12 01:02:39 +0000 Notice tlu_ipctask[3412]	exit status of =
pid =3D 3413 was 0


tlmgr
=3D=3D=3D=3D=3D

% sudo tlmgr --machine-readable update --list
Password:
start load =
https://distrib-coffee.ipsl.jussieu.fr/pub/mirrors/ctan/systems/texlive/tl=
net
finish load =
https://distrib-coffee.ipsl.jussieu.fr/pub/mirrors/ctan/systems/texlive/tl=
net
location-url =
https://distrib-coffee.ipsl.jussieu.fr/pub/mirrors/ctan/systems/texlive/tl=
net
total-bytes 0
end-of-header
texlive.infra r 79653 79635 - - - - - -
end-of-updates



--Apple-Mail=_701ED7A7-E499-42D3-B317-BA31F1D76EE2
Content-Disposition: attachment;
	filename=TLPDB-fix.patch
Content-Type: application/octet-stream;
	x-unix-mode=0644;
	name="TLPDB-fix.patch"
Content-Transfer-Encoding: 7bit

--- /Users/brunovoisin/Desktop/TeXLive/TLPDB.pm	2026-07-05 13:56:20
+++ /usr/local/texlive/2026/tlpkg/TeXLive/TLPDB.pm	2026-07-11 23:01:00
@@ -1,4 +1,4 @@
-# $Id: TLPDB.pm 79591 2026-07-05 11:56:20Z preining $
+# $Id: TLPDB.pm 79652 2026-07-11 21:01:00Z karl $
 # TeXLive::TLPDB.pm - tlpdb plain text database files.
 # Copyright 2007-2026 Norbert Preining
 # This file is licensed under the GNU General Public License version 2
@@ -7,7 +7,7 @@
 use strict; use warnings;
 package TeXLive::TLPDB;
 
-my $svnrev = '$Revision: 79591 $';
+my $svnrev = '$Revision: 79652 $';
 my $_modulerevision = ($svnrev =~ m/: ([0-9]+) /) ? $1 : "unknown";
 sub module_revision { return $_modulerevision; }
 
@@ -315,7 +315,7 @@
   #
   # actually load the TLPDB
   if ($path =~ m;^((https?|ftp)://|file:\/\/*); || $path =~ m;$TeXLive::TLUtils::SshURIRegex;) {
-    debug("TLPDB.pm: trying to initialize from $path\n");
+    debug("TLPDB::from_file: trying to initialize from $path\n");
     # now $xzfh filehandle is open, the file created
     # TLUtils::download_file will just overwrite what is there
     # on windows that doesn't work, so we close the fh immediately
@@ -460,23 +460,31 @@
     return defined($main) ? $main->merge_catalogue_data : 1;
   }
   $self->{'catalogue_merged'} = 1;
+
+  # We never want to try to download texlive-catalogue-only.tlpdb from
+  # the net, since we don't provide it there. It should be in everyone's
+  # local installation, since it's part of texlive-scripts.
+  if ($self->media eq "NET") {
+    debug("TLPDB::merge_catalogue_data: not trying to find"
+          . " catalogue data from the net; returning early\n");
+    return 1;
+  }
 
   my $catloc = $self->root . "/$TeXLive::TLConfig::CatalogueDatabaseLocation";
-  # for a local root, do not even try if the file is not there; for a net
-  # root from_file() handles the download, and a missing file is fine too.
-  if ($self->media ne "NET" && $catloc =~ m,^/, && ! -r $catloc) {
-    debug("TLPDB: no catalogue-only database at $catloc, "
-          . "using catalogue data from the main database\n");
+  # for a local root, do not even try if the file is not there.
+  if ($catloc =~ m,^/, && ! -r $catloc) {
+    debug("TLPDB::merge_catalogue_data: no catalogue-only database at $catloc,"
+          . " using catalogue data from the main database\n");
     return 1;
   }
   my $catdb = TeXLive::TLPDB->new(tlpdbfile => $catloc);
   if (!defined($catdb)) {
-    debug("TLPDB: could not load catalogue-only database from $catloc, "
-          . "using catalogue data from the main database\n");
+    debug("TLPDB::merge_catalogue_data: could not load catalogue-only database"
+          . " from $catloc, using catalogue data from the main database\n");
     return 1;
   }
-  debug("TLPDB: loaded catalogue-only database from $catloc, "
-        . "merging catalogue data into " . $self->root . "\n");
+  debug("TLPDB::merge_catalogue_data: loaded catalogue-only database"
+        . "from $catloc, merging catalogue data into " . $self->root . "\n");
   for my $pkg ($catdb->list_packages) {
     my $tlp = $self->get_package($pkg);
     next unless defined $tlp;

--Apple-Mail=_701ED7A7-E499-42D3-B317-BA31F1D76EE2--