[OS X TeX] Cannot remove drm fonts

Herbert Schulz herbs at wideopenwest.com
Sat Mar 26 11:12:14 EDT 2022



> On Mar 26, 2022, at 9:54 AM, Murray Eisenberg <murrayeisenberg at gmail.com> wrote:
> 
> Due to a large number of font packages installed by TeXLive 2021, some (non-TeX-related) apps are very slow to load, so I want to remove some of the TeXLive fonts I do not use.
> 
> To begin, I wanted to remove the drm package of fonts. I tried this with the TeXLive Utility, but I received a “failed” error.
> 
> The log is below.
> 
> How should I proceed?
> 
> 2022-03-26 14:49:26 +0000 Notice -[TLMInfoController showInfoForPackage:location:][2019]	drm found in database; bypassing tlmgr.
> 2022-03-26 14:49:58 +0000 Notice -[TLMMainWindowController removePackagesWithNames:force:][2019]	Beginning removal of
> (
>    drm
> )
> 2022-03-26 14:49:58 +0000 Notice -[TLMAuthorizedOperation main][2019]	Checking code signature before running tlu_ipctask as root…
> 2022-03-26 14:49:58 +0000 Notice /usr/bin/codesign[2019]	/Applications/TeX/TeX Live Utility.app/Contents/MacOS/tlu_ipctask: valid on disk
> /Applications/TeX/TeX Live Utility.app/Contents/MacOS/tlu_ipctask: satisfies its Designated Requirement
> 2022-03-26 14:49:58 +0000 Notice -[TLMAuthorizedOperation main][2019]	Signature was valid, okay to run tlu_ipctask
> 2022-03-26 14:50:02 +0000 Notice -[TLMAuthorizedOperation main][2019]	Invoking privileged task via AuthorizationExecuteWithPrivileges
> 2022-03-26 14:50:02 +0000 Notice tlu_ipctask[2341]	dropped privileges to user nobody
> 2022-03-26 14:50:03 +0000 Notice -[TLMAuthorizedOperation setWrapperPID:][2019]	tlu_ipctask checking in:  tlu_ipctask pid = 2341
> 2022-03-26 14:50:04 +0000 Notice -[TLMAuthorizedOperation setUnderlyingPID:][2019]	tlu_ipctask checking in: pid = 2342 (/Library/TeX/texbin/tlmgr remove drm)
> 2022-03-26 14:50:04 +0000 Notice tlu_ipctask[2341]	tlu_ipctask: child HOME = '/var/root'
> 2022-03-26 14:50:04 +0000 Notice tlu_ipctask[2341]	tlu_ipctask: current HOME = '/var/empty'
> 2022-03-26 14:50:05 +0000 Warning tlu_ipctask[2341]	tlmgr: not removing drm, needed by collection-fontsextra
> 2022-03-26 14:50:05 +0000 Warning tlu_ipctask[2341]	tlmgr: action remove returned an error; continuing.
> 2022-03-26 14:50:05 +0000 Notice tlu_ipctask[2341]	tlmgr: saving backups to /usr/local/texlive/2021/tlpkg/backups
> 2022-03-26 14:50:05 +0000 Notice tlu_ipctask[2341]	tlmgr: no packages removed.
> 2022-03-26 14:50:06 +0000 Warning tlu_ipctask[2341]	tlmgr: An error has occurred. See above messages. Exiting.
> 2022-03-26 14:50:06 +0000 Notice -[TLMAuthorizedOperation _runUntilChildExit][2019]	kqueue noted that pid 2342 exited (/Library/TeX/texbin/tlmgr remove drm)
> 2022-03-26 14:50:06 +0000 Notice tlu_ipctask[2341]	child process pid = 2342 exited
> 2022-03-26 14:50:07 +0000 Notice tlu_ipctask[2341]	exit status of pid = 2342 was 1
> 2022-03-26 14:50:07 +0000 Notice -[TLMAuthorizedOperation _runUntilChildExit][2019]	exit status of pid = 2341 was 1
> 2022-03-26 14:50:07 +0000 Notice -[TLMAuthorizedOperation _runUntilChildExit][2019]	kqueue noted that tlu_ipctask (pid = 2341) exited with status 1
> 2022-03-26 14:50:07 +0000 Notice -[TLMRemoveOperation main][2019]	ERROR: failed to remove packages {(
>    drm
> )} (requested removal of (
>    drm
> ))
> ---
> Murray Eisenberg		murrayeisenberg at gmail.com
> Mobile (413)-427-5334
> 503 King Farm Blvd #101		
> Rockville, MD 20850-6667	

Howdy,

First, how are you getting the OS font system to ``see'' your otf fonts? 

If you are using a symbolic link (or links) and only want small known subset of the fonts instead make individual links to the font folders you want to appear. Note: these are needed by xelatex if you refer to the fonts by font name rather than file name.

On a slightly different note the symbolic links should be made via /Library/Root rather than /usr/local/texlive/xxxx/... . That way when you change the active TeX Distribution (via tlmgr or TLU) the fonts being pointed to are the active versions.

Good Luck,

Herb Schulz
herbs at wideopenwest.com




More information about the MacOSX-TeX mailing list