Dear Maintainer,
All tex packages were working fine for me until a couple of days ago,
when I did an apt update. I realised that texlive-base could not
configure itself. Unfortunately, no logs on that.
I did however purge and remove any stray files/directories belonging to
anything tex on my machine. I then proceeded to apt install texlive-base
to see if I can rectify the issue with a reinstall. I get the following
output:
[TRUNCATED]
Setting up texlive-binaries (2020.20200327.54578-7) ...
update-alternatives: using /usr/bin/xdvi-xaw to provide /usr/bin/xdvi.bin (xdvi.bin) in auto mode
update-alternatives: using /usr/bin/bibtex.original to provide /usr/bin/bibtex (bibtex) in auto mode
Setting up lmodern (2.004.5-6.1) ...
Setting up texlive-base (2020.20210202-3) ...
mktexlsr: Updating /var/lib/texmf/ls-R-TEXLIVEDIST...
mktexlsr: Updating /var/lib/texmf/ls-R-TEXMFMAIN...
mktexlsr: Updating /var/lib/texmf/ls-R...
mktexlsr: Done.
Can't use string ("2") as an ARRAY ref while "strict refs" in use at /usr/bin/tl-paper line 112.
Can't use string ("2") as an ARRAY ref while "strict refs" in use at /usr/bin/tl-paper line 112.
Can't use string ("2") as an ARRAY ref while "strict refs" in use at /usr/bin/tl-paper line 112.
Can't use string ("2") as an ARRAY ref while "strict refs" in use at /usr/bin/tl-paper line 112.
Can't use string ("2") as an ARRAY ref while "strict refs" in use at /usr/bin/tl-paper line 112.
dpkg: error processing package texlive-base (--configure):
installed texlive-base package post-installation script subprocess returned error exit status 1
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for gnome-menus (3.36.0-1) ...
Processing triggers for libc-bin (2.31-10) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for install-info (6.7.0.dfsg.2-6) ...
Processing triggers for mailcap (3.69) ...
Processing triggers for fontconfig (2.13.1-4.2) ...
Processing triggers for tex-common (6.16) ...
texlive-base is not ready, delaying updmap-sys call
update-language: texlive-base not installed and configured, doing nothing!
texlive-base is not ready, skipping fmtutil --all call
Errors were encountered while processing:
texlive-base
E: Sub-process /usr/bin/dpkg returned an error code (1)
I am not quite sure what is going on here. I also attempted to remove
this package and install the texlive-full metapackage, however that
fails due to the cascading issue relating to texlive-base not being
configured & failing.
Any help and suggestions is much appreciated. I am not sure if this is
related to the package or not - it seems to be with the postinst script.
I am currently running on a system where sources.list is set to
bullseye.
Please feel free to write back if you require any further information,
or if there is something trivial and non-package related, to which I
understand this bug report being closed.
##################################
minimal input file
##################################
other files
######################################
List of ls-R files
lrwxrwxrwx 31 root 17 Feb 20:30 /usr/share/texlive/texmf-dist/ls-R -> /var/lib/texmf/ls-R-TEXLIVEDIST
######################################
Config files
.rw-r--r-- 475 root 28 Mar 14:47 /etc/texmf/web2c/texmf.cnf
Warning: fmtutil.cnf cannot be found with kpsewhich!
Warning: updmap.cfg cannot be found with kpsewhich!
Warning: language.dat cannot be found with kpsewhich!
######################################
Files in /etc/texmf/web2c/
.rw-r--r-- 283 root 12 Feb 22:13 mktex.cnf
.rw-r--r-- 475 root 28 Mar 14:47 texmf.cnf
######################################
md5sums of texmf.d
ca40c66f144b4bafc3e59a2dd32ecb9c /etc/texmf/texmf.d/00debian.cnf