[tex-live] tlmgr reports success when not removing packages
Adam R. Maxwell
amaxwell at mac.com
Sat Jun 30 20:21:00 CEST 2012
I recently had a TLU user report that package removal was claimed
to succeed when it did not in fact remove anything. Should tlmgr
exit with non-zero status when it refuses to remove a package?
$ sudo tlmgr remove alg
tlmgr: not removing alg, needed by collection-science
tlmgr: no packages removed.
$ echo $?
I could keep track of the packages requested for removal in TLU,
then see which (if any) were removed by comparing with a subsequent
listing. However, it seems odd for tlmgr to report success when
it refuses to do what is asked :).
(and yes, I understand why it doesn't, and that I can force it)
More information about the tex-live