Package: texlive-base
Version: 2022.20230122-3
Severity: normal
X-Debbugs-Cc: debbug.texlive-b...@sideload.33mail.com

This is an attempt to list the locally install pkgs:

===8<----------------------------------------
$ tlmgr --usermode info --only-installed
===8<----------------------------------------

There was simply no output when a long list of texlive packages were
expected. So --only-installed was omitted to see if allowing cloud
access would change anything:

===8<----------------------------------------
$ torsocks tlmgr --usermode list

tlmgr: Local TeX Live (2022) is older than remote repository (2024).
Cross release updates are only supported with
  update-tlmgr-latest(.sh/.exe) --update
See https://tug.org/texlive/upgrade.html for details.
===8<----------------------------------------

This seems to imply that users cannot list packages unless their
texlive installation is the same version as that of the remote
repository. That’s a bit drastic to simply get a list of packages and
many Debian users would not want to update the whole texlive
installation outside of the apt manager. Ideally, apt would have
installed a configuration where the tlmgr-configured repository is
aligned with the Debian version. To check the repo, I ran this:

===8<----------------------------------------
$ tlmgr option repository
(running on Debian, switching to user mode!)
(see /usr/share/doc/texlive-base/README.tlmgr-on-Debian.md)
Default package repository (repository): 
https://mirror.ctan.org/systems/texlive/tlnet
===8<----------------------------------------

There was mention of “update-tlmgr-latest(.sh/.exe) --update”. This
script is not installed and in fact apt-file search does not find it
in the Debian repos. The webpage https://tug.org/texlive/upgrade.html
suggests installing texlive 2024 and says it can be done without
tampering with the existing installation. But still, texlive is huge.

So the sensible approach appears to be to find a mirror that matches
the locally installed version. The PDF guide mentions this location:

  https://ctan.org/mirrors/mirmon

That list of mirrors does not mention which texlive version is
available. It seems having a version-aligned repo is critical to using
tlmgr but the guide does not cover how to find a compatible mirror.

Having read this doc:

  /usr/share/doc/texlive-base/README.tlmgr-on-Debian.md

it’s unclear if tlmgr can safely accomplish the ultimate mission I had
planned: to gracefully downgrade the acro package and pin that older
version. That doc suggests using apt, which is generally sensible but
in the case at hand it’s too blunt of a tool for that considering the
acro package is bundled with in texlive-latex-extra with other apps I
would not want to donwgrade. Nonetheless, tlmgr was provided and IMO
at a minimum should offer the basic functionality of listing packages
and versions without changing the installation.



-- Package-specific info:
######################################
 List of ls-R files

-rw-rw-r-- 1 root staff 5281 Jul 22  2021 /usr/local/share/texmf/ls-R
-rw-r--r-- 1 root root 3381 Apr 24 16:00 /var/lib/texmf/ls-R
lrwxrwxrwx 1 root root 29 Oct 12  2022 /usr/share/texmf/ls-R -> 
/var/lib/texmf/ls-R-TEXMFMAIN
lrwxrwxrwx 1 root root 31 Apr  9  2023 /usr/share/texlive/texmf-dist/ls-R -> 
/var/lib/texmf/ls-R-TEXLIVEDIST
lrwxrwxrwx 1 root root 31 Apr  9  2023 /usr/share/texlive/texmf-dist/ls-R -> 
/var/lib/texmf/ls-R-TEXLIVEDIST
######################################
 Config files
-rw-r--r-- 1 root root 508 Apr 24 15:43 /etc/texmf/web2c/texmf.cnf
lrwxrwxrwx 1 root root 33 Apr  9  2023 /usr/share/texmf/web2c/fmtutil.cnf -> 
/var/lib/texmf/fmtutil.cnf-DEBIAN
-rw-r--r-- 1 root staff 16 Jul 21  2021 /usr/local/share/texmf/web2c/updmap.cfg
-rw-r--r-- 1 root root 5130 Apr 24 15:54 
/var/lib/texmf/tex/generic/config/language.dat
######################################
 Files in /etc/texmf/web2c/
total 8
-rw-r--r-- 1 root root 283 Feb 12  2021 mktex.cnf
-rw-r--r-- 1 root root 508 Apr 24 15:43 texmf.cnf
######################################
 md5sums of texmf.d
59de20a5ea3b9f41ff51e16811e8499c  /etc/texmf/texmf.d/00debian.cnf

-- System Information:
Debian Release: 12.5
  APT prefers stable-updates
  APT policy: (990, 'stable-updates'), (990, 'stable-security'), (990, 
'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-28-amd64 (SMP w/2 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
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.82
ii  libpaper-utils         1.1.29
ii  sensible-utils         0.0.17+nmu1
ii  tex-common             6.18
ii  texlive-binaries       2022.20220321.62855-5.1+deb12u1
ii  ucf                    3.0043+nmu1
ii  xdg-utils              1.1.3-4.1

Versions of packages texlive-base recommends:
ii  lmodern  2.005-1

Versions of packages texlive-base suggests:
ii  evince [postscript-viewer]              43.1-2+b1
ii  ghostscript [postscript-viewer]         10.0.0~dfsg-11+deb12u3
ii  mupdf [pdf-viewer]                      1.21.1+ds2-1+b4
ii  okular [postscript-viewer]              4:22.12.3-1
pn  perl-tk                                 <none>
ii  qpdfview [pdf-viewer]                   0.5.0+ds-2
ii  qpdfview-ps-plugin [postscript-viewer]  0.5.0+ds-2
ii  xpdf [pdf-viewer]                       3.04+git20220601-1+b2
pn  xzdec                                   <none>

Versions of packages tex-common depends on:
ii  ucf  3.0043+nmu1

Versions of packages tex-common suggests:
ii  debhelper  13.11.4

Versions of packages texlive-base is related to:
ii  tex-common        6.18
ii  texlive-binaries  2022.20220321.62855-5.1+deb12u1

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

Reply via email to