Here, configuration of many packages failed because tex-common could not be configured:
$ sudo dpkg --configure tex-common Setting up tex-common (6.19) ... update-language: texlive-base not installed and configured, doing nothing! Running mktexlsr. This may take some time... done. Running mtxrun --generate. This may take some time... mtxrun --generate failed. Output has been stored in /tmp/mtxrun.E1obqdFi Please include this file if you report a bug. dpkg: error processing package tex-common (--configure): installed tex-common package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: tex-common The mentioned file /tmp/mtxrun.E1obqdFi no longer exists. However, following the above suggestion, I attempted to install texlive-latex-extra. It was already installed, but apparently some of its dependencies were not. Some dependency link is missing? home:~/family/arisia/2020 $ sudo apt-get install texlive-latex-extra Reading package lists... Done Building dependency tree... Done Reading state information... Done texlive-latex-extra is already the newest version (2024.20250309-2). The following packages were automatically installed and are no longer required: gksu libdazzle-1.0-0 libdazzle-common libgksu2-0 libglapi-mesa libhealpix-java python3-snuggs usr-is-merged x11proto-record-dev xwayland Use 'sudo apt autoremove' to remove them. The following additional packages will be installed: icu-devtools libicu-dev libicu76 libkpathsea6 libptexenc1 libsynctex2 libtexlua53-5 texlive-binaries texlive-extra-utils The following NEW packages will be installed: libicu76 The following packages will be upgraded: icu-devtools libicu-dev libkpathsea6 libptexenc1 libsynctex2 libtexlua53-5 texlive-binaries texlive-extra-utils 8 upgraded, 1 newly installed, 0 to remove and 801 not upgraded. 180 not fully installed or removed. Need to get 0 B/97.2 MB of archives. After this operation, 40.8 MB of additional disk space will be used. Do you want to continue? [Y/n] y Reading changelogs... Done (Reading database ... 1371561 files and directories currently installed.) Preparing to unpack .../0-texlive-binaries_2024.20240313.70630+ds-6_amd64.deb ... Unpacking texlive-binaries (2024.20240313.70630+ds-6) over (2024.20240313.70630+ds-5+b1) ... Preparing to unpack .../1-texlive-extra-utils_2024.20250309-2_all.deb ... Unpacking texlive-extra-utils (2024.20250309-2) over (2024.20250114-1) ... Preparing to unpack .../2-libkpathsea6_2024.20240313.70630+ds-6_amd64.deb ...