tlmgr deleted texlive-scripts
Bruno Voisin
bvoisin at icloud.com
Mon Oct 27 10:35:15 CET 2025
> Nobert Preining wrote
>
> > and line 1207 shows that "texlive-scripts" failed to update at some
> > point, so I guess tlmgr decided to uninstall it entirely.
>
> That shouldn't happen. If an update fail, it does try to revert to the
> previous installed version from a backup made before update is started.
>
> Of course, if the restore also failed, then all is lost.
> I have **no** idea why that completely failed, since the log doesn't
> show the errors that probably were shown on the console.
>
> It is also hard to guess **why** the restore failed. It seems that tlmgr
> was able to **remove** the old files, but did not manage to install the
> new ones.
Is this mechanism affected by autobackup, and had, by any chance, the user set it to 0 (so there are no backups)?
I'm asking because years ago, on the Mac, to save space and time (ie the time taken by compression when creating the backups), I had set autobackup to 0 in TeX Live Utility. Karl in an email called it "live dangerously". Given this, and realizing the gain was futile with modern computers, I set autobackup back to its default value 1.
I imagine backup settings are defined in texlive.tlpdb, lines 6-9,
name 00texlive.installation
category TLCore
depend opt_autobackup:1
depend opt_backupdir:tlpkg/backups
Bruno Voisin
More information about the tex-live
mailing list.