tlshell --help (pretest, Windows10)

Siep Kroonenberg siepo at bitmuis.nl
Sat Mar 19 10:47:52 CET 2022


On Sat, Mar 19, 2022 at 02:05:10AM +0100, Jerzy Ludwichowski wrote:
> 
> can't confirm yet, 'cos on my way to do so I stumbled upon a problem which I
> seem to have seen reported elsewhere.
> 
> Events shown below happen in tl2022 pretest, windows 10, command line in the
> same CLI instance where a clean & happy full installation was made.
> 
> To get the new tlshell I asked
> 
>     tlmgr update --list
> 
> and it replied that indeed, amongst other changes, a new version of tlshell
> is available:
> 
> > update:   tlshell.win32     [2707k]: local:    62700, source:    62728
> 
> So I did:
> 
> > tlmgr update --all
> 
> and got a smooth update ride until:
> 
> > [35/36, 01:59/02:03] update: tlshell.win32 [2707k] (62700 -> 62728) ...
> > tar: Could not create file tlpkg/tltcl/bin/tcl86.dll: Permission denied
> > tar: Could not create file tlpkg/tltcl/bin/tk86.dll: Permission denied
> > tar: Could not create file tlpkg/tltcl/bin/wish.exe: Permission denied
> > tar: Could not create file tlpkg/tltcl/bin/zlib1.dll: Permission denied
> > tar: Could not create file tlpkg/tltcl/lib/reg1.3/tclreg13.dll:
> > Permission denied
> > TLUtils::untar: C:\texlive\2022\tlpkg\installer\tar.exe xmf
> > C:\Users\jbl1\AppData\Local\Temp\RnwnCqz4dC\n1w00pELkw/tlshell.win32.tar
> > failed (in C:/texlive/2022)
> > TLPDB::_install_data: untar failed for
> > http://ftp.cstug.cz/pub/tex/local/tlpretest/archive/tlshell.win32.tar.xz
> > tlmgr.pl: Installation of new version of tlshell.win32 failed, trying to
> > unwind.
> > tlmgr.pl: Restoring old package state succeeded.
> > done
> 
> ... the smooth ride continued with formats being recreated until the final
> messages
> 
> > tlmgr.pl: package log updated: C:/texlive/2022/texmf-var/web2c/tlmgr.log
> > tlmgr.pl: command log updated:
> > C:/texlive/2022/texmf-var/web2c/tlmgr-commands.log
> > tlmgr.pl: An error has occurred. See above messages. Exiting.
> 
> Permission denied -- what the heck???

Windows' error messages are sometimes misleading.

> To cut the story short: I seem to have found the culprit.  The parental
> install-tl-20220315 folder and each and every its subfolder, including 
> tlpkg (please note the name of  folder pointed to by the error msgs) and its
> subfolders into which tar tried to put tlshell in is being reported by
> Windows as allowing *only **read access* to xontained files. No individual
> files do have a read-only attribute set. A simple
> 
>     dir /s /ar
> 
> command won't tell you anything, you have to employ the windows explorer.

Clicking on any folder under C:\texlive gives me 'Read-only (Only
applies to files in folder)'. But going to the Security tab, I see
permissions set to the expected values for files and folders. So
this looks like a red herring.

I would not just yet exclude a corrupt download.

-- 
Siep Kroonenberg


More information about the tex-live mailing list.