Cannot load TeX Live database from file:// location

Vincenzo Mantova vlmantova at gmail.com
Wed May 5 21:41:31 CEST 2021


Hi,

I may have hit a bug in tlmgr. As it is, when I try reading a remote
repository in a file:// url, or just a local folder really, for instance

  tlmgr --repository file://${repo} dump-tlpdb --remote

I get `Cannot load TeX Live database`.

>From what I can tell, download_file in TLUtils.pm is ignoring the file name
in the $dest argument, and that breaks file:// urls, at least in the way I
am using them. Indeed, it all works as I'd expect if I replace

  copy ($filetoopen, $par)

with

  copy ("-f", $filetoopen, $dest)

at
https://www.tug.org/svn/texlive/trunk/Master/tlpkg/TeXLive/TLUtils.pm?revision=59044&view=markup#l2753

Does that make sense?

Best,
Vincenzo Mantova
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/tex-live/attachments/20210505/ea19a5ce/attachment.html>


More information about the tex-live mailing list.