[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#986042: texlive-base: Post-installation script fails with exit status 1



Package: texlive-base
Version: 2020.20210202-3
Severity: normal
X-Debbugs-Cc: hello@shayandoust.me

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

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-4-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages texlive-base depends on:
ii  debconf [debconf-2.0]  1.5.75
ii  libpaper-utils         1.1.28+b1
ii  sensible-utils         0.0.14
ii  tex-common             6.16
ii  texlive-binaries       2020.20200327.54578-7
ii  ucf                    3.0043
ii  xdg-utils              1.1.3-4

Versions of packages texlive-base recommends:
ii  lmodern  2.004.5-6.1

Versions of packages texlive-base suggests:
ii  evince [postscript-viewer]       3.38.2-1
ii  ghostscript [postscript-viewer]  9.53.3~dfsg-7
ii  perl-tk                          1:804.035-0.1+b1
pn  xpdf | pdf-viewer                <none>
pn  xzdec                            <none>

Versions of packages tex-common depends on:
ii  dpkg  1.20.7.1
ii  ucf   3.0043

Versions of packages tex-common suggests:
ii  debhelper  13.3.4

Versions of packages texlive-base is related to:
ii  tex-common        6.16
ii  texlive-binaries  2020.20200327.54578-7

-- Configuration Files:
/etc/texmf/texdoctk/texdocrc.defaults [Errno 2] No such file or directory: '/etc/texmf/texdoctk/texdocrc.defaults'

-- debconf information:
  texlive-base/binary_chooser: pdftex, dvips, dvipdfmx, xdvi
  texlive-base/texconfig_ignorant:


Reply to: