Re: tlmgr info --list failed on forcibly removed collection

Karl Berry <[email protected]> Sat, 27 Jun 2026 11:41:13 -0600
Newsgroups gmane.comp.tex.live
Message-ID <[email protected]>
Hi Yukai - returning to your report last month:

    https://tug.org/pipermail/tex-live/2026-May/052388.html
    ...
    $ tlmgr uninstall --force collection-metapost
    $ tlmgr info --list scheme-small
    [...]
    STRANGE: collection-metapost not to be found ...
    Can't call method "depends" on an undefined value at ...

FYI, I have committed what I think is a fix for this (r79491).  I'm not
completely confident in the change, so I want to think about it a little
longer before pushing it to tlnet (i.e., user installations). 

Anyway, with the code that's in the repo now, there is no "strange"
warning or Perl warning.  I had tlmgr info --list output such deleted
packages or collections, like this:

tlmgr info-installed scheme-small
package:     scheme-small
category:    Scheme
shortdesc:   small scheme (basic + xetex, metapost, a few languages)
longdesc:    This is a small TeX Live scheme, corresponding to MacTeX's BasicTeX variant. It adds XeTeX, MetaPost, various hyphenations, and a few recommended packages to scheme-basic, including the tagged pdf support in LaTeX. It also provides the {pdf,xe,lua,...}latex-dev engines for helping to test LaTeX.
installed:   Yes
revision:    78733
removed:     collection-metapost
sizes:       213629k
relocatable: No

I think your follow-up report of forcibly removing a package is also
handled now. --thanks, karl.