<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">Twice now I experienced the same problem with package removal: on ARM Mac with macOS Big Sur, using the pretest version of MacTeX 2021 (and TeX Live Utility 1.47), I had installed dvips.x86_64-darwinlegacy and tex.x86_64-darwinlegacy for testing purposes. I then attempted to remove them using TLU's Remove button.<div class=""><br class=""></div><div class="">Everything seemed to work well on the tlmgr side, but TLU brought up a warning about failed removal. Here's the log</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">2021-03-04 14:01:31 +0000 Notice -[TLMMainWindowController removePackagesWithNames:force:][1392]<span class="Apple-tab-span" style="white-space:pre">       </span>Beginning removal of<br class="">(<br class="">    "dvips.x86_64-darwinlegacy"<br class="">)<br class="">2021-03-04 14:01:31 +0000 Notice -[TLMAuthorizedOperation main][1392]<span class="Apple-tab-span" style="white-space:pre">  </span>Checking code signature before running tlu_ipctask as root…<br class="">2021-03-04 14:01:31 +0000 Notice /usr/bin/codesign[1392]<span class="Apple-tab-span" style="white-space:pre">  </span>/Applications/TeX/TeX Live Utility.app/Contents/MacOS/tlu_ipctask: valid on disk<br class="">/Applications/TeX/TeX Live Utility.app/Contents/MacOS/tlu_ipctask: satisfies its Designated Requirement<br class="">2021-03-04 14:01:31 +0000 Notice -[TLMAuthorizedOperation main][1392]<span class="Apple-tab-span" style="white-space:pre">      </span>Signature was valid, okay to run tlu_ipctask<br class="">2021-03-04 14:01:39 +0000 Notice -[TLMAuthorizedOperation main][1392]<span class="Apple-tab-span" style="white-space:pre">      </span>Invoking privileged task via AuthorizationExecuteWithPrivileges<br class="">2021-03-04 14:01:39 +0000 Notice tlu_ipctask[1656]<span class="Apple-tab-span" style="white-space:pre">      </span>dropped privileges to user nobody<br class="">2021-03-04 14:01:40 +0000 Notice -[TLMAuthorizedOperation setWrapperPID:][1392]<span class="Apple-tab-span" style="white-space:pre">       </span>tlu_ipctask checking in:  tlu_ipctask pid = 1656<br class="">2021-03-04 14:01:40 +0000 Notice -[TLMAuthorizedOperation setUnderlyingPID:][1392]<span class="Apple-tab-span" style="white-space:pre">        </span>tlu_ipctask checking in: pid = 1657 (/Library/TeX/texbin/tlmgr remove dvips.x86_64-darwinlegacy)<br class="">2021-03-04 14:01:40 +0000 Notice tlu_ipctask[1656]<span class="Apple-tab-span" style="white-space:pre">     </span>tlu_ipctask: child HOME = '/var/root'<br class="">2021-03-04 14:01:40 +0000 Notice tlu_ipctask[1656]<span class="Apple-tab-span" style="white-space:pre">        </span>tlu_ipctask: current HOME = '/var/empty'<br class="">2021-03-04 14:01:41 +0000 Notice tlu_ipctask[1656]<span class="Apple-tab-span" style="white-space:pre">     </span>tlmgr: saving backups to /usr/local/texlive/2021/tlpkg/backups<br class="">2021-03-04 14:01:41 +0000 Notice tlu_ipctask[1656]<span class="Apple-tab-span" style="white-space:pre">       </span>[1/0, ??:??/??:??] remove: dvips.x86_64-darwinlegacy<br class="">2021-03-04 14:01:41 +0000 Notice tlu_ipctask[1656]<span class="Apple-tab-span" style="white-space:pre"> </span>tlmgr: ultimately removed these packages: dvips.x86_64-darwinlegacy<br class="">2021-03-04 14:01:42 +0000 Notice tlu_ipctask[1656]<span class="Apple-tab-span" style="white-space:pre">  </span>tlmgr: package log updated: /usr/local/texlive/2021/texmf-var/web2c/tlmgr.log<br class="">2021-03-04 14:01:42 +0000 Notice -[TLMAuthorizedOperation _runUntilChildExit][1392]<span class="Apple-tab-span" style="white-space:pre">       </span>kqueue noted that pid 1657 exited (/Library/TeX/texbin/tlmgr remove dvips.x86_64-darwinlegacy)<br class="">2021-03-04 14:01:42 +0000 Notice tlu_ipctask[1656]<span class="Apple-tab-span" style="white-space:pre">       </span>child process pid = 1657 exited<br class="">2021-03-04 14:01:43 +0000 Notice tlu_ipctask[1656]<span class="Apple-tab-span" style="white-space:pre">      </span>exit status of pid = 1657 was 0<br class="">2021-03-04 14:01:43 +0000 Notice -[TLMAuthorizedOperation _runUntilChildExit][1392]<span class="Apple-tab-span" style="white-space:pre">     </span>waitpid returned 1656, WIFEXITED(0) = 1, errno = 0 (No error)<br class="">2021-03-04 14:01:43 +0000 Notice -[TLMAuthorizedOperation _runUntilChildExit][1392]<span class="Apple-tab-span" style="white-space:pre">       </span>kqueue noted that tlu_ipctask (pid = 1656) exited with status 0<br class="">2021-03-04 14:01:43 +0000 Notice -[TLMRemoveOperation main][1392]<span class="Apple-tab-span" style="white-space:pre">       </span>ERROR: failed to remove packages {(<br class="">    "dvips.x86_64-darwinlegacy"<br class="">)} (requested removal of (<br class="">    "dvips.x86_64-darwinlegacy"<br class="">))</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">and a screenshot is attached (from another attempt, the log is for dvips.x86_64-darwinlegacy, while the screenshot is for tex.x86_64-darwinlegacy after removing the directory bin/x86_64-darwinlegacy manually hence the message about missing dir).</div><div class=""><br class=""></div><div class="">Two indications that things worked OK on the tlmgr side and he problem seems to be with TLU:</div><div class=""><br class=""></div><div class="">- /usr/local/texlive/2021/texmf-var/web2c/tlmgr.log contains</div><br class=""><span class="Apple-tab-span" style="white-space:pre">      </span>[Wed Mar  3 10:27:35 2021] install: tex.x86_64-darwinlegacy<br class=""><span class="Apple-tab-span" style="white-space:pre">       </span>[Wed Mar  3 10:29:05 2021] install: dvips.x86_64-darwinlegacy<br class=""><span class="Apple-tab-span" style="white-space:pre">     </span>[Thu Mar  4 15:01:41 2021] remove: dvips.x86_64-darwinlegacy<br class=""><span class="Apple-tab-span" style="white-space:pre">      </span>[Wed Mar 10 06:06:41 2021] remove: tex.x86_64-darwinlegacy<div class=""><br class=""></div><div class="">- Quitting TLU after the "failed" removal and starting it up again, the removed package is marked as "Not installed" and is no longer mentioned in /usr/local/texlive/2021/tlpkg/texlive.tlpdb.<br class=""><br class=""><div class="">Bruno Voisin</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><img apple-inline="yes" id="552DDE02-46F5-4D3E-AD06-C4FFBAEFEE80" width="1022" height="707" src="cid:14B148AE-5FB7-4E82-B8EB-5596B0A4E7F4" class=""></div></div></body></html>