[tex-live] tlmgr mkdir failed with option autobackup 0

Qing Lee sobenlee at gmail.com
Tue May 17 05:51:32 CEST 2016


See

     > tlmgr option autobackup 0
     tlmgr.pl: setting option autobackup to 0.
     > tlmgr update --all
     tlmgr.pl: package repository http://ftp.math.utah.edu/pub/texlive/tlpretest (verified)
     [ 1/32] auto-remove: epyt ... done
     C:\texlive\2016\texmf-dist\scripts\texlive\tlmgr.pl: mkdir(C:/texlive/C:\Users\Qing\AppData\Local\Temp\6vbQWJFbjJ\2EwrZ7jHKG/) failed, goodbye: Invalid argument
     [ 2/32, ??:??/??:??] update: academicons [95k] (39919 -> 41194) ...

Maybe it is caused by the following codes in the function `make_container`:

     # load Cwd only if necessary ...
     require Cwd;
     my $cwd = &Cwd::getcwd;
     if ("$destdir" !~ m@^(.:)?/@) {
       # we have an relative containerdir, so we have to make it absolute
       $destdir = "$cwd/$destdir";
     }
     &TeXLive::TLUtils::mkdirhier("$destdir");

Best,
Qing Lee


More information about the tex-live mailing list