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

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



Hello Norbert,

Thanks for your prompt reply.

In fact, running dpkg-reconfigure libpaper1, I get the "system defaults paper size" selection menu, to which I select a4. 
I do not get the extra tl-paper output after this. Perhaps this is a side-effect to my unconfigured texlive-base installation.

Running the script you gave me, I get:

=== xdvi ===
Can't use string ("2") as an ARRAY ref while "strict refs" in use at /usr/bin/tl-paper line 112.
=== pdftex ===
Can't use string ("2") as an ARRAY ref while "strict refs" in use at /usr/bin/tl-paper line 112.
=== dvips ===
Can't use string ("2") as an ARRAY ref while "strict refs" in use at /usr/bin/tl-paper line 112.
=== dvipdfmx ===
Can't use string ("2") as an ARRAY ref while "strict refs" in use at /usr/bin/tl-paper line 112.
=== context ===
Can't use string ("2") as an ARRAY ref while "strict refs" in use at /usr/bin/tl-paper line 112.

There is currently no urgency with getting this figured out quickly - texlive-base and all the needed components 
work perfectly fine in my chroot environment. It's just very odd, and I'm not sure what is broken on my system.

Kind regards.

On Mon, Mar 29, 2021 at 09:28:32AM +0900, Norbert Preining wrote:
> On Sun, 28 Mar 2021, Shayan Doust wrote:
> > Running "dpkg-reconfigure libpaper1" again, and then trying again for texlive-base, spits out the 
> > same issue I've reported.
> 
> Interesting, I don't see that in my case ...
> 
> $ pkg-reconfigure libpaper1
> Replacing config file /etc/papersize with new version
> tl-paper: setting paper size for context to letter: /var/lib/texmf/tex/context/user/cont-sys-paper.tex
> tl-paper: setting paper size for dvipdfmx to letter: /var/lib/texmf/dvipdfmx/dvipdfmx-paper.cfg
> tl-paper: setting paper size for dvips to letter: /var/lib/texmf/dvips/config/config-paper.ps
> tl-paper: setting paper size for pdftex to letter: /var/lib/texmf/tex/generic/tex-ini-files/pdftexconfig.tex
> tl-paper: setting paper size for xdvi to letter: /var/lib/texmf/xdvi/XDvi-paper
> Running mktexlsr. This may take some time... done.
> Building format(s) --refresh.
>         This may take some time... 
> ...
> $
> 
> Can you please do
> 	for i in xdvi|pdftex|dvips|dvipdfmx|context ; do
> 		echo "=== $i ==="
> 		tl-paper get $i
> 	done
> and send the output? And then we continue debugging. It fails in
> 	tl-paper get $prg
> calls and thus it seems something in your configurations files for one
> of these programs (or all) seem to be broken.
> 
> Best
> 
> Norbert
> 
> --
> PREINING Norbert                              https://www.preining.info
> Fujitsu Research Labs  +  IFMGA Guide + TU Wien + TeX Live + Debian Dev
> GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13

-- 
Shayan Doust - 201427418
Fingerprint: 0401 A810 A6F2 4303 1EA3 9759 6D7D 4419 19D0 2395

Note: all emails sent by me are signed with my PGP key.

Attachment: signature.asc
Description: PGP signature


Reply to: