Closed eschen42 closed 6 years ago
Can you check the value of no-checksums
in your tlmgr config? Seems your backup step isn't creating checksums; maybe we're missing an optional dependency or something.
@yihui Any insight on this one? I don't really know tlmgr
well so I'm shooting from the hip here.
I have never used tlmgr backup
or tlmgr restore
by myself, and I have no idea here.
@eschen42 Are you sore that it is not restoring? I think these are just warnings. Here's the log I see:
rstudio@b37545298d15:~$ tlmgr restore --backupdir ~/tl_backup --all
Do you really want to restore all packages to the latest revision found in
/home/rstudio/tl_backup
===> (y/N): y
Restoring multirow, 42588 from /home/rstudio/tl_backup/multirow.r42588.tar.xz
TLPDB: package not present, so nothing to remove: multirow
Use of uninitialized value $whatsize in concatenation (.) or string at /opt/TinyTeX/tlpkg/TeXLive/TLPDB.pm line 2057, <STDIN> line 1.
Use of uninitialized value $whatcheck in concatenation (.) or string at /opt/TinyTeX/tlpkg/TeXLive/TLPDB.pm line 2057, <STDIN> line 1.
TLUtils::check_file: neither checksum nor checksize available for /tmp/5tW67J3SH7/2zI7hqFn3x/multirow.r42588.tar.xz, cannot check integrity!
running mktexlsr ...
done running mktexlsr.
tlmgr: package log updated: /opt/TinyTeX/texmf-var/web2c/tlmgr.log
Note the same warnings, but it then updates the package. I verified that if I backup the package, remove the package, and then restore the backup, the package is indeed installed (at the version backed up of course). So I think everything is fine despite not checking the checksum on the backup. In any event, I definitely suggest digging more into the config as documented https://www.tug.org/texlive/doc/tlmgr.html if tlmgr backup isn't acting as you expect. (Not sure why the checksum support isn't included though since openssl
is installed, maybe has to do with libs available when tlmgr is compiled...) In any event, I don't think tlmgr
restore is failing, but feel free to re-open if I've got this wrong.
I have an issue trying to run
tlmgr restore
onrocker/verse:3.4.1
. Any suggestions? Thank you.Here are the particulars:
I get tlmgr backup to run with no apparent error with my script, "tlmgr_pkg":
I have a script, "tlmgr_restore"
but, when I run this script, it fails and does not restore packages, e.g.: