Brew cleanup error


I’m trying to do a cleanup, but I’m getting this error:

Removing: /usr/local/Cellar/ghostscript/9.22... (1,213 files, 39.6MB)
Error: Directory not empty @ dir_s_rmdir - /usr/local/Cellar/ghostscript/9.22

Why is this happening?
Is it save to just remove the directory?

(Andrew Janke) #2

To help us diagnose this, could you post the output of find /usr/local/Cellar/ghostscript/9.22 -ls?

It is probably safe to just remove the directory, regardless.


The find output is more than a thousand lines; I couldn’t paste it to my reply directly. So here is a pastebin: