After upgrading to texlive 2023, I was getting errors. Reproducible: Always Steps to Reproduce: 1. pdflatex somefile.pdf containing “\usepackage[mathletters]{ucs}” 2. Or containing “\usepackage[utf8x]{inputenc}” 3. Or containing “\usepackage{wrapfig}” Actual Results: ! LaTeX Error: File `ucs.sty' not found. File `utf8x.def' not found. \endinput File `wrapfig.sty' not found. ^^M Expected Results: No errors. Running “texhash” as root made the errors go away. Inspired by similar old bug report in redhat: https://bugzilla.redhat.com/show_bug.cgi?id=211096 # texhash texhash: Updating //etc/texmf/ls-R... texhash: Updating /usr/share/texmf-dist/ls-R... texhash: Updating /usr/share/texmf-site/ls-R... texhash: Updating //var/lib/texmf/ls-R... texhash: Done. Except for this error: “! Argument of � has an extra }.”, where � is a lone 0xC2 byte. Although the error was on a random line, and commenting out that line made the error jump around randomly, commenting out hyperref finally made the last error go away: % \usepackage{hyperref} % \usepackage[all]{hypcap}